Method and device for acquiring database data

The invention discloses a method and device for obtaining database data. The method comprises the steps: determining a unique identifier of a to-be-accessed database corresponding to a database access operation for the database access operation in a process running process of an application; matchin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI SHUANGLI, LIU YONGZHEN, LIU MINJIE, YI SHI, XIANG JIEMIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and device for obtaining database data. The method comprises the steps: determining a unique identifier of a to-be-accessed database corresponding to a database access operation for the database access operation in a process running process of an application; matching a database link of the to-be-accessed database from a database link manager according to the unique identifier of the to-be-accessed database, wherein each database link in the database link manager is obtained by establishing a connection with each database according to each database configuration information after the application is started; and creating a thread with a database link of the database to be accessed in the process, and executing database access operation based on the thread, wherein each database access operation in the application is completed through each thread in the process. In this way, the data acquisition and processing complexity is reduced, and the data acquisition and processing effici