How to create index after every query insert?
Answer / Rakesh Kumar Rajak
In MongoDB, you cannot create an index that is automatically updated after every insert. However, you can use the `ensureIndex` method to create an index and then periodically update it using a script or cron job.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happen when an index does not fit into ram?
Can mongodb scale?
Why 32 bit version of mongodb are not preferred ?
Define mongodb SUM?
Which programming language is used to write mongodb queries?
What are the key features of mongodb?
Does mongodb have a gui?
What should all points be taken into consideration while creating a schema in mongodb?
What is the use of mongodb sort()?
What is 32-bit nuances?
How to connect mongodb with java in eclipse?
Why is mongodb called mongodb?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)