A method for partitioned storage of data, comprising: creating, in a database, a parent partition table corresponding to a service identifier, and creating, under the parent partition table, a child partition table corresponding to a time interval (S101); if data to be stored is received, extracting the service identifier carried in the data (S102); obtaining the time when the data is received, and determining the time interval to which the time belongs (S103); obtaining the parent partition table corresponding to the extracted service identifier, and obtaining the child partition table corresponding to the determined time interval under the parent partition table (S104); and storing the data to be stored in the obtained child partition table (S105).
展开▼