Unlock instant, AI-driven research and patent intelligence for your innovation.

A data source management method and device

A data source and target data source technology, applied in the database field, can solve the problems of reducing system performance and high memory occupancy

Active Publication Date: 2021-08-20
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of business processing, the server will generate a large number of data sources and write them into the memory, which will lead to a high memory occupation rate and reduce system performance.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data source management method and device
  • A data source management method and device
  • A data source management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The technical solutions in the embodiments of the present invention will be described below in conjunction with the drawings in the embodiments of the present invention.

[0060]In the prior art, the server can generate a corresponding data source according to the data access request. Specifically, the data access request can typically carry the data source URL (Uniform Resource Locator, the unified resource locator), the username, data source driver, and the data source URL can include the protocol name, the sub-protocol name, and the data source name.

[0061] Exemplary, data source URL can be: jdbc: oracle: thin: @Machine_name: port: @Machine_name: port: @Machine_name: port: @Machine_name: port: DBNAME, data source driver can be: oracle.jdbc.driver.OracleDriver, where JDBC (Java Database Connectivity, Java Database Connection) Represents the name of the protocol; Oracle represents the sub-protocol name, the writer of the data source is determined, and the machine_name re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention provides a data source management method and device, the method includes: according to the last access time of each data source in the stored data source information table, judging whether the current non-access duration of the data source is greater than the preset Duration, if the current non-access duration of the data source is longer than the preset duration, the data source is determined as the data source to be deleted, the data source to be deleted is deleted from the memory, and the data source corresponding to the data source to be deleted is deleted from the data source information table entry. Based on the above processing, data sources in the memory that have not been accessed for a long time can be deleted according to the data source information table, thereby reducing memory occupation and improving system performance.

Description

Technical field [0001] The present invention relates to the field of database technologies, and more particularly to a management method and apparatus for a data source. Background technique [0002] With the rapid development of cloud computing and Internet technology, many platforms are facing massive data, which can usually be stored in different databases. A data source is usually stored in the server, and the information is recorded in the data source. When the server receives the data access request of the terminal, the corresponding data source can be returned to the terminal, and the terminal can establish a connection to the corresponding database according to the data source to access the database. [0003] In the prior art, the server can dynamically generate data sources based on the received data access request, and write the generated data source into memory. When the server receives the data access request next time, the corresponding data source can be read direct...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5022
Inventor 赵鸿楠艾国信周志成
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD