Comments (5)
I would take 1 point every 1000.
You need to put some constraints on which OFFSETS and STEP values you can have.
Because in general case it does mean random access of rows, and clickhouse as block_compressed dbms with sparse index bad fit for that.
from clickhouse.
Hey @UnamedRus. For sure. This is only a suggestion on the API side. I am pretty sure Clickhouse can check the OFFSETS and SKIP_ROWS and fail the query if it is out of bound.
For the sparse compressed dbms, for my use case, there is a garuantee the row is only incrementing by 1, so it won't be sparse.
On my side, I am tracking the number of rows as side metadata, so It won't exceed it. But I am thinking to go and build my own storage mechanism right now as Clickhouse isn't fast enough for my use case.
Or I would be happy to consider contributing pieces if I was guided enough.
from clickhouse.
From my understanding auto-increment requires the UniqueMergeTree to be implemented #41817 and this one requires a built-in RAFT for maintaining the state.
from clickhouse.
Hey @nikitamikhaylov. Thanks for sharing about the RFC. From what I can read, I would still need support for a primary key which isn't shown in the proposed designed.
from clickhouse.
Hey @nikitamikhaylov. Extra information. There is a lot of speed to gain by implementing this natively in Clickhouse and making sampling more flexible, non-deterministic in general.
I have implemented my own storage mechanism and I am getting a 10x speed compared to clickhouse, 1/10 storage space.
Kind regards, T.C
from clickhouse.
Related Issues (20)
- `Logical error: 'false && "WriteBuffer is not finalized in destructor."'` in `WriteBufferFromS3`
- Integration tests are broken in backports HOT 1
- Broken upgrade check: New settings are not reflected in settings changes history
- Exception: Conversion from Tuple(Array(String), Array(UInt16)) to AggregateFunction(1, sumMap, Array(String), Array(UInt16)) is not supported while processing joinGet HOT 1
- HTTPConnection is not incremented until server sees http request
- Use `tdigest` statistic to disable `optimize_read_in_order` in bad cases
- JSON Format conditionally shows number values as strings HOT 2
- Cannot read from MV without SELECT privileges on Source table (SQL SECURITY) HOT 1
- startsWith on column with token-based bloom filter does not produce correct result HOT 1
- unhexAsBitmap HOT 2
- SHOW DICTIONARIES privilege does not work as expected
- Modifying column with default expression in copied table (using AS) affects source table
- Named collection in system.grants
- primary key constraint violated in new added order-by column condition HOT 3
- Sometimes the number of zk-nodes suddenly increases significantly even when the bulk write QPS remains unchanged HOT 4
- recursive CTE results wrong due to data type overflow
- recursive CTE results wrong due to data type overflow HOT 5
- ULID implementation with FixedString(16)/UInt128 instead of FixedString(26) HOT 1
- Expose _etag as a virtual column for S3 intergation
- Exception thrown for Merge Tree Settings without defined table engine during table creation
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 clickhouse.