A method for updating a data table of a KeyValue database, comprising: receiving a full data updating instruction, wherein the full data updating instruction is an instruction for deleting old data of the data table in the KeyValue database and importing new data into the data table; acquiring to-be-imported data according to the full data updating instruction; generating a full data updating file according to the to-be-imported data, wherein the full data updating file comprises P rows of new data, each row of new data comprises one RowKey and Q new column qualifiers, a data type of each new column qualifier is a put type, and an update timestamp is set for each new column qualifier; acquiring M rows of old data in a data table corresponding to the full data updating instruction, wherein each row of old data comprises one RowKey and N old column qualifiers, and an original timestamp is set for each old column qualifier; generating a full data deleting file according to the M rows of old data, wherein the full data deleting file comprises M rows of delete data; each row of delete data is in a one-to-one correspondence with each row of old data; a data type of each row of delete data is a delete type; a delete timestamp is set for each row of delete data; a delete timestamp of an R th row of delete data is greater than a maximum value of an original timestamp of the R th row of old data; the delete timestamp of the R th row of delete data is less than a minimum value of an update timestamp of an S th row of new data; and the R th row of delete data, the R th row of old data, and the S th row of new data have a same RowKey, 1 ≤ R ≤ M, and 1 ≤ S ≤ P; importing the full data updating file into the data table; and importing the full data deleting file into the data table. receiving a full data updating instruction, wherein the full data updating instruction is an instruction for deleting old data of the data table in the KeyValue database and importing new data into the data table; acquiring to-be-imported data according to the full data updating instruction; generating a full data updating file according to the to-be-imported data, wherein the full data updating file comprises P rows of new data, each row of new data comprises one RowKey and Q new column qualifiers, a data type of each new column qualifier is a put type, and an update timestamp is set for each new column qualifier; acquiring M rows of old data in a data table corresponding to the full data updating instruction, wherein each row of old data comprises one RowKey and N old column qualifiers, and an original timestamp is set for each old column qualifier; generating a full data deleting file according to the M rows of old data, wherein the full data deleting file comprises M rows of delete data; each row of delete data is in a one-to-one correspondence with each row of old data; a data type of each row of delete data is a delete type; a delete timestamp is set for each row of delete data; a delete timestamp of an R th row of delete data is greater than a maximum value of an original timestamp of the R th row of old data; the delete timestamp of the R th row of delete data is less than a minimum value of an update timestamp of an S th row of new data; and the R th row of delete data, the R th row of old data, and the S th row of new data have a same RowKey, 1 ≤ R ≤ M, and 1 ≤ S ≤ P; importing the full data updating file into the data table; and importing the full data deleting file into the data table.