MySQL.
you would notice, it takes close to 1 second every time. Let's try inserting 10000 rows to get a better picture. >>> insert_rows(10000) Output looks like: Took 21.28421974182129 seconds We can assume that at an average we are able to do 500 insertions per second. Adding an index We want to check