Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated performance docs for setting dlt data dir #2247

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

dat-a-man
Copy link
Collaborator

Description

Included examples on setting the DLT_DATA_DIR environment variable to redirect dlt data storage.

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 71484a6
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/67aec8ad7cf3990008e0b616
😎 Deploy Preview https://deploy-preview-2247--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dat-a-man dat-a-man changed the title Updated for docs Updated performance docs for setting dlt data dir Jan 29, 2025
@dat-a-man dat-a-man self-assigned this Jan 29, 2025
@dat-a-man dat-a-man added the documentation Improvements or additions to documentation label Jan 29, 2025
data_dir = "/path/to/mounted/bucket/dlt_pipeline_data"

# Set the DLT_DATA_DIR environment variable
os.environ[DLT_DATA_DIR] = data_dir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
os.environ[DLT_DATA_DIR] = data_dir
os.environ["DLT_DATA_DIR"] = data_dir

DLT_DATA_DIR is just a env variable, you don't have to import it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants