您可以使用操作系统计数器来帮助理解数据库引擎外部的组件如何影响您的数据服务器。
You can use operating system counters to help you understand how components outside of the database engine affect your data server.
否则,如果两个线程试图同时执行增加,操作的不幸交叉将导致计数器只被实现了一次,而不是被实现两次。
Otherwise, if two threads tried to execute the increment simultaneously, an unlucky interleaving of operations would result in the counter being incremented only once, instead of twice.
这种类的例子可能是各种计数器操作、简单的计算等等。
The examples of such classes can be various counters operations, simple calculations, etc.
应用推荐