Our first major problem is that we are scanning the full bills table every time we want a row out of it and locking every row we read.
我们的第一个主要问题是,当我们想要一行的内容时,我们会扫描整个账单表,并锁定我们读取的每一行。
This reduces the amount of locking within the database manager and reduces the processing cost of the read.
这样可减少数据库管理器中的锁定量,从而减少线程的处理成本。
This will reduce the amount of locking that the database manager has to perform and result in better read performance.
这将减少数据库管理器必须执行的锁定量从而提高读的性能。
应用推荐