Comments (13)
Today I have done benchmark for DuckDB https://youtu.be/zVR77B2bDR0
The tmp file shall be cleaned after process completed.
from db-benchmark.
Can you provide reproducible steps for when an undefined exception
is caused by a temporary file from a different solution (in the same session)?
from db-benchmark.
Can you provide reproducible steps for when an
undefined exception
is caused by a temporary file from a different solution (in the same session)?
I found this when I was using the _utils/repro.sh
script to reproduce result for smaller data sets on a computer with limited hard disk. I noted that after some point all solutions failed to produce any result, and with a little investigation I figured out that the hard drive was full (due to temporary file created during the benchmark run). I would image for large data sets the /tmp
directory would be bloated by huge files.
from db-benchmark.
I can confirm that disk space was never a concern and scripts generally won't be handling this kind of exception.
from db-benchmark.
I noticed this issue too actually when getting the benchmark back up and running. I never had the issue where another solution encountered an undefined exception
.
from db-benchmark.
@sl-solution If you still believe this would be a problem, feel free to open a PR to automatically clean the /tmp
directory after every run.
from db-benchmark.
@sl-solution If you still believe this would be a problem, feel free to open a PR to automatically clean the
/tmp
directory after every run.
In Juliads
I made sure it is done automatically, however, I am not sure deleting everything from /tmp
is a good idea, since some of the files may be essential for other system process.
from db-benchmark.
I wouldn't delete everything from /tmp
of course, but for R solutions it would be everything in tempdir()
. Potentially all R
solutions could use the same location for tmpdir()
and then it could be cleaned up when the benchmarking ends
from db-benchmark.
I guess for polars
it should be straightforward, since it uses absolute path and constant name for temporary files.
from db-benchmark.
I think sorting of billion rows requires the use of temporary. I have coded for billion-row jointable/filter/groupby using only 32GB ram, in fact it is certified no need using temp file.
from db-benchmark.
I think a systematic way to solve the issue is to assign a directory for temporary files, and ask every solution to use solely the assigned directory for on-disk calculations. The launcher can clean the directory after each run.
from db-benchmark.
Since the new machine has more memory, and instance storage, this has become less of an issue. Can this therefore be closed?
from db-benchmark.
Since the new machine has more memory, and instance storage, this has become less of an issue. Can this therefore be closed?
I guess as long as solutions keep using temp files, this will be an issue.
from db-benchmark.
Related Issues (20)
- Question HOT 2
- Publish DataFusion to report HOT 11
- Publish databend results HOT 1
- misplaced datafussion code in history.Rmd
- `=~` matching in run.sh causes "duckdb-latest" to match "duckdb" HOT 2
- Benchmark with Parquet HOT 7
- duckdb-latest fails HOT 7
- datafusion does not correctly make chunk results HOT 3
- Inconsistent multicore use across languages? HOT 4
- Dask tests could use optimization HOT 3
- many solutions are missing from join 1e9 HOT 5
- Add one Digit to Benchmark Summary HOT 1
- Add cuDF HOT 4
- Published duckdb results are not reproducible HOT 2
- suspicious timings for groupby q10 HOT 7
- DOC: modin results "see README" HOT 1
- I created a benchmark but DuckDB run times are super slow and not sure why HOT 6
- Fix polars join script
- Add a new backend - Clojure's tablecloth
- Add set key to data.table operations.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db-benchmark.