![]() ![]() Reduce load, reduce query complexity, add indexes, or get bigger servers. You're hammering your server beyond its capacity (RAM/CPU/etc.) and the server can't keep up. ![]() Also, I ran a trace on the benchmark program and confirmed that 50% of the CPU time spent was waiting for MongoDB to return data, so it's not a performance issue with the C# driver.20-50 seconds of latency is a ton, you're leaving out some big piece of the picture here. MongoDB's CPU usage ran at about 75% the entire time the test was running. ![]() Why is retrieving data from MongoDB so slow? What am I missing?Įdit: This was all on the local machine, no network latency or anything. What really struck me, however, was the slow performance of the find_nnnn queries. Having heard about how "amazingly fast" MongoDB is, I was rather shocked at the poor benchmark performance. I then loaded up the latest mongodb-csharp driver from and immediately ran the benchmark program. I downloaded version 1.2.4 (Windows 圆4 binary) from the mongodb site and ran it with the following options: C:\mongodb\bin>mkdir dataĬ:\mongodb\bin>mongod -dbpath. NET lately and MongoDB is emerging as a clear winner in terms of availability and support, so tonight I decided to give it a go. I've been researching nosql options available for. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |