I tried to deal with this question, but did not find a question like this, so I ask here. This may seem like a null question, but I really don't know how the database handles parallel inserts.
Tell me if 100 users run an insert request. Does the database enter several records at the same time (the same second, the same nanosecond, etc.) Or inserts each record one by one? The database runs in a multi-threaded environment, so the natural response will be inserted at the same time.
source share