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

A data index creation method, data retrieval method and system

A data indexing and data retrieval technology, applied in the database field, can solve the problems that the database cannot meet the time, storage capacity and space utilization at the same time, reduce the reading speed, and increase the reading time, so as to save the reading time and improve the reading time. Speed, space saving effect

Active Publication Date: 2016-03-16
BEIJING RUNKE GENERAL TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the commonly used databases have some requirements when processing large batches of data. For example, before the processing of large batches of data in the Mysql database, it is necessary to ensure that there is a suitable storage engine, and the time and storage capacity cannot be satisfied at the same time in this database. and space utilization requirements; Mysql can use the insert statement of multiple value tables to process a large amount of data, and the client terminal reads the data in the Mysql database from the disk of the server storing the Mysql database, and reads the data from the disk to reduce the read time. read speed, increase read time

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 index creation method, data retrieval method and system
  • A data index creation method, data retrieval method and system
  • A data index creation method, data retrieval method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0063] This application provides a data index creation method. First, calculate the offset head address of each index information according to all the index information recorded in the data table file; then store the data in a fixed-size inner block according to the order in which the data is stored in the data file , and read data one by one from the memory, and obtain the data index information and data address information of each piece of data read; determine the index information corresp...

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 invention discloses an establishing method for a data index, and a data searching method and system. The establishing method for the data index comprises the following steps: obtaining all the index information recorded by a data sheet file; calculating the size of an index recording area corresponding to each index information and calculating an excursion head address of each index information according to the size of the index recording area; storing data blocks in a preset size in the data file into an internal memory in a fixed size, according to a storing sequence of the data in the data file; reading data from the internal memory one by one and obtaining the data index information and the data address information of each piece of read data; confirming the index information corresponding to the data index information of each piece of data and storing the data address information of each piece of data into the index recording area corresponding to the excursion head address of the corresponding index information; and after storing the data address information of all the data in the data file into the corresponding index recording area, finishing the establishment for the data index, thereby increasing the reading speed and saving the space.

Description

technical field [0001] The present application relates to the field of databases, and more specifically, to a data index creation method, data retrieval method and system. Background technique [0002] With the continuous improvement of the current bus bandwidth, the simulation test of the electronic system is indispensable, so that a large amount of information data needs to be processed, so the problem of database processing has attracted the attention of various industries. The focus of attention is on the large-scale data storage, data query, and data analysis. [0003] At present, the commonly used databases have some requirements when processing large batches of data. For example, before the processing of large batches of data in the Mysql database, it is necessary to ensure that there is a suitable storage engine, and the time and storage capacity cannot be satisfied at the same time in this database. and space utilization requirements; Mysql can use the insert state...

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): G06F17/30
Inventor 宋平代志远
Owner BEIJING RUNKE GENERAL TECH