couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: CouchDB becoming unusable as Database/Views increase in size.
Date Tue, 21 Dec 2010 20:54:36 GMT
On Tue, Dec 21, 2010 at 11:41, Bob Clary <bob@bclary.com> wrote:
> On 12/21/10 5:55 AM, Paul Davis wrote:
>
>>
>> How do you have your views laid out? Remember that a design document
>> is indexed all at once in a single file, so its possible you could get
>> seedups and smaller files by splitting them across multiple design
>> docs.
>
> I did that.
>
>>
>> Also, in 1.0.1 you should have the ability to create a view before
>> using it. Ie, you create the _design doc with a random id, and build
>> its views, then rename it to its final destination.
>>
>
> Not sure how that would help.
>

It doesn't help in the case that things got messed up and you had to
rebuild after the upgrade/downgrade, but in the future it helps a lot
for rolling out a new version of a view without downtime.

>> Also, depending on your reductions, if you can, its best to use the
>> built in reductions.
>>
>
> None of the views use reductions at the moment.
>
>>> CouchDB 1.0.x: My experience with attempting to use the 1.0.x branch was
>>> a
>>> failure due to the crashing immediately upon view compaction completion
>>> which caused the views to begin indexing from scratch.
>>>
>>
>> This is a serious unreported bug. Please add any crash logs to Jira so
>> we can figure out what's going on here.
>>
>
> Ok. Filed <https://issues.apache.org/jira/browse/COUCHDB-994>.
> I only have level error logs though.
>
>

Mime
View raw message