O
O
Oleg Petrov2018-11-26 08:32:51
PostgreSQL
Oleg Petrov, 2018-11-26 08:32:51

How to measure the speed of writing one Json cell to the MongoDb database?

I want to compare the speed of writing and reading Mongodb and Postgres, tell me what tools exist to measure the speed of writing and reading from the database? I want to try on simple queries

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Koryukov, 2018-11-26
@MadridianFox

You can write a simple program in your favorite programming language that connects to the DBMS, takes the exact time, executes a hundred thousand requests, and takes the time again. Subtracts one time from another and divides by the number of requests.

K
ky0, 2018-11-26
@ky0

Are you sure that your project assumes such space loads that the choice of a DBMS should be based on this indicator?
It is unlikely that without normal load testing you will get any useful data - it is not for nothing that they try to allocate a lot of memory for the DBMS, precisely so that up to a certain point the speed does not rest on the disks. And what will fit in the memory and cache of the raid controller will work at about the same speed in any database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question