The invention discloses a
database management method and device, a
server and a storage medium. The method comprises the steps of obtaining opening records in
system tables corresponding to at least two databases; compairing opening records in all the
system tables according to preset fields, wherein the preset fields comprise a first identifier and a first sequence value, the first identifier isan identifier corresponding to the fact that the
target database currently enters the opening state, and the first sequence value is a current log sequence value of the
target database; and determining attributes of each
database according to a comparison result of the opening records, wherein the attributes comprise at least one of a main
database, a standby database and a
split brain database. According to the technical scheme, the
system table is used for recording the opening
record of the main
library; the standby database synchronizes the content of the main database system table by replaying the
Redo log, and whether the data of each database is consistent or not is compared by comparing the opening records of the system table, so as to determine the attributes of the database, thereby accurately determining the main database, the standby database and the
split brain database, and improving the stability of database operation.