CN105022739B - The storage method and device of data - Google Patents

The storage method and device of data Download PDF

Info

Publication number
CN105022739B
CN105022739B CN201410160242.7A CN201410160242A CN105022739B CN 105022739 B CN105022739 B CN 105022739B CN 201410160242 A CN201410160242 A CN 201410160242A CN 105022739 B CN105022739 B CN 105022739B
Authority
CN
China
Prior art keywords
data
database
tables
configuration file
key assignments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410160242.7A
Other languages
Chinese (zh)
Other versions
CN105022739A (en
Inventor
王伏根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410160242.7A priority Critical patent/CN105022739B/en
Publication of CN105022739A publication Critical patent/CN105022739A/en
Application granted granted Critical
Publication of CN105022739B publication Critical patent/CN105022739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of storage method of data and devices, belong to technical field of data storage.The described method includes: determining that at least one data acquisition instructs according to configuration file;According to every data acquisition instruction from at least one the first data obtained in first database under every tables of data;Determine the corresponding key assignments of every first data got and corresponding second data of every first data;The corresponding key assignments of every first data the second data corresponding with every first data are stored, the second database is obtained.Present invention determine that the corresponding key assignments of every first data and corresponding second data, store the corresponding key assignments of every first data the second data corresponding with every first data, obtain the second database.Since configuration file has expansibility, configuration file is expanded when needing to load the data updated, so that the process of storing data is fairly simple, the expansibility of storing data is preferable, and therefore, the efficiency of storing data is higher.

Description

The storage method and device of data
Technical field
The present invention relates to technical field of data storage, in particular to the storage method and device of a kind of data.
Background technique
With the rapid development of present network, more and more people begin to use network service.User is using network industry When business, it will usually inquire related data in network service.For example, user is playing an online game, if a certain moment The user needs to know the game data of another user, at this point, the user can be by the interface that game provides to another use The game data at family is inquired.Since the storage mode of data directly affects the query process of data, how to data Carrying out storage is the key that improve efficiency data query.
A kind of storage method of data is provided in the related technology, and in the method, data are stored in the form of tables of data In the database, database data is loaded into the shared drive of service server by backstage finger daemon and is stored.If Database data, which exists, to be updated, when needing to be loaded into data table data or column data new in database in shared drive, By modifying the code of finger daemon, the data of update are loaded into shared drive by the finger daemon after modification code and are carried out Storage inquires data subsequently through access shared drive.
In the implementation of the present invention, inventor find the above method the prior art has at least the following problems:
When data volume is too big, shared drive will be unable to be packed into all data, cause storage organization scalability poor;Separately Outside, due to the data of update are loaded into stored in shared drive when, need to modify to the code of finger daemon, And code revision process is comparatively laborious, the data that load updates every time require to modify to code, so that storage updated The process of data is comparatively laborious, be delayed it is longer, the expansibility of data is poor in shared drive, cause the efficiency of storing data compared with It is low.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of storage methods of data.The technology Scheme is as follows:
On the one hand, a kind of storage method of data is provided, which comprises
Determine that at least one data acquisition instructs according to configuration file, the configuration file is used for depositing in first database The attribute of each column data under the every tables of data and every tables of data of storage is described, the corresponding number of every tables of data According to acquisition instruction;
According to every data acquisition instruction from obtained in the first database under every tables of data at least one the first Data, and determine the corresponding key assignments of every first data and corresponding second data of every first data, second data It is made of the quantity of non vacuum data in first data and first data;
The corresponding key assignments of every first data the second data corresponding with every first data are stored, obtain second Database.
On the other hand, a kind of storage device of data is provided, described device includes:
First determining module, for determining that at least one data acquisition instructs according to configuration file, the configuration file is used The attribute of the every tables of data and each column data under every tables of data that store in first database is described, often Open the corresponding data acquisition instruction of tables of data;
First obtains module, for obtaining every tables of data from the first database according to every data acquisition instruction Under at least one the first data;
Second determining module, for determining the corresponding key assignments of every first data and every first data corresponding second Data, second data are made of the quantity of non vacuum data in first data and first data;
Memory module, for being carried out to the corresponding key assignments of every first data the second data corresponding with every first data Storage, obtains the second database.
Technical solution provided in an embodiment of the present invention has the benefit that
Determine that at least one data acquisition instructs by configuration file, according to every data acquisition instruction from first database Middle at least one the first data obtained under every tables of data, determine the corresponding key assignments of every first data and every first number According to corresponding second data, the corresponding key assignments of every first data the second data corresponding with every first data are deposited Storage.Since configuration file has expansibility, configuration file is expanded when needing to load the data updated, so that storage number According to process it is fairly simple, expansibility when storing data is preferable, and therefore, the efficiency of storing data is higher.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the storage method flow chart for the data that the embodiment of the present invention one provides;
Fig. 2 is the storage method flow chart of data provided by Embodiment 2 of the present invention;
Fig. 3 is the memory device structure schematic diagram for the first data that the embodiment of the present invention three provides;
Fig. 4 is the memory device structure schematic diagram for second of data that the embodiment of the present invention three provides;
Fig. 5 is the memory device structure schematic diagram for the third data that the embodiment of the present invention three provides;
Fig. 6 is the memory device structure schematic diagram for the 4th kind of data that the embodiment of the present invention three provides;
Fig. 7 is a kind of apparatus structure schematic diagram for server that the embodiment of the present invention four provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
Since the relevant technologies are when storing data, need that database data is loaded into industry by backstage finger daemon It is engaged in being stored in the shared drive of server.It is updated if database data exists, needs the generation by modifying finger daemon The data of update, are loaded into shared drive by the finger daemon after modification code and are stored by code.When data volume is too big, Shared drive can not be packed into all data, cause storage organization scalability poor;In addition, due to needing through modification finger daemon Code be loaded into shared drive and store the data of realizing update, and code revision process is comparatively laborious, every time The data that load updates require to modify to code, so that the process for the data that storage updates is comparatively laborious, are delayed longer, The expansibility of data is poor in shared drive, causes the efficiency of storing data lower.
In order to prevent above situation, expansibility and efficiency when improving storing data, the embodiment of the invention provides one The storage method of kind data, referring to Fig. 1, method flow provided in this embodiment includes:
101: determining that at least one data acquisition instructs according to configuration file, configuration file is used for depositing in first database The attribute of each column data under the every tables of data and every tables of data of storage is described, the corresponding number of every tables of data According to acquisition instruction;
As a kind of alternative embodiment, after determining that at least one data acquisition instructs according to configuration file, further includes:
Obtain configuration file amendment advice;
Modified configuration file is obtained according to configuration file amendment advice, according under the triggering of modified configuration file Primary data storage operations.
102: according to every data acquisition instruction from obtained in first database under every tables of data at least one the first Data, and determine the corresponding key assignments of every first data and corresponding second data of every first data, the second data are by the The quantity of non vacuum data is constituted in one data and the first data;
103: the corresponding key assignments of every first data the second data corresponding with every first data being stored, are obtained Second database.
As a kind of alternative embodiment, by the corresponding key assignments of every first data the second number corresponding with every first data After being stored, further includes:
The second data stored in second database are updated.
As a kind of alternative embodiment, the second data stored in the second database are updated, comprising:
Every the tables of data in preset time detection first database with the presence or absence of increase data;
If detecting the presence of the tables of data for increasing data, the tables of data pair of every increase data is determined according to configuration file The data acquisition instruction answered;
At least one increased first number under the tables of data of every increase data is obtained according to every data acquisition instruction According to, and determine the every increased corresponding key assignments of first data got and every increased first data corresponding second Data;
The corresponding key assignments of every increased first data the second data corresponding with every increased first data are stored To the second database, the second database updated.
As a kind of alternative embodiment, the second data stored in the second database are updated, comprising:
Asynchronous notifications request is obtained, including at least in asynchronous notifications request there are the first data modified in first database Relevant information;
Determine that data acquisition instructs according to asynchronous notifications request and configuration file;
Modified first data are obtained from first database according to data acquisition instruction;
It determines corresponding second data of modified first data, obtains modified second data;
By the second data before the replacement modification of modified second data, the second database updated.
As a kind of alternative embodiment, this method further include:
Data inquiry request is obtained, including at least in data inquiry request has query information;
Key assignments is determined according to query information;
Corresponding data are inquired in the second database according to key assignments and configuration file.
Method provided in an embodiment of the present invention determines that at least one data acquisition instructs by configuration file, according to every Data acquisition instruction determines every first data from at least one the first data obtained under every tables of data in first database Corresponding key assignments and corresponding second data of every first data, to the corresponding key assignments of every first data and every first number It is stored according to corresponding second data.Since configuration file has expansibility, expanded when needing and loading the data updated Configuration file, so that the process of storing data is fairly simple, expansibility when storing data is preferable, therefore, stores number According to efficiency it is higher.In addition, corresponding data can be inquired by key assignments when inquiring data, to inquire the effect of data Rate is higher.
Embodiment two
In order to simplify data storage procedure, expansibility and efficiency when improving storing data, and then improve data query Efficiency, the embodiment of the invention provides a kind of storage methods of data.The source of the data stored in this method is the first number According to the data in library, the data in first database are stored in the form of tables of data, and every tables of data is by multi-column data structure At.In conjunction with the content of above-described embodiment one, method provided in this embodiment is illustrated.Referring to fig. 2, the present embodiment mentions The method flow of confession includes:
201: determining that at least one data acquisition instructs according to configuration file, configuration file is used for depositing in first database The attribute of each column data under the every tables of data and every tables of data of storage is described;
Configuration file can include but is not limited to that label language can be expanded for XML(eXtensible Markup Language Speech) type file, the present embodiment do not make specific limit to the type of configuration file.
For example, may include every tables of data and every by taking configuration file is the file of XML type as an example, in XML file The relevant attribute of each column data under tables of data, such as mark of every tables of data and each column under title, every tables of data The mark and title of data, the major key title of every tables of data determine the prefix of every tables of data that needs are used when key assignments etc..
It certainly, can also other type categories comprising tables of data and each column data under tables of data in configuration file Property, the present embodiment does not make specific limit to the content for including in configuration file.
Since subsequent needs are from the first data obtained under every tables of data in first database, therefore, it is necessary to first bases Configuration file determines that data acquisition instructs.Wherein, the format of data acquisition instruction is related with the type of first database, for example, If first database is relevant database, data acquisition instruction at this time can be Select case statement.Again due to every The corresponding data instruction of tables of data, therefore, the data acquisition instruction determined according to configuration file is at least one.The present embodiment Do not determine that the mode of data acquisition instruction specifically limits to according to configuration file, including but not limited to: true according to configuration file The title of the fixed each column data of every tables of data, and determine the mode for obtaining data simultaneously, according to the title of each column data with And the mode of acquisition data determines the corresponding data acquisition instruction of every tables of data.
For example, one four column datas are shared in an existing tables of data, the entitled t_app_info_new of the tables of data, In, the corresponding entitled app_id of the first column data, the i.e. column data are used to indicate the corresponding id of different application, the second column data Corresponding entitled app_name, the i.e. column data are used to indicate the title of different application, and third column data is corresponding entitled App_creat_name, the i.e. column data are used to indicate the creation time of the corresponding data of different application, and the 4th column data is corresponding Entitled app_updata_name, i.e. renewal time of the corresponding data of different application.It is shared in the tables of data one For 10000 datas, however, it is determined that the mode for obtaining data is by 10000 datas in tables of data according in every data App_id numerical value ascending order arrangement after obtained, and obtain be in ascending sort result the 1st article to the 500th article this 500 Data, at this point, the data acquisition instruction is expressed as follows with Select sentence in relevant database:
Select app_id, app_name, app_creat_name, app_updata_name from t_app_ Info_new order by app_id limit0,500
Wherein, order by app_id clause representation will be every in tables of data t_app_info_new in Select sentence Data carries out ascending order arrangement according to the numerical value of app_id in every data, has two parameters, first item parameter in limit clause Indicate that the offset of first returned data, Section 2 parameter indicate the maximum number of the total number of returned data.Due to above-mentioned The value of first item parameter and Section 2 parameter is respectively 0 and 500 in limit clause in Select sentence, according to first item parameter Value can determine first returned data be ascending sort result in the first data, can determine according to the value of Section 2 parameter The maximum number of the total number of returned data is 500, and therefore, the data finally obtained are just the 1st article in ascending order rank results To the 500th article of this 500 data.
In addition, can be obtained altogether when the value of first item parameter in limit clause and Section 2 parameter is respectively 0 and 500 To 500 datas, being equivalent to Select sentence of execution just can get 500 datas.If next time also needs to obtain subsequent 500 datas, at this point, the numerical value of first item parameter in limit clause can be become 500 plus 500, by the number of Section 2 parameter It is constant that value remains 500, to can at most obtain 500 datas again.According to the method described above, each batch at most obtains 500 Data can get data all in tables of data after a point several batches obtain data.
The corresponding Select sentence of every tables of data may finally be determined in above manner, i.e. every tables of data is corresponding Data acquisition instruction.
202: according to every data acquisition instruction from obtained in first database under every tables of data at least one the first Data;
The present embodiment not to according to every data acquisition instruction from being obtained in first database under every tables of data at least The mode of one the first data specifically limits, including but not limited to: according to the side for obtaining data in every data acquisition instruction The first data of formula and the name acquiring every of each column data.
For example, Select sentence is selection when illustrating in step 201 so that data acquisition instruction is Select sentence as an example Sentence, tables of data when obtaining data are as shown in table 1.
Table 1
app_id app_name app_create_time app_update_time
Id1 Name1 Creat_time1 Updata_time1
Id2 Name2 Creat_time2 Updata_time2
At this point, due to only having two datas in table 1, the data that Select sentence is got are two the first data, It is respectively as follows:
First the first data: Id1, Name1, Creat_time1, Updata_time1
The first data of Article 2: Id2, Name2, Creat_time2, Updata_time2
It should be noted that is actually obtained due to Select sentence is the 1st article to the 500th article in ascending sort result This 500 data, at this point, if in table 1 the item number of data it is unlimited above two, the item number of data is relatively more, if any 10000 Data then can obtain 500 datas according to the process in step 201.
203: determining the corresponding key assignments of every first data and corresponding second data of every first data, the second data It is made of the quantity of non vacuum data in the first data and the first data;
The present embodiment does not limit the mode of the corresponding key assignments of every first data of determination specifically, including but not limited to: It determines the corresponding tables of data of every first data, and determines prefix and every tables of data of the every tables of data in configuration file The major key column data that includes title;The title for the column data that major key according to every tables of data includes determines every first number According to the corresponding value of major key;The corresponding value of major key of the prefix and every first data of every tables of data is combined, from And determine the corresponding key assignments of every first data.
For example, first data are first the first data instance in step 202 using tables of data as table 1.If table 1 is being matched Setting prefix in file is appinfo, entitled one of the column data that the major key of table 1 includes, and be app_id, then first The corresponding value of the major key of first data is Id1.At this point, the prefix appinfo by table 1 is corresponding with the major key of first the first data Value be combined for Id1, it may be determined that the corresponding key assignments of first the first data be appinfo_Id1.
The present embodiment does not also limit the mode of corresponding second data of every first data of determination specifically, including but not It is limited to: determines the quantity of non vacuum data in every first data;Each non vacuum data in every first data is converted to correspondence TLV(Type/Length/Value, type/length/value) formatted data;By the quantity of non vacuum data in every first data TLV formatted data corresponding with non vacuum data each in every first data is combined, so that it is determined that every first data pair The second data answered.
For example, using the first data as first the first data instance in step 202.If Id1, Name1, Creat_ Tetra- data of time1, Updata_time1 have value, i.e., four data are all non-empty, at this time, it may be determined that first the first data The quantity of middle non vacuum data is 4.If Updata_ in tetra- data of Id1, Name1, Creat_time1, Updata_time1 The value of time1 is sky, can determine that the quantity of non vacuum data in first the first data is 3 at this time.
Non vacuum data in four data is separately converted to corresponding TLV formatted data, by taking Creat_time1 as an example, The data are identified as 3, length 10, numerical value 14-04-08, at this point, can turn each item data in TLV formatted data Corresponding binary data is turned to, it is corresponding that data Creat_time1 can be obtained in binary data sequential connection after conversion TLV formatted data.The corresponding TLV formatted data of available four data in above manner, then first first is counted It is converted into binary data according to the quantity of middle non vacuum data, and TLV formatted data corresponding with four data is linked in sequence Obtain corresponding second data of first the first data.
204: the corresponding key assignments of every first data the second data corresponding with every first data being stored, are obtained Second database;
When being stored, the corresponding key assignments of every first data the second data corresponding with every first data are opposite Answer, i.e. every data is made of key assignments and corresponding second data in the second database, the key assignments in every data with it is corresponding Second data match.
Wherein, the second database can be Key-Value distributed memory system, such as redis storage system, Memcached storage system, can according to need in practical operation and selects different storage systems, and the present embodiment does not make this to have Body limits.Second database can store in the shared drive of service server, and the present embodiment is also not especially limited this.
Since the second database is using Key-Value distributed memory system, i.e. NoSQL non-relational database, To eliminate the relationship type characteristic in traditional Relational DataBase, so that the second database is very easy to extension.In addition, benefiting In irrelevant property, simple second database of structure can also have very high readwrite performance, especially under big data quantity, energy Enough there is preferable performance.
It should be noted that realization process all in step 201 to step 204 in actual operation can be by being pre-created Finger daemon execute, finger daemon is detached from server and in the process of running background, and disengaging can in server The information of finger daemon in the process of implementation is avoided to show on any server, while finger daemon will not be by any service Server info caused by device is interrupted.Can be completed according to the realization process of step 201 to step 204 by finger daemon The one database process that data full dose loads into the second database, i.e., convert second for data all in first database Data in database.
Due to storing the corresponding key assignments of every first data the second data corresponding with every first data, obtain After second database, it is also possible to it needs to be updated the second data stored in the second database, it is existing according to the actual situation Renewal process is divided into two ways, is illustrated in detail as follows:
The first update mode: every the tables of data in preset time detection first database with the presence or absence of increase data; If detecting the presence of the tables of data for increasing data, the corresponding data of tables of data of every increase data are determined according to configuration file Acquisition instruction;At least one increased first number under the tables of data of every increase data is obtained according to every data acquisition instruction According to;Determine that the corresponding key assignments of increased first data of every got and every increased first data corresponding second count According to;The corresponding key assignments of every increased first data the second data corresponding with every increased first data are stored, The second database updated.
The present embodiment is not to every the side in preset time detection first database with the presence or absence of the tables of data for increasing data Formula makees specific restriction, including but not limited to: the tables of data in first database being divided into two kinds in advance, the first is to need increment The tables of data that the tables of data of load, i.e. data will increase when updating, second is the tables of data for not needing step increment method, i.e. data It will not increased tables of data when update.Every needs the tables of data of step increment method after increasing a data, can be by the first data Every needs the dwOldUpdateTime of the tables of data of step increment method current renewal time to be recorded in library, and records simultaneously The dwNewUpdateTime final updating time of every tables of data for needing step increment method.Wherein, every needs step increment method For tables of data after increasing a data, every needs the dwOldUpdateTime of the tables of data of step increment method to need to increase with every The dwOldUpdateTime for measuring every first data in the tables of data of load is identical, every tables of data for needing step increment method DwNewUpdateTime needs the dwNewUpdateTime of every first data in the tables of data of step increment method identical with every. In addition, every needs the tables of data of step increment method after increasing a data, dwOldUpdateTime with DwNewUpdateTime be it is identical, when in the tables of data that every needs step increment method the first data increase when, every needs The dwNewUpdateTime of the tables of data of step increment method can just change.Based on the above principles, it can be examined every preset time Survey every tables of data for needing step increment method in first database dwOldUpdateTime and dwNewUpdateTime whether It is identical, if the two is different, it can determine all tables of data for increasing data.Wherein, preset time can carry out according to demand Setting, the present embodiment make specific limit to the value of this preset time.
Since every needs the tables of data of step increment method after increasing a data, every needs the tables of data of step increment method In every first data dwOldUpdateTime need step increment method with every tables of data in every first data DwNewUpdateTime is identical, only when the first data in tables of data increase, first data DwNewUpdateTime can just change, and cause different from dwOldUpdateTime.Therefore, when determining all increase data Tables of data after, can more every increase data tables of data in every first data dwOldUpdateTime with Whether dwNewUpdateTime is identical, if the two is different, can determine all the first data for increasing data.
It determines in tables of data that every needs step increment method after all the first data for increasing data, it can be further according to configuration File determines the corresponding data acquisition instruction of the tables of data of every increase data, obtains every increasing according to every data acquisition instruction At least one increased first data under the tables of data of addend evidence determine that every increased first data got are corresponding Key assignments and corresponding second data of every increased first data, to the corresponding key assignments of every increased first data and every Corresponding second data of increased first data are stored, the second database updated.Pass through the first update mode In method and step can complete first database into the second database data increment load process, i.e., by first database In all increased data be converted into the data in the second database.It should be noted that the realization of above-mentioned step increment method Journey can be with reference to the process that data full dose loads into the second database of first database in above-mentioned steps, and details are not described herein again. In addition, the process of step increment method can also be executed by finger daemon, the present embodiment is not especially limited this.
Wherein, it completes to increase according to the testing result in above-mentioned detection first database with the presence or absence of the tables of data for increasing data After the process for measuring load, the dwOldUpdateTime and every need of the tables of data that every needs step increment method can also be updated The dwOldUpdateTime for wanting every first data in the tables of data of step increment method allows it with corresponding dwNewUpdateTime It is consistent, in order to which next time is detected.
In addition, in order to guarantee that data can be constantly in last state, the case where preventing step increment method from failing, can also set Set an incremental count value cnt, wherein the initial value of cnt is 0.When carrying out step increment method every time, it can determine whether that the value of cnt is It is no to be greater than preset threshold.If the value of cnt is less than preset threshold, continue the mistake of step increment method according to the method for above-mentioned steps Journey, and after step increment method, the value of cnt is added 1.If the value of cnt is greater than preset threshold, directly according to above-mentioned steps Method carries out the process of full dose load, and after full dose load, the value of cnt is set to 0 again.Wherein, preset threshold Value can be selected according to actual needs, and the present embodiment is not especially limited this.
Second of update mode: asynchronous notifications request is obtained;Determine that data obtain according to asynchronous notifications request and configuration file Instruction fetch;Modified first data are obtained from first database according to data acquisition instruction;Determine modified first number According to corresponding second data, modified second data are obtained;The second data before the replacement of modified second data is modified, The second database updated.
After user has modified the first data stored in first database by the management backstage in terminal, can from terminal to The service server for storing first database sends asynchronous notifications request, wherein includes the first data in asynchronous notifications request The relevant information for the first data modified in library can determine that data acquisition refers to according to asynchronous notifications request and configuration file It enables.
For example, asynchronous notifications request can be made of following three information: tables of data locating for the first data modified TLV formatted data corresponding to the major key of mark, the number of major key and the first data modified.
The title that can determine tables of data by the mark of tables of data locating for the first data for being modified, can according to configuration file The title for determining all column datas in the tables of data, by corresponding to the number of major key and the major key for the first data modified TLV formatted data can determine the major key for the first data modified, thus can determine data acquisition instruct.With the name of tables of data Referred to as t_app_info_new, for the major key for the first data modified is Id1, at this point, relationship is used in data acquisition instruction Select sentence is expressed as follows in type database:
Select app_id, app_name, app_creat_name, app_updata_name from t_app_ info_new where app_id=Id1
After determining data acquisition instruction, it can be instructed according to data acquisition and obtain modified first number from first database According to determining corresponding second data of modified first data, obtain modified second data, by modified second data The second data before replacement modification, the second database updated.Wherein it is determined that the realization process after data acquisition instruction can With with reference to the content in above-mentioned steps, details are not described herein again.
In addition, when due to obtaining the data in first database, needing to be obtained according to data during above-mentioned all realizations Instruction fetch is obtained, and data acquisition instruction needs to be determined according to configuration file, and the definition of configuration file may be because The modification of user and change.Therefore, the case where being modified for above-mentioned configuration file determines at least according to configuration file After one data acquisition instruction, configuration file amendment advice can be obtained, is obtained according to configuration file amendment advice modified Configuration file.When determining data acquisition instruction according to configuration file next time, number can be determined according to modified configuration file According to acquisition instruction.
For example, when the definition of configuration file is changed due to the modification of user.At this point, can be from server to guarding Process sends signal, i.e. configuration file amendment advice.It, can be to for example, if what is installed on server is the system of Linux class Finger daemon sends Linux SIGUSR1 signal.Finger daemon can obtain modification after receiving Linux SIGUSR1 signal Configuration file afterwards, according to the data storage operations of modified configuration file triggering next time.Data next time store behaviour It needs to determine that at least one data acquisition is instructed according to modified configuration file, and then triggers to execute and be referred to according to data acquisition The subsequent step from at least one the first data obtained under every tables of data in first database is enabled, detailed process is the same as this number Consistent according to storage operating principle, details are not described herein again.
It should be noted that the modification of configuration file can be based on table level, it can also be based on column grade.Due to configuration file It is mainly used for carrying out the attribute of each column data under the every tables of data and every tables of data stored in first database Description, therefore, when having newly increased a tables of data in first database, can be added in configuration file and increase data newly to this The description of Table Properties.It, can be in configuration file to the data when having modified the attribute of a tables of data in first database The attribute of table re-starts description.When having increased a column data newly in tables of data existing in first database, can configure The description to newly-increased column data attribute is added in file.When having modified a column data in existing tables of data in first database When attribute, description can be re-started to the attribute of the column data in configuration file.
When enabling to carry out full dose load or data update next time by the modification to configuration file, can directly it lead to The configuration file for crossing modification determines new data acquisition instruction, opens up so as to convenient to data progress table level or column rank Exhibition or modification.In addition, due to the expansion or modification that can be realized table level or column rank by configuration file, and do not have to pair The code of finger daemon is modified, so that the expansibility of system business is preferable.
Optionally, through the above steps 201 obtain the second database to step 204 after, method provided in this embodiment After the data are stored, a kind of method that the data in the second database are inquired is additionally provided, subsequent step is specifically detailed in Suddenly.
205: data inquiry request is obtained, corresponding data are inquired in the second database according to data inquiry request, number There is query information according to including at least in inquiry request.
About the mode for inquiring corresponding data in the second database according to data inquiry request, the present embodiment to this not Make specific restriction, including but not limited to: key assignments is determined according to query information;According to key assignments and configuration file in the second database Inquire corresponding data.
Wherein, including at least in data inquiry request has query information.It may include tables of data to be checked in query information Mark, in tables of data to be checked major key number, the corresponding TLV formatted data of major key of data to be checked, number to be checked According to item number, the corresponding mark of data to be checked etc., the present embodiment does not make specific limit to the content for including in query information.
For example, can determine that tables of data to be checked is corresponding according to the mark of tables of data to be checked in query information and configuration file Prefix, according to the master of the number and data to be checked of major key in the corresponding prefix of tables of data to be checked, tables of data to be checked The corresponding TLV formatted data of key can determine the corresponding key assignments of data to be checked, and being inquired in the second database according to key assignments can be true Fixed corresponding second data.According to the definition of the second data in preceding step it is found that every second data are by every first data Each non vacuum data is converted to corresponding TLV formatted data and is composed in the quantity of middle non vacuum data and every first data, And each TLV formatted data in every second data is made of the corresponding mark of data, length, actual binary numerical value. Therefore, it can be searched in the TLV formatted data in the second data according to the corresponding mark of data to be checked in query information, really It surely include the TLV formatted data of the corresponding mark of data to be checked, so that it is determined that data to be checked are right in TLV formatted data The actual binary numerical value answered.It is subsequent according to actual needs, the binary numeral of the data inquired can be also converted to ten into System or hexadecimal values, the present embodiment are not especially limited this.
Method provided in an embodiment of the present invention determines that at least one data acquisition instructs by configuration file, according to every Data acquisition instruction determines every first data from at least one the first data obtained under every tables of data in first database Corresponding key assignments and corresponding second data of every first data, to the corresponding key assignments of every first data and every first number It is stored according to corresponding second data.Since configuration file has expansibility, expanded when needing and loading the data updated Configuration file, so that the process of storing data is fairly simple, expansibility when storing data is preferable, therefore, stores number According to efficiency it is higher.In addition, corresponding data can be inquired by key assignments when inquiring data, to inquire the effect of data Rate is higher.
Embodiment three
The embodiment of the invention provides a kind of storage device of data, the device is for executing above-described embodiment one or implementing The storage method for the data that example two provides.Referring to Fig. 3, which includes:
First determining module 301, for determining that at least one data acquisition instructs according to configuration file, configuration file is used for The attribute of each column data under the every tables of data and every tables of data stored in first database is described, every Tables of data corresponds to a data acquisition instruction;
First obtains module 302, for obtaining every tables of data from first database according to every data acquisition instruction Under at least one the first data;
Second determining module 303, for determining that the corresponding key assignments of every first data and every first data are corresponding Second data, the second data are made of the quantity of non vacuum data in the first data and the first data;
Memory module 304, for the corresponding key assignments of every first data the second data corresponding with every first data It is stored, obtains the second database.
As a kind of alternative embodiment, referring to fig. 4, the device further include:
Second obtains module 305, for obtaining configuration file amendment advice;
Third obtains module 306, for obtaining modified configuration file according to configuration file amendment advice, is repaired with basis The data storage operations of configuration file triggering next time after changing.
As a kind of alternative embodiment, referring to Fig. 5, the device further include:
Update module 307, for being updated to the second data stored in the second database.
As a kind of alternative embodiment, update module 307, comprising:
Detection unit, for every the tables of data in preset time detection first database with the presence or absence of increase data;
First acquisition unit, for determining every according to configuration file when detecting the presence of the tables of data for increasing data Increase the corresponding data acquisition instruction of tables of data of data;
Second acquisition unit, for being obtained under the tables of data that every increases data at least according to every data acquisition instruction One increased first data;
First determination unit, for determining the every increased corresponding key assignments of first data got and every increase Corresponding second data of the first data;
Storage unit, for the corresponding key assignments of every increased first data is corresponding with every increased first data Second data are stored to the second database, the second database updated.
As a kind of alternative embodiment, update module 307, comprising:
Third acquiring unit, for obtaining asynchronous notifications request, including at least in asynchronous notifications request has first database The relevant information of middle the first data modified;
Second determination unit, for determining that data acquisition instructs according to asynchronous notifications request and configuration file;
4th acquiring unit, for obtaining modified first data from first database according to data acquisition instruction;
Third determination unit obtains modified second for determining corresponding second data of modified first data Data;
Replacement unit, the second number for being updated the second data before the replacement modification of modified second data According to library.
As a kind of alternative embodiment, referring to Fig. 6, the device further include:
4th obtains module 308, and for obtaining data inquiry request, including at least in data inquiry request has inquiry to believe Breath;
Third determining module 309, for determining key assignments according to query information;
Enquiry module 310, for inquiring corresponding data in the second database according to key assignments and configuration file.
Device provided in this embodiment determines that at least one data acquisition instructs by configuration file, according to every data Acquisition instruction determines that every first data are corresponding from at least one the first data obtained under every tables of data in first database Key assignments and corresponding second data of every first data, to the corresponding key assignments of every first data and every first data pair The second data answered are stored.Since configuration file has expansibility, configuration is expanded when needing to load the data updated File, so that the process of storing data is fairly simple, expansibility when storing data is preferable, therefore, storing data Efficiency is higher.In addition, corresponding data can be inquired by key assignments when inquiring data, thus inquire the efficiency of data compared with It is high.
Example IV
A kind of server is present embodiments provided, which can be used for executing the storage side of data in above-described embodiment Method.Referring to fig. 4, which can generate bigger difference because configuration or performance are different, may include one or one A above central processing unit (central processing units, CPU) 1922(is for example, one or more processors) With memory 1932, one or more store storage medium 1930(such as one of application programs 1942 or data 1944 Or more than one mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistently deposit Storage.The program for being stored in storage medium 1930 may include one or more modules (diagram does not mark), and each module can To include to the series of instructions operation in server.Further, central processing unit 1922 can be set to be situated between with storage Matter 1930 communicates, and the series of instructions operation in storage medium 1930 is executed on server 1900.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
One perhaps more than one program be stored in memory and be configured to by one or more than one processor It executes, the one or more programs include the instruction for performing the following operation:
Determine that at least one data acquisition instructs according to configuration file, configuration file is used for storing in first database The attribute of each column data under every tables of data and every tables of data is described, and the corresponding data of every tables of data obtains Instruction fetch;
According to every data acquisition instruction from at least one the first data obtained in first database under every tables of data, And determining the corresponding key assignments of every first data and corresponding second data of every first data, the second data are by the first data And first the quantity of non vacuum data in data constitute;
The corresponding key assignments of every first data the second data corresponding with every first data are stored, obtain second Database.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of server, also include instructions for performing the following operations:
Obtain configuration file amendment advice;
Modified configuration file is obtained according to configuration file amendment advice, according under the triggering of modified configuration file Primary data storage operations.
In the third the possible embodiment provided based on the first possible embodiment, server Also include instructions for performing the following operations in memory:
The second data stored in second database are updated.
In the 4th kind of possible embodiment provided based on the third possible embodiment, server Also include instructions for performing the following operations in memory:
Every the tables of data in preset time detection first database with the presence or absence of increase data;
If detecting the presence of the tables of data for increasing data, the tables of data pair of every increase data is determined according to configuration file The data acquisition instruction answered;
At least one increased first number under the tables of data of every increase data is obtained according to every data acquisition instruction According to, and determine the every increased corresponding key assignments of first data got and every increased first data corresponding second Data;
The corresponding key assignments of every increased first data the second data corresponding with every increased first data are stored To the second database, the second database updated.
In the 5th kind of possible embodiment provided based on the third possible embodiment, server Also include instructions for performing the following operations in memory:
Asynchronous notifications request is obtained, including at least in asynchronous notifications request there are the first data modified in first database Relevant information;
Determine that data acquisition instructs according to asynchronous notifications request and configuration file;
Modified first data are obtained from first database according to data acquisition instruction;
It determines corresponding second data of modified first data, obtains modified second data;
By the second data before the replacement modification of modified second data, the second database updated.
Any possible embodiment conduct into the 5th kind of possible embodiment in the first possible embodiment Basis and in the 6th kind of possible embodiment providing, in the memory of server, also comprising for performing the following operations Instruction:
Data inquiry request is obtained, including at least in data inquiry request has query information;
Key assignments is determined according to query information;
Corresponding data are inquired in the second database according to key assignments and configuration file.
Server provided by the invention determines that at least one data acquisition instructs by configuration file, according to every data Acquisition instruction determines that every first data are corresponding from at least one the first data obtained under every tables of data in first database Key assignments and corresponding second data of every first data, to the corresponding key assignments of every first data and every first data pair The second data answered are stored.Since configuration file has expansibility, configuration is expanded when needing to load the data updated File, so that the process of storing data is fairly simple, expansibility when storing data is preferable, therefore, storing data Efficiency is higher.In addition, corresponding data can be inquired by key assignments when inquiring data, thus inquire the efficiency of data compared with It is high.
Embodiment five
The embodiment of the invention also provides a kind of computer readable storage medium, which be can be Computer readable storage medium included in memory in above-described embodiment;It is also possible to individualism, is taken without supplying The computer readable storage medium being engaged in device.The computer-readable recording medium storage has one or more than one program, should One or more than one program are used to execute the storage method for realizing data, the party by one or more than one processor Method includes:
Determine that at least one data acquisition instructs according to configuration file, configuration file is used for storing in first database The attribute of each column data under every tables of data and every tables of data is described, and the corresponding data of every tables of data obtains Instruction fetch;
According to every data acquisition instruction from at least one the first data obtained in first database under every tables of data, And determining the corresponding key assignments of every first data and corresponding second data of every first data, the second data are by the first data And first the quantity of non vacuum data in data constitute;
The corresponding key assignments of every first data the second data corresponding with every first data are stored, obtain second Database.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is described according to configuration file determine at least one data acquisition instruction after, further includes:
Obtain configuration file amendment advice;
Modified configuration file is obtained according to configuration file amendment advice, according under the triggering of modified configuration file Primary data storage operations.
Based on the first possible embodiment and provide the third possible embodiment in, it is described will be every After the corresponding key assignments of the first data of item the second data corresponding with every first data are stored, further includes:
The second data stored in second database are updated.
It is described to institute in the 4th kind of possible embodiment provided based on the third possible embodiment The second data stored in the second database are stated to be updated, comprising:
Every the tables of data in preset time detection first database with the presence or absence of increase data;
If detecting the presence of the tables of data for increasing data, the tables of data pair of every increase data is determined according to configuration file The data acquisition instruction answered;
At least one increased first number under the tables of data of every increase data is obtained according to every data acquisition instruction According to, and determine the every increased corresponding key assignments of first data got and every increased first data corresponding second Data;
The corresponding key assignments of every increased first data the second data corresponding with every increased first data are stored To the second database, the second database updated.
It is described to institute in the 5th kind of possible embodiment provided based on the third possible embodiment The second data stored in the second database are stated to be updated, comprising:
Asynchronous notifications request is obtained, including at least in asynchronous notifications request there are the first data modified in first database Relevant information;
Determine that data acquisition instructs according to asynchronous notifications request and configuration file;
Modified first data are obtained from first database according to data acquisition instruction;
It determines corresponding second data of modified first data, obtains modified second data;
By the second data before the replacement modification of modified second data, the second database updated.
Any possible embodiment conduct into the 5th kind of possible embodiment in the first possible embodiment Basis and provide the 6th kind of possible embodiment in, the method also includes:
Data inquiry request is obtained, including at least in data inquiry request has query information;
Key assignments is determined according to query information;
Corresponding data are inquired in the second database according to key assignments and configuration file.
Computer readable storage medium provided in an embodiment of the present invention determines at least one data acquisition by configuration file Instruction, according to every data acquisition instruction from at least one the first data obtained in first database under every tables of data, really The fixed corresponding key assignments of every first data and corresponding second data of every first data, key corresponding to every first data Value the second data corresponding with every first data are stored.Since configuration file has expansibility, when needs load more Configuration file is expanded when new data so that the process of storing data is fairly simple, expansibility when storing data compared with Good, therefore, the efficiency of storing data is higher.In addition, corresponding data can be inquired by key assignments when inquiring data, from And the efficiency for inquiring data is higher.
It should be understood that the storage device of data provided by the above embodiment is when storing data, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of device is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, the storage device of above-described embodiment data and the storage method embodiment of data belong to same design, Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of storage method of data, which is characterized in that the described method includes:
Determine that at least one data acquisition instructs according to configuration file, the configuration file is used for storing in first database The attribute of each column data under every tables of data and every tables of data is described, and the corresponding data of every tables of data obtains Instruction fetch;
According to every data acquisition instruction from at least one the first data obtained in the first database under every tables of data, And determine the corresponding key assignments of every first data and corresponding second data of every first data, second data by The quantity of non vacuum data is constituted in first data and first data;
The corresponding key assignments of every first data the second data corresponding with every first data are stored, are obtained Second database, second database are key assignments distributed memory system.
2. the method according to claim 1, wherein described determine at least one data acquisition according to configuration file After instruction, further includes:
Obtain configuration file amendment advice;
Modified configuration file is obtained according to the configuration file amendment advice, to touch according to the modified configuration file Give primary data storage operations.
3. the method according to claim 1, wherein described to the corresponding key assignments of every first data and institute It states corresponding second data of every first data to be stored, after obtaining the second database, further includes:
The second data stored in second database are updated.
4. according to the method described in claim 3, it is characterized in that, described to the second data stored in second database It is updated, comprising:
It detects in the first database every preset time with the presence or absence of the tables of data for increasing data;
If detecting the presence of the tables of data for increasing data, determine that the tables of data of every increase data is corresponding according to configuration file Data acquisition instruction;
At least one increased first data under the tables of data of every increase data are obtained according to every data acquisition instruction, and Determine the corresponding key assignments of get every increased first data and corresponding second data of every increased first data;
The corresponding key assignments of every increased first data the second data corresponding with every increased first data are stored to institute The second database is stated, the second database updated.
5. according to the method described in claim 3, it is characterized in that, described to the second data stored in second database It is updated, comprising:
Asynchronous notifications request is obtained, including at least in the asynchronous notifications request has first modified in the first database The relevant information of data;
Determine that data acquisition instructs according to asynchronous notifications request and the configuration file;
Modified first data are obtained from the first database according to data acquisition instruction;
It determines corresponding second data of modified first data, obtains modified second data;
By the second data before the replacement modification of modified second data, the second database updated.
6. the method according to claim 1, which is characterized in that the method also includes:
Data inquiry request is obtained, including at least in the data inquiry request has query information;
Key assignments is determined according to the query information;
Corresponding data are inquired in second database according to the key assignments and the configuration file.
7. a kind of storage device of data, which is characterized in that described device includes:
First determining module, for according to configuration file determine at least one data acquisition instruct, the configuration file for pair The attribute of each column data under the every tables of data and every tables of data that store in first database is described, every number According to the corresponding data acquisition instruction of table;
First obtains module, for being obtained under every tables of data according to every data acquisition instruction from the first database At least one the first data;
Second determining module, for determining the corresponding key assignments of every first data and every first data corresponding second Data, second data are made of the quantity of non vacuum data in first data and first data;
Memory module, for the corresponding key assignments of every first data the second data corresponding with every first data It is stored, obtains the second database, second database is key assignments distributed memory system.
8. device according to claim 7, which is characterized in that described device, further includes:
Second obtains module, for obtaining configuration file amendment advice;
Third obtains module, for obtaining modified configuration file according to the configuration file amendment advice, according to The data storage operations of modified configuration file triggering next time.
9. device according to claim 7, which is characterized in that described device, further includes:
Update module, for being updated to the second data stored in second database.
10. device according to claim 9, which is characterized in that the update module, comprising:
Detection unit, for detecting in the first database every preset time with the presence or absence of the tables of data for increasing data;
First acquisition unit, for determining every increase according to configuration file when detecting the presence of the tables of data for increasing data The corresponding data acquisition instruction of the tables of data of data;
Second acquisition unit, at least one under tables of data for obtaining every increase data according to every data acquisition instruction Increased first data;
First determination unit, for determining the corresponding key assignments of get every increased first data and every increased the Corresponding second data of one data;
Storage unit, for by the corresponding key assignments of every increased first data and every increased first data corresponding second Data store the second database updated to second database.
11. device according to claim 9, which is characterized in that the update module, comprising:
Third acquiring unit, for obtaining asynchronous notifications request, including at least in the asynchronous notifications request has first number According to the relevant information for the first data modified in library;
Second determination unit, for determining that data acquisition instructs according to asynchronous notifications request and the configuration file;
4th acquiring unit, for obtaining modified first number from the first database according to data acquisition instruction According to;
Third determination unit obtains modified second data for determining corresponding second data of modified first data;
Replacement unit, for the second data before modifying the replacement of modified second data, the second database updated.
12. the device according to any claim in claim 7 to 11, which is characterized in that described device further include:
4th obtains module, and for obtaining data inquiry request, including at least in the data inquiry request has query information;
Third determining module, for determining key assignments according to the query information;
Enquiry module, for inquiring corresponding data in second database according to the key assignments and the configuration file.
13. a kind of computer readable storage medium, the storage medium is stored with program, and described program is configured to be held by processor The storage method of data of the row as described in claim 1 to 6 is any.
CN201410160242.7A 2014-04-21 2014-04-21 The storage method and device of data Active CN105022739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410160242.7A CN105022739B (en) 2014-04-21 2014-04-21 The storage method and device of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410160242.7A CN105022739B (en) 2014-04-21 2014-04-21 The storage method and device of data

Publications (2)

Publication Number Publication Date
CN105022739A CN105022739A (en) 2015-11-04
CN105022739B true CN105022739B (en) 2019-05-21

Family

ID=54412723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410160242.7A Active CN105022739B (en) 2014-04-21 2014-04-21 The storage method and device of data

Country Status (1)

Country Link
CN (1) CN105022739B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899443B (en) * 2015-12-18 2020-06-26 北京神州泰岳软件股份有限公司 Netflow flow data acquisition method and equipment
US11301422B2 (en) 2016-02-23 2022-04-12 Samsung Electronics Co., Ltd. System and methods for providing fast cacheable access to a key-value device through a filesystem interface
CN107315693B (en) * 2016-04-26 2020-06-09 阿里巴巴集团控股有限公司 Data storage method and device
CN105930492A (en) * 2016-05-05 2016-09-07 北京思特奇信息技术股份有限公司 System and method for loading relational table data into cache
CN106294740A (en) * 2016-08-10 2017-01-04 北京创锐文化传媒有限公司 Data processing method, device and server
CN108399175B (en) * 2017-02-07 2022-04-12 阿里巴巴集团控股有限公司 Data storage and query method and device
CN109150930B (en) * 2017-06-15 2020-12-18 北京金山云网络技术有限公司 Configuration information loading method and device and service processing method and device
CN112486532B (en) * 2020-11-25 2024-04-09 中移(杭州)信息技术有限公司 Configuration file management method and device, electronic equipment and storage medium
CN113626483B (en) * 2021-08-18 2022-04-26 重庆允成互联网科技有限公司 Front-end caching method, system, equipment and storage medium for filling forms
CN114443581B (en) * 2022-04-11 2022-06-17 苏州浪潮智能科技有限公司 Download control method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183363A (en) * 2006-11-13 2008-05-21 中兴通讯股份有限公司 Method for unitedly configuring management EMS memory data-base by system table structure
CN101311930A (en) * 2007-05-21 2008-11-26 Sap股份公司 Block compression of tables with repeated values
CN101311931A (en) * 2007-05-21 2008-11-26 Sap股份公司 Compression of tables based on occurrence of values
CN103164413A (en) * 2011-12-09 2013-06-19 金蝶软件(中国)有限公司 Method and system for dynamic extension of service objects

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183363A (en) * 2006-11-13 2008-05-21 中兴通讯股份有限公司 Method for unitedly configuring management EMS memory data-base by system table structure
CN101311930A (en) * 2007-05-21 2008-11-26 Sap股份公司 Block compression of tables with repeated values
CN101311931A (en) * 2007-05-21 2008-11-26 Sap股份公司 Compression of tables based on occurrence of values
CN103164413A (en) * 2011-12-09 2013-06-19 金蝶软件(中国)有限公司 Method and system for dynamic extension of service objects

Also Published As

Publication number Publication date
CN105022739A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN105022739B (en) The storage method and device of data
CN107402992B (en) Distributed NewSQL database system and full-text retrieval establishing method
Deng et al. The Data Civilizer System.
Lissandrini et al. Beyond macrobenchmarks: microbenchmark-based graph database evaluation
KR102134494B1 (en) Profiling data with location information
US20190205480A1 (en) Layered graph data structure
US9507820B1 (en) Data modeling system for runtime schema extensibility
CA2957674C (en) Testing insecure computing environments using random data sets generated from characterizations of real data sets
US10685042B2 (en) Identifying join relationships based on transactional access patterns
Holzschuher et al. Querying a graph database–language selection and performance considerations
CN108170815B (en) Data processing method, device and storage medium
US11423008B2 (en) Generating a data lineage record to facilitate source system and destination system mapping
CN103927607A (en) Data processing method and device
CN105989015B (en) Database capacity expansion method and device and method and device for accessing database
US11544217B2 (en) Utilizing machine learning to determine data storage pruning parameters
CN110880136A (en) Recommendation method, system, equipment and storage medium for matched product
CN107016115B (en) Data export method and device, computer readable storage medium and electronic equipment
CN105653716A (en) Database construction method and system based on classification-attribute-value
Jayathilake et al. A study into the capabilities of NoSQL databases in handling a highly heterogeneous tree
Szárnyas et al. The LDBC social network benchmark: Business intelligence workload
US11321359B2 (en) Review and curation of record clustering changes at large scale
US20130185701A1 (en) Centralized, object-level change tracking
US11520763B2 (en) Automated optimization for in-memory data structures of column store databases
Kim et al. Parallel processing of multiple graph queries using MapReduce
CN108959454B (en) Prompting clause specifying method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant