[
https://issues.apache.org/jira/browse/COUCHDB-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Howe updated COUCHDB-1791:
--------------------------------
Description:
{code:javascript}
function(doc) {
if (doc.a === 'b') { emit(doc._id, null); }
}
{code}
This view, running on CouchDB 1.2.1, takes 16 minutes to index from scratch on
an inactive database, creating a 2.5GB file.
After compaction, the file is then only 157MB.
Can we do something about this waste of disk I/O, such that the initial index
is smaller to start with?
was:
function(doc) {
if (doc.a = 'b') { emit(doc._id, null); }
}
This view, running on CouchDB 1.2.1, takes 16 minutes to index from scratch on
an inactive database, creating a 2.5GB file.
After compaction, the file is then only 157MB.
Can we do something about this waste of disk I/O, such that the initial index
is smaller to start with?
> Initial index of views is highly fragmented
> -------------------------------------------
>
> Key: COUCHDB-1791
> URL: https://issues.apache.org/jira/browse/COUCHDB-1791
> Project: CouchDB
> Issue Type: Improvement
> Components: JavaScript View Server
> Reporter: James Howe
>
> {code:javascript}
> function(doc) {
> if (doc.a === 'b') { emit(doc._id, null); }
> }
> {code}
> This view, running on CouchDB 1.2.1, takes 16 minutes to index from scratch
> on an inactive database, creating a 2.5GB file.
> After compaction, the file is then only 157MB.
> Can we do something about this waste of disk I/O, such that the initial index
> is smaller to start with?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira