Comments (7)
NFSdb bottleneck is not with disk. Memory Mapped files are perfectly efficient to achieve more than NFSdb does. Speed is a traid off of functionality. Index, partitioning and object reflection take most of the time.
Also making journal not make mapped files and than spill over will be very inefficient.
from questdb.
May be you can option that avoids indexing and partitioning incase you just write and read from the journal as a queue. (With auto commit.) A client can just read it and pipe it into another journals each being a queue based on an allocation methodology and applying a filer. Similarly you can pipe into multiple journals which the clients can read independently.
I am not sure how IO scales with multiple journals but will this be faster? At Least if might be functionally superior by having messaging patterns (#14).
from questdb.
Partitiioning and indexing are fully optional and both are off by default. You can try to see if performance suits your use case. I'll cover auto-commit under issue #9.
BulkWriter
and BulkReader
work at about 95% of performance of non-bulk variants and provided they only do sequential writes/reads they are not affected by your RAM size even. They'll work at constant rate until you run out of disk space. I think they cover the spill over problem in most efficient way possible albeit at a slight overall performance loss.
from questdb.
there is a major new functionality coming in version 3.0, which may have an influence on subject of in-memory only store. Let keep this closed until than to keep backlog clear.
from questdb.
OK. The only part may be an issue.
from questdb.
Do tell more :)
from questdb.
What you run out of memory. Can you spill into disk?
from questdb.
Related Issues (20)
- Allow Symbol columns to INNER JOIN to any column type HOT 2
- Flaky test PGJobContextTest.testRunQueryAfterCancellingPreviousInTheSameConnection HOT 1
- Getting tcp-line-server scheduling disconnect during ingestion HOT 3
- GROUP BY clause may lead to worse performance
- Client configuration string: Consider trailing semicolon to be optional
- 修改之后查询报错 HOT 4
- First_value should support other datatypes, specifically timestamp
- Segfault in SqlCodeGeneratorTest.testVectorSumAvgDoubleRndColumnWithNullsParallel
- Internal error when inserting a null string into a designated timestamp column
- Statement-Timeout header works intermittently
- Improvements to floating point comparisons
- Test timeout testTimeoutInVectorizedNonKeyedGroupByWithManyWorkersAndMinimalQueue
- SQL INSERT allows NULL on non-nullable SHORT column HOT 1
- CSV import should support a timezone override HOT 1
- Use bytecode generation for `PageFrameReducer`
- Inconsistent double to null comparison
- Inconsistencies with ALIGN TO CALENDAR TIME ZONE HOT 1
- Flaky HyperLogLogTest.testFuzz()
- Flaky VarcharTypeDriverTest. testSetAppendPosition()
- SQL: Sample by with ASOF join errors with ambiguous column since 7.4.0
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 questdb.