Better HN
topnewbestaskshowjobs
Log inSign up

ConnorTsui20

15 karma · joined Sep 11, 2025 (1y ago) · 5 submissions

Submissions

comment 1w ago · link · parent

Oh wow I didn't know about covering indexes, TIL!

comment 1w ago · link · parent

We generally refer to an index that holds the data it indexes at its leaves a "clustered index". But this only means that the tuples are organized according to the ordering of the index: you still generally store the entire record (all columns/attributes) together.

For example, if I cluster on my sorted primary key, that just means that the index can jump to the tuple with the correct primary key quickly (log time), but you will still end up reading* the entire tuple in the same way I explain in the blog. And if you only store a record ID that points to the other fields instead of the entire tuple at the leaves of the index, then that wouldn't be considered a clustered index.

I will note, however, that DBMSs should be smart enough to know that an aggregation on only an indexed column does not need to fetch the rest of the columns, only the data at the leaves of the index.

comment 1w ago · link · parent

One of the cool things about Vortex (which is a file format, but in this context can be better thought of as the storage layer of a DBMS) is that we have implemented compression encodings that _do_ support fast random access. For example, FastLanes allows us to bit-pack values extremely effectively while retaining random access, and this can be combined with other encodings such as ALP and FSST.

I believe Vortex is unique in its ability to retain random access while recursively compressing data. And turns out that this is helpful for both in-memory _and_ on-disk (we might write about that in the future)!

I unfortunately didn't have much space to write about that in this blog, but in the compression section I did link to other blogs that we have written that go into much more detail, if you are interested :D

4.

Vortex: One Format for Any Shape(spiraldb.com ↗)

7 points · by ConnorTsui20 · 2mo ago · 1 comment

comment 5mo ago · link · parent

You should take a look at https://github.com/vortex-data/vortex!