How can Pull 4,00,000 data by using mongodb ?
How can Pull 4,00,000 data by using mongodb ?
SandeepMurala
Posts: 48Questions: 13Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Answers
I am using Mongodb ,I have around 4,00,000 records .When I use client side scripting it is taking so much time to load around 20 min or some time more .
there is not server side script for mongodb .
please help any one how can I take all 4,00,000 data into table by using datatable by using mongodb.
I was struggling so many days for solution .
kindly help on it please.
Thanks
Sandeep
Have you read this FAQ which discusses this topic? With 4 million records (which I assume you meant, although it would still apply to 400,000 records), you'll want to use server-side processing.
We don't provide a server-side script for MongoDB, but the client / server protocol used by DataTables is documented here so you can write your own or there are a number of articles on the web (e.g. this one) which you might find useful.
Allan
HI allan ,I really appreciate your response and your valuable time.
In my case I am using PHP backend.
There is a Spanish article on the topic which might be of some use (possibly passed through Google Translate, if like me you don't speak Spanish).
Allan