Hossein
Hossein

Reputation: 41941

Do NoSQL databases use or need indexes?

I am a newbie in NoSQL databases and this may sound a bit stupid but I was wondering if NoSQL databases use or need indexes? If yes, how to make or manage them? any links? Thanks

Upvotes: 41

Views: 37471

Answers (2)

Markus Winand
Markus Winand

Reputation: 8746

CouchDB and MongoDB definitely yes. I mentioned that in my book:

Here are the respective docs:

NoSQL is, however, too fragmented to give a definite "yes, all NoSQL systems need indexes", I believe. Most systems require and provide indexes but not at level most SQL databases do. Recently, the Cassandra people were proudly introducing secondary indexes, i.e., more than a single clustered index.

Upvotes: 28

Yogesh Prajapati
Yogesh Prajapati

Reputation: 4870

Definitely nosql databases need index,

i.e. but in most popular databases you need not to maintain index by yourself because as per current needs of nosql databases communities of nosql databases is developing with new features and with "Code Less, Get More"

Upvotes: 3

Related Questions