Serial number generation method and device for database, equipment and medium

The invention relates to the technical field of databases, and discloses a serial number generation method and device for a database, equipment and a medium, which are used for reducing system performance overhead. The method comprises the steps that when a virtual machine is started, serial number...

Full description

Saved in:
Bibliographic Details
Main Author XIE QINGQUAN
Format Patent
LanguageChinese
English
Published 04.08.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to the technical field of databases, and discloses a serial number generation method and device for a database, equipment and a medium, which are used for reducing system performance overhead. The method comprises the steps that when a virtual machine is started, serial number configuration information is loaded, and the serial number configuration information comprises the cache size and the step length; taking the cache size as a maximum value of a serial number of a serial number application number segment used by the virtual machine, and obtaining a current value of the serial number of the virtual machine; and when the virtual machine receives a serial number generation request, generating a new serial number according to the current value of the serial number, the step length and the maximum value of the serial number, and recording the new serial number as the current value of the new serial number of the virtual machine. 本申请涉及数据库技术领域,公开了一种用于数据库的序列号生成方法、装置、设备和介质,用于降低系统性能开销。方法部分包括:
Bibliography:Application Number: CN202310801719