MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dbTotalServerKeyCount

Function dbTotalServerKeyCount

app/redis-6.2.6/src/db.c:558–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558long long dbTotalServerKeyCount() {
559 long long total = 0;
560 int j;
561 for (j = 0; j < server.dbnum; j++) {
562 total += dictSize(server.db[j].dict);
563 }
564 return total;
565}
566
567/*-----------------------------------------------------------------------------
568 * Hooks for key space changes.

Callers 3

useDisklessLoadFunction · 0.85
redisForkFunction · 0.85
rewriteAppendOnlyFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected