php - mongodb queries per second -
i have server 64g ram , running script compares 1 million data in csv file against database. if matches found, script prints number of matches @ end of execution. the script when ran, taking 3 minutes finish. tested 50,000, 1 lakh, 3 lakh, 5 lakh data files , performance rate or rate @ script executed proportional. there enough memory free in server. mongostat output when script running pasted below. questions is, believe script executing close 5000 queries per second. have read in many posts, getting average of 50k queries per second. how can achieved? server running ubuntu, 64 bit, , 24 cores. insert query update delete getmore command flushes mapped vsize res faults locked db idx miss % qr|qw ar|aw netin netout conn time *0 3885 *0 *0 0 1|0 0 12g 24.2g 64m 0 db_list_restore:0.0% 0 0|0 1|0 380k 142k 2 03:09:26 *0 4188 *0 *0 0 1|0 0 12g 24.2g 68m ...