The invention provides a public sentiment data storage method and a
server. The method comprises: obtaining to-be-stored public sentiment data, determining and storing a topic identifier, a data identifier, a showing field, and a sorting field corresponding to the to-be-stored public sentiment data in a cache in an association manner, to obtain to-be-processed cache data; when a special
subject identifier corresponding to the topic identifier of the to-be-processed cache data is determined not to exist, storing the topic identifier, the data identifier, and the sorting field of the to-be-processed cache data in a recent
database in an association manner; storing the to-be-stored public sentiment data in a historical
database; storing the topic identifier, the data identifier, and creation time of the to-be-processed cache data in a real-time
database in a first topic storage format; and storing the topic identifier and the showing field of the to-be-processed cache data in the real-time database in a second topic storage format. The method realizes to store different information of public sentiment data in the recent database, the historical database, ad the real-time database in sequence in a graded manner.