Method and device for converting data storage format
A data storage format and storage format technology, applied in the field of database systems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] An embodiment of the present invention provides a controller, such as figure 1 shown, including:
[0080] A decision-making unit 10, configured to determine a second storage format required for storing data in the database if the system performance index of the database storing data in the first storage format satisfies the conversion condition set by the user;
[0081] a storage format conversion unit 11, configured to convert the storage format of the data in the database from the first storage format to the second storage format determined by the decision-making unit 10;
[0082] The feedback unit 12 is used to judge whether the compression ratio of the database after the storage format conversion meets the first preset condition, sort the data in the database after the storage format conversion, and test whether the sorting time meets the second preset condition ; If the compression ratio satisfies the first preset condition, and the sorting time satisfies the seco...
Embodiment 2
[0096] Embodiments of the present invention The embodiment provides a controller, such as image 3 shown, including:
[0097] The processor 20 is used to determine the second storage format required for storing data in the database if the system performance index of the database storing data in the first storage format meets the conversion condition set by the user; After the storage format of the data in the database is converted from the first storage format to the second storage format, it is judged whether the compression ratio of the database after the storage format conversion satisfies the first preset condition, and the storage format sorting the converted data in the database, and testing whether the sorting time satisfies the second preset condition; if the compression ratio satisfies the first preset condition, and the sorting time satisfies the second preset condition, external services are performed, Or, if the compression ratio does not meet the first preset con...
Embodiment 3
[0111] Embodiments of the present invention provide a method for converting data storage formats, such as Figure 5 As shown, the method includes:
[0112] S101. If the system performance index of the database storing data in the first storage format satisfies the conversion condition set by the user, the controller determines the second storage format required for storing data in the database.
[0113] The row, column, or row-column hybrid storage format of existing databases is completely dependent on the initial setting when the database is initialized, that is, the underlying storage format of the database specified by the user when creating the database. When the user needs to change the database storage format, the DBA needs to manually modify it offline, which lacks the automatic adjustment and optimization function of the system.
[0114] In order to solve the problem that the system cannot automatically adjust and optimize the storage format of data in the database, ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com