Hacker News new | past | comments | ask | show | jobs | submit login

The SQL world calls this an "index."



No. Most NoSQL dbs support indexes and secondary indexes too.

In SQL world we call this "denormalization". It's called the same thing in NoSQL, too.


Indices are essentially managed denormalization.


Ah, never thought of it that way.


It's called materialized views.


Well, yes, and no. :)


Indices are no good if you constantly do large amounts of inserts or updates (say, entire clickstream of a popular global site) - keeping them up to date will massively slow down the inserts/updates. Wheresas, in NoSQL, you can do as inserts as quickly as your disk can write data, and still query the dataset as if it had an index.


That has nothing to do with whether the DB is relational or not.


Which relational databases can simultaneously do milions of updates and milions of selects per second, to the same table?


I am attempting to reach enlightenment by contemplating your wisdom.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: