Home > database > Ask a question about batch submit update transactions
Ask a question about batch submit update transactions
Time:09-21
Consult everybody a great god a question, I take the all data projected in PreparedStatement, then once submitted, the source code is shown in figure 3, with km not outside the network, please everyone will see, figure a batch update data for a business, speed is faster, figure 2. Another business batch update data, both SQL statement is the same, also use the same tools (figure 3), please help to analysis why there are so much difference, thank you,
CodePudding user response:
This conflict with the lock, the execution plan, indexes have used, for example, if two business on a different server, the server performance also have relations
CodePudding user response:
Two business are on the same server, both business is actually I write test, were separately performed a separately and perform another, should there is no conflict,