# uptime [<-Back-to:Auth](database-auth.md) **The \`uptime\` table** This table holds the server's uptime. Trinity will automatically update the latest entry's value until it crashes and a new record is added. **Structure**

Field

Type

Attributes

Key

Null

Default

Extra

Comment

realmid

int(10)

unsigned

PRI

NO

 

 

 

starttime

int(10)

unsigned

PRI

NO

0

 

 

uptime

int(10)

unsigned

 

NO

0

 

 

maxplayers

smallint(5)

unsigned

 

NO

0

 

 

revision

varchar(255)

signed

 

NO

TrinityCore

 

 

**Description of the fields** ### realmid The ID of the realm. See [realmlist.id](realmlist_2130016.html#realmlist-id) ### starttime The time when the server was started, in Unix time. ### uptime The uptime of the server, in seconds. ### maxplayers The maximum number of players connected. ### revision The detailed revision of the worldserver