NoSQL Benchmarks NoSQL use cases NoSQL Videos NoSQL Hybrid Solutions NoSQL Presentations Big Data Hadoop MapReduce Pig Hive Flume Oozie Sqoop HDFS ZooKeeper Cascading Cascalog BigTable Cassandra HBase Hypertable Couchbase CouchDB MongoDB OrientDB RavenDB Jackrabbit Terrastore Amazon DynamoDB Redis Riak Project Voldemort Tokyo Cabinet Kyoto Cabinet memcached Amazon SimpleDB Datomic MemcacheDB M/DB GT.M Amazon Dynamo Dynomite Mnesia Yahoo! PNUTS/Sherpa Neo4j InfoGrid Sones GraphDB InfiniteGraph AllegroGraph MarkLogic Clustrix CouchDB Case Studies MongoDB Case Studies NoSQL at Adobe NoSQL at Facebook NoSQL at Twitter



Pagination With MongoDB

Like any developer , I had an idea to use Limits, Skips, and Sorts query mechanism to achieve pagination. But on long run if document is going to have more than few thousand records , then it is not a good practices to use Limits, Skips, and Sorts. As Limits, Skips, and Sorts reduces the performance on large scale documents

The solution uses MongoDB $push and $slice instead. But it also requires always knowing the total number of items in the list.

Original title and link: Pagination With MongoDB (NoSQL database©myNoSQL)