-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Davis wrote:
> Tail append does have its pitfalls.

What can I do to mitigate this?  The documents are currently inserted in _id
order.

As a guess should I perhaps also order my documents so that the value
emitted in a view (in most cases one value always from a key named "name")
is also in sorted order?  With some SQL magic during document generation
should be able to do that.

Perhaps CouchDB could have some sort of 'auto-compact' setting that for
example does a compact on the view if more than 100MB would be saved.  Would
small incremental compacts make things faster vs one huge one at the end?

Roger

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktMEA0ACgkQmOOfHg372QQHrQCgigb5DRTakD3jEMBP6ZTEWZi4
VN0AmgJm+e73p7N3bI1ZH3/2MRA6W1vQ
=XDOT
-----END PGP SIGNATURE-----

Reply via email to