How can Pull 4,00,000 data by using mongodb ?

How can Pull 4,00,000 data by using mongodb ?

SandeepMuralaSandeepMurala Posts: 48Questions: 13Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Answers

  • SandeepMuralaSandeepMurala Posts: 48Questions: 13Answers: 0

    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

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    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

  • SandeepMuralaSandeepMurala Posts: 48Questions: 13Answers: 0

    HI allan ,I really appreciate your response and your valuable time.

    In my case I am using PHP backend.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    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

Sign In or Register to comment.