Royi Namir
Royi Namir

Reputation: 148524

Redis server console output clarification?

I'm looking at the redis output console and I'm trying to understand the displayed info : (didn't find that info in the quick guide)

So redis-server.exe outputs this :

/*1*/   [2476] 24 Apr 11:46:28 # Open data file dump.rdb: No such file or directory
/*2*/   [2476] 24 Apr 11:46:28 * The server is now ready to accept connections on port 6379
/*3*/   [2476] 24 Apr 11:42:35 - 1 clients connected (0 slaves), 1188312 bytes in use
/*4*/   [2476] 24 Apr 11:42:40 - DB 0: 1 keys (0 volatile) in 4 slots HT.

Upvotes: 1

Views: 2372

Answers (1)

mleko
mleko

Reputation: 12233

[2476] - process ID

dump.rdb - redis can persist data by snapshoting, dump.rdb is the default file name http://redis.io/topics/persistence

0 slaves - redis can work in master-slave mode, 0 slaves informs you that there are no slave servers connected

1188312 bytes in use - total number of bytes allocated by Redis using its allocator

0 volatile - redis can set keys with expiration time, this is the count of them

4 slots HT - current hash table size, initial table size is 4, as you add more items hash table will grow

Upvotes: 6

Related Questions