1

I recently wondered why my /var/lib/couchdb/_dbs.couch files kept its filesize when I dropped an entire database. It seems like, anytime I create a (test) db it gets written and stored there, but it never gets entirely removed when I delete the database again (Fauxton 2.1.1). I can even see/search for the database names within that file.

Any explanation for this behavior?

jAndy
  • 223,102
  • 54
  • 301
  • 354
  • This behaviour is happening even with db compaction process enabled? – Juanjo Rodriguez Jan 22 '18 at 13:52
  • `compactions` is set to `_default` value `[{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]`. But what has that to do with anything? Is the behaviour normal or is there any way to clean the _dbs.couch? – jAndy Jan 22 '18 at 14:26

1 Answers1

1

I point you to an answer to a similar question: why does CouchDBs _dbs.couch keep growing when purging/compacting DBs?

The answer comes from a CouchDB contributor

Juanjo Rodriguez
  • 2,014
  • 7
  • 19