3 ms·
Yes, there are no secondary indexes right now (they're coming, but it will take a little time). Currently "age > 25" will do a scan, but if the db is sharded it
by coffeemug 14y ago
Yes, there are no secondary indexes right now (they're coming, but it will take a little time). Currently "age > 25" will do a scan, but if the db is sharded it will touch only the relevant shards and the query will be completely parallelized. We also do internal sharding for multicore performance, and the query will be parallelized across cores as well.
All of that is only good for relatively small amounts of data though, so we'll be adding secondary indexes soon.
- spicyj 14y agoHow does it know which shards are relevant? I thought that data was sharded by primary key.