I have a database of size 200mb,and around 10 views written on it. This gives me a view file that occupies around 3-4GB on disk
All the docs in the DB get updated once everyday with an interval of a minute between each update,so number of Documents is constant.(Number of docs=number of minutes in 24 hours)
When I update a doc to it's new revision and compact the DB immediately(to delete the old rev) after,what happens with the view file?Do the values in the B-tree get updated with the new values,or is there a new entry on the B-tree,hence increasing the size of the view file?
What is the best way to handle this situation while conserving disk space and also ensuring speed of views?