Database table partitioning method and device, computer equipment and storage medium

A database and data technology, applied in database indexing, computing, electrical digital data processing, etc., can solve problems such as not supporting compound partitioning, inconvenient identification and understanding, and difficult for technicians to organize.

Pending Publication Date: 2020-08-07
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, Oracle provides the function of automatically creating partitions for the above-mentioned fact table, which can automatically expand the partition by day, that is, a partition with day as the partition unit will be automatically created every day, but the above-mentioned solution of Oracle has the following defects: First, the establishment of partitions There will be a lot of scripting languages, which will make it difficult for technicians to sort out; second, the name of the partition is fixed, and you cannot specify a partition name with special meaning, which is inconvenient to identify and understand; third, it does not support composite partitions, resulting in Data scalability is poor

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
  • Database table partitioning method and device, computer equipment and storage medium
  • Database table partitioning method and device, computer equipment and storage medium
  • Database table partitioning method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts all belong to the protection scope of the present invention.

[0026] The database table partition method provided by the present invention can be applied in such as figure 1 In an application environment in which a client communicates with a server over a network. Among them, the client can be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. The server can be implemented with an independent server or a server cluster composed of ...

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 a database table partitioning method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a first data index used for establishing amain partition in a database table and a first quantity of the first data index; analyzing a preset code list associated with the first data index to obtain an analysis result, and extracting an index code from the analysis result; establishing a first number of main partitions in the database table, associating the main partitions with the first data indexes in a one-to-one correspondence manner, and establishing a first sub-partition under the main partitions in the database table; establishing a second sub-partition under the first sub-partition; and in one main partition, sequentially splicing the second sub-partitions to the main partition according to the sequence of the establishment time of the second sub-partitions in the main partition to obtain a partitioned database table. According to the invention, data partitioning can be carried out on the database table, and the overall data processing capability of the database table is improved.

Description

technical field [0001] The present invention relates to the field of data storage, in particular to a database table partition method, device, computer equipment and storage medium. Background technique [0002] At present, the operation and implementation of many projects need to use a large amount of data in the fact table, and the data in the fact table is constantly increasing dynamically. At this time, a good storage method is needed to store the above-mentioned data in a classified manner. At present, Oracle provides the function of automatically creating partitions for the above-mentioned fact table, which can automatically expand the partition by day, that is, a partition with day as the partition unit will be automatically created every day, but the above-mentioned solution of Oracle has the following defects: First, the establishment of partitions There will be a lot of scripting languages, which will make it difficult for technicians to sort out; second, the name ...

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
IPC IPC(8): G06F16/22G06F16/242G06F16/2455
CPCG06F16/2282G06F16/2433G06F16/2456Y02D10/00
Inventor 黄克振
Owner CHINA PING AN LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products