1. A data storage method, comprising: determining a same column attribute of at least two data objects that are to be stored in a KeyValue type distributed database, wherein each data object has a data record; determining a format of a row identifier, in the KeyValue type distributed database, of each data object of the at least two data objects, wherein the row identifier format comprises the same column attribute and a data object identifier, wherein data object identifiers of different data objects in the at least two data objects are at a same location in the row identifier format; determining a row identifier value for each data record of each data object according to the determined row identifier format; and storing each data record and the row identifier value of each data record in the KeyValue type distributed database, wherein the row identifier value of each data record is used as a primary index of each data record in the KeyValue type distributed database.