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

feat: The default DuckDB connection is now based on a file, the location can be controlled with the DUCKPLYR_TEMP_DIR environment variable #448

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Jan 11, 2025

Closes #439.

…ion can be controlled with the `DUCKPLYR_TEMP_DIR` environment variable
@krlmlr krlmlr merged commit 91a1612 into main Jan 11, 2025
20 checks passed
@krlmlr krlmlr deleted the f-439-tempfile branch January 11, 2025 14:09
Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 77fa34a is merged into main:

  • ✔️001_tpch_01: 24.2ms -> 23.3ms [-8.34%, +0.74%]
  • ✔️001_tpch_02: 67.8ms -> 67.4ms [-1.82%, +0.57%]
  • ✔️001_tpch_03: 38.8ms -> 39.4ms [-1.23%, +3.84%]
  • ✔️001_tpch_04: 22.2ms -> 22.1ms [-2.94%, +2.07%]
  • ✔️001_tpch_05: 56.9ms -> 56.8ms [-1.59%, +1.03%]
  • 🚀001_tpch_06: 19.2ms -> 13.9ms [-29.62%, -25.66%]
  • ✔️001_tpch_07: 74.8ms -> 74.8ms [-1.5%, +1.53%]
  • ✔️001_tpch_08: 96.9ms -> 97.1ms [-0.7%, +1.03%]
  • ✔️001_tpch_09: 71.6ms -> 71.7ms [-0.48%, +0.94%]
  • ✔️001_tpch_10: 47.6ms -> 47.8ms [-0.7%, +1.16%]
  • ✔️001_tpch_11: 32.4ms -> 32.2ms [-3.05%, +2.23%]
  • ✔️001_tpch_12: 27.4ms -> 27.3ms [-1.77%, +1.48%]
  • ✔️001_tpch_13: 25.9ms -> 26ms [-2.12%, +3.06%]
  • ✔️001_tpch_14: 20.9ms -> 21ms [-1.65%, +2.63%]
  • ✔️001_tpch_15: 31.6ms -> 31.7ms [-0.56%, +1.32%]
  • ✔️001_tpch_16: 39.6ms -> 39.9ms [-1.23%, +2.58%]
  • ✔️001_tpch_17: 26ms -> 26.7ms [-0.6%, +5.45%]
  • ✔️001_tpch_18: 22.3ms -> 22.5ms [-1.62%, +3.14%]
  • ✔️001_tpch_19: 68.2ms -> 68.4ms [-1.02%, +1.49%]
  • ✔️001_tpch_20: 51.8ms -> 52.3ms [-0.27%, +2.06%]
  • ✔️001_tpch_21: 80.4ms -> 80.2ms [-1.76%, +1.11%]
  • ✔️001_tpch_22: 69.2ms -> 69.2ms [-1.12%, +1.13%]
  • ✔️010_tpch_01: 82.7ms -> 82.1ms [-4.75%, +3.19%]
  • ✔️010_tpch_02: 71.6ms -> 72ms [-5.09%, +6.31%]
  • ✔️010_tpch_03: 59.5ms -> 61ms [-2.19%, +7.11%]
  • ✔️010_tpch_04: 43.3ms -> 43.9ms [-2.6%, +5.31%]
  • ✔️010_tpch_05: 92.4ms -> 90.5ms [-6.14%, +2.03%]
  • ✔️010_tpch_06: 34.4ms -> 34.7ms [-10.67%, +12.47%]
  • ✔️010_tpch_07: 107ms -> 106ms [-2.68%, +0.59%]
  • ✔️010_tpch_08: 131ms -> 129ms [-4.31%, +1.13%]
  • ✔️010_tpch_09: 118ms -> 118ms [-2.06%, +1.48%]
  • ✔️010_tpch_10: 75.2ms -> 74.5ms [-2.58%, +0.88%]
  • ✔️010_tpch_11: 38.1ms -> 37.5ms [-6.32%, +3.31%]
  • ✔️010_tpch_12: 58.3ms -> 59.7ms [-6.4%, +11.14%]
  • ✔️010_tpch_13: 52.1ms -> 52.4ms [-1.35%, +2.24%]
  • ✔️010_tpch_14: 37.1ms -> 37.1ms [-1.3%, +1.33%]
  • ✔️010_tpch_15: 53.6ms -> 55.1ms [-3.86%, +9.4%]
  • ✔️010_tpch_16: 44.4ms -> 44.4ms [-2.5%, +2.26%]
  • ✔️010_tpch_17: 55.1ms -> 55.4ms [-6.45%, +7.52%]
  • ✔️010_tpch_18: 55.2ms -> 52.3ms [-13.75%, +3.21%]
  • ✔️010_tpch_19: 115ms -> 116ms [-0.94%, +1.55%]
  • ✔️010_tpch_20: 66.1ms -> 66ms [-3.94%, +3.81%]
  • ✔️010_tpch_21: 237ms -> 239ms [-0.78%, +2.76%]
  • ✔️010_tpch_22: 76.2ms -> 75.5ms [-3.65%, +1.92%]
  • ✔️100_tpch_01: 325ms -> 320ms [-15.55%, +12.84%]
  • ✔️100_tpch_02: 130ms -> 123ms [-19.42%, +8.94%]
  • ✔️100_tpch_03: 180ms -> 179ms [-3.92%, +2.55%]
  • ✔️100_tpch_04: 158ms -> 151ms [-11.46%, +2.32%]
  • ✔️100_tpch_05: 282ms -> 272ms [-9.72%, +3.03%]
  • ✔️100_tpch_06: 111ms -> 106ms [-17.43%, +8.86%]
  • ❗🐌100_tpch_07: 222ms -> 241ms [+5.65%, +11.88%]
  • ✔️100_tpch_08: 269ms -> 266ms [-6.31%, +4.09%]
  • ✔️100_tpch_09: 337ms -> 347ms [-5.74%, +11.77%]
  • ✔️100_tpch_10: 217ms -> 219ms [-5.47%, +7.22%]
  • ✔️100_tpch_11: 90.7ms -> 88.7ms [-27.72%, +23.21%]
  • ✔️100_tpch_12: 196ms -> 206ms [-6.94%, +17.47%]
  • ✔️100_tpch_13: 342ms -> 334ms [-16.17%, +11.05%]
  • ✔️100_tpch_14: 124ms -> 115ms [-16.52%, +1.28%]
  • ✔️100_tpch_15: 218ms -> 213ms [-10.17%, +5.79%]
  • ✔️100_tpch_16: 126ms -> 125ms [-7.99%, +5.05%]
  • ✔️100_tpch_17: 178ms -> 186ms [-6.94%, +15.55%]
  • ✔️100_tpch_18: 199ms -> 191ms [-12.03%, +3.48%]
  • ❗🐌100_tpch_19: 281ms -> 307ms [+1.83%, +16.41%]
  • ✔️100_tpch_20: 178ms -> 178ms [-10.03%, +10.35%]
  • ✔️100_tpch_21: 1.31s -> 1.31s [-5.65%, +4.98%]
  • ✔️100_tpch_22: 175ms -> 175ms [-8.21%, +7.94%]

Further explanation regarding interpretation and methodology can be found in the documentation.

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

Successfully merging this pull request may close these issues.

Open with a temporary file by default
1 participant