Comments (7)
yup, this is true :(
from hyrise-v1.
Could we use deque instead of the vectors in the delta?
from hyrise-v1.
There are two things to consider here:
- reseve() in FixedLengthVector -> here a reallocate is called.... no guarantees
- resize() for the TX vectors in the store
No apparent solution comes to my mind that would allow fixing this...unfortunately
from hyrise-v1.
If we would use a deque as a container instead of vectors, this guarantees that references to elements stay valid even if the memory needs to be extended. However, iterators might get still invalidate which could be a problem...
http://stackoverflow.com/questions/913980/confusion-on-iterators-invalidation-in-deque
http://stackoverflow.com/questions/10373985/c-deque-when-iterators-are-invalidated
from hyrise-v1.
http://www.threadingbuildingblocks.org/docs/help/reference/containers_overview/concurrent_vector.htm ?
from hyrise-v1.
This only solves the problem for the TX vectors, but not the problem for the actual storage. Iterators are not really used in our case. What we could do is to perform some stitching in the FLV. Like allocate a block and keep track of all used blocks etc... This will be a bit overhead but accetable as long as the block size is large enought.
from hyrise-v1.
Like allocate a block and keep track of all used blocks etc..
What exactly are you proposing?
I think we should distinguish between FixedStorage (-> as in ungrowable after construction, used in Main) and GrowableStorage (-> threadsafe growable and probably powered by a concurrent_vector-like structure, used in Delta).
from hyrise-v1.
Related Issues (20)
- Test sync_task_test/5 occasionally fails
- Add vTune task API for worker threads
- getInputTable <-> getResultTable HOT 1
- TPCC Table Import fails
- Add log-format version information to delta log files
- Add SQL Interface HOT 1
- Bug when Updating and Selecting within same transaction
- Distinct only works on single fields
- Compiling docs fails
- Docu for Query Duration is not correct
- Docker Container HOT 1
- Typo in QueryParser error message
- CompoundIndexScan throws misleading error message
- Dumped tables are not added to StorageManager after loading
- Failing tests Scheduler/SchedulerTest.wait_task_test
- Compilation error when Metis is configured with 64-bit indices
- Failing test BufferedLoggerTests.log_test HOT 3
- Test BufferedLoggerTests.simple_checkpoint_test fails
- Can hyrise be used to parse MySQL queries? HOT 1
- index
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 hyrise-v1.