lab2
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
date: 2026-10-28T17:16:16Z commit: 6468ee2
|
||||
$ valkey-cli config get appendonly appendfsync maxmemory maxmemory-policy
|
||||
appendonly
|
||||
yes
|
||||
appendfsync
|
||||
always
|
||||
maxmemory
|
||||
67108864
|
||||
maxmemory-policy
|
||||
volatile-lru
|
||||
$ valkey-cli info persistence | grep aof_enabled,aof_last_write_status
|
||||
aof_enabled:1
|
||||
aof_last_write_status:ok
|
||||
$ valkey-cli dbsize; info stats | grep keyspace
|
||||
4
|
||||
keyspace_hits:2
|
||||
keyspace_misses:2
|
||||
$ valkey-cli --scan --pattern 'session:*' и вид значения (хеш сокращён, значения не печатаются)
|
||||
session:253ef5d9… сессия
|
||||
session:59c9c3c4… сессия
|
||||
session:b86641dc… сессия
|
||||
session:95ea586e… отметка отзыва "-"
|
||||
tombstones: 1, cached sessions: 3
|
||||
$ срок ключа кэша против срока сессии для session:253ef5d9…
|
||||
valkey pexpiretime, ms: 1793208059163
|
||||
postgres expires_at, ms: 1793211358951
|
||||
ключ не переживает сессию: да
|
||||
Reference in New Issue
Block a user