title: Insert query table lock
body: <p>I have a table in the Postgresql database. I try to insert a row into the table through java code and it takes 23 milliseconds. when I execute the same code 1000 times through multithreading where maximum thread count is 300 at any point of time, the resultant output time is more or less same as 1000 times of one query execution time. I have checked the code.there is no locks acquired on the java side.is there any internal locks acquired on the database level</p>