# DB Size of 130k keys but none showing with keys \*

**URL:** <https://dragonfly.discourse.group/t/db-size-of-130k-keys-but-none-showing-with-keys/152>\
**Category:** Dragonfly Technical\
**Created:** [April 14, 2024, 5:59pm UTC](https://dragonfly.discourse.group/t/db-size-of-130k-keys-but-none-showing-with-keys/152 "2024-04-14T17:59:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![munificent-gnu](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@munificent-gnu](https://dragonfly.discourse.group/u/munificent-gnu)\
**Post date:** [April 14, 2024, 5:59pm UTC](https://dragonfly.discourse.group/t/db-size-of-130k-keys-but-none-showing-with-keys/152/1 "2024-04-14T17:59:11Z")

</div>

Not sure what is happening there, all keys in the db1 are zsets

Version: df-v1.16.1  
OS: MacOS 14.4.1 (23E224)  
Image: “[docker.dragonflydb.io/dragonflydb/dragonfly](http://docker.dragonflydb.io/dragonflydb/dragonfly)”  
Arguments:

```auto
- --dbfilename=data
      - --default_lua_flags=allow-undeclared-keys

```

[message.txt](https://dragonfly.discourse.group/uploads/short-url/vTSB7uzpAUs6xi2xk8UaTigDeDS.txt) (4.62 KB)  
 ![1702.png](https://canada1.discourse-cdn.com/flex004/uploads/dragonfly/original/1X/468c777065392fbe487caca3fa9bc563a2cc6a75.png)  
 ![37708.png](https://canada1.discourse-cdn.com/flex004/uploads/dragonfly/original/1X/9b59b093bf96ad7763053a00af9453b4ae205d75.png)  
 ![26681.png](https://canada1.discourse-cdn.com/flex004/uploads/dragonfly/original/1X/e08ef4b31e50f3e7bd2c07023264f3170f5d5289.png)

---

<div class="post-metadata">

**Author:** ![munificent-gnu](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@munificent-gnu](https://dragonfly.discourse.group/u/munificent-gnu)\
**Post date:** [April 14, 2024, 6:07pm UTC](https://dragonfly.discourse.group/t/db-size-of-130k-keys-but-none-showing-with-keys/152/2 "2024-04-14T18:07:32Z")

</div>

````auto
I20240414 13:31:32.933333 1 init.cc:70] dragonfly running in opt mode.
I20240414 13:31:32.933511 1 dfly_main.cc:641] Starting dragonfly df-v1.16.1-48541c75eaac69044d020569ce076dc256795f7c
* Logs will be written to the first available of the following paths:
/tmp/dragonfly.*
./dragonfly.*
* For the available flags type dragonfly [--help | --helpfull]
* Documentation can be found at: https://www.dragonflydb.io/docs
W20240414 13:31:32.934195 1 dfly_main.cc:680] SWAP is enabled. Consider disabling it when running Dragonfly.
I20240414 13:31:32.934238 1 dfly_main.cc:685] maxmemory has not been specified. Deciding myself....
I20240414 13:31:32.934244 1 dfly_main.cc:694] Found 5.09GiB available memory. Setting maxmemory to 4.08GiB
W20240414 13:31:32.934374 1 dfly_main.cc:368] Weird error 1 switching to epoll
I20240414 13:31:32.941968 1 proactor_pool.cc:146] Running 5 io threads
I20240414 13:31:32.958290 1 server_family.cc:713] Host OS: Linux 6.7.11-orbstack-00143-ge6b82e26cd22 aarch64 with 5 threads
I20240414 13:31:32.964581 1 snapshot_storage.cc:108] Load snapshot: Searching for snapshot in directory: "/data"
I20240414 13:31:32.965710 1 server_family.cc:877] Loading /data/data.rdb
I20240414 13:31:32.973042 8 listener_interface.cc:101] sock[13] AcceptServer - listening on port 6379
I20240414 13:31:35.703992 11 server_family.cc:931] Load finished, num keys read: 150434
``` logs from docker
````

---

<div class="post-metadata">

**Author:** ![munificent-gnu](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@munificent-gnu](https://dragonfly.discourse.group/u/munificent-gnu)\
**Post date:** [April 14, 2024, 9:20pm UTC](https://dragonfly.discourse.group/t/db-size-of-130k-keys-but-none-showing-with-keys/152/3 "2024-04-14T21:20:10Z")

</div>

Just restart docker container and can’t replicate it anymore seems very weird to me especially since there are only 129740 keys and it shows 150k
