couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiril Stankov <ki...@open-net.biz>
Subject Re: High CPU when changing / adding view
Date Tue, 13 Oct 2015 11:38:56 GMT
I would ask a "silly" question, if it wasn't a problem.
Yes, the overall performance of the machine is affected - another code 
also runs on the same machine.
During the view update, it gets so slow, that I'm getting timeout on 
http connections.
------------------------------------------------------------------------
*With best regards,*
Kiril Stankov

On 09-Oct-15 10:04 PM, Kyle Snavely wrote:
> Silly question -- is the CPU consumption affecting the rest of the machine,
> or is it simply free for CouchDB to use? How does load average look during
> the high CPU consumption?
>
> - Kyle
>
> On Fri, Oct 9, 2015 at 2:41 PM, Andrey Kuprianov <
> andrey.kouprianov@gmail.com> wrote:
>
>> It would help, but views would build slower tho
>>
>> On Sat, Oct 10, 2015 at 12:10 AM, Sebastian Rothbucher <
>> sebastianrothbucher@googlemail.com> wrote:
>>
>>> Hi,
>>>
>>> You could renice it but i'm not sure it would help - worth a try though
>>>
>>>     Sebastian
>>>
>>> Von meinem iPhone gesendet
>>>
>>>> Am 09.10.2015 um 18:41 schrieb Kiril Stankov <kiril@open-net.biz>:
>>>>
>>>> Hi all,
>>>>
>>>> I have already ~ 50000 docs in one db.
>>>> Their structure is pretty simple.
>>>> When I add or modify a view, Couchdb eats 80-90% CPU and becomes very
>>> slow to answer requests.
>>>> Though it takes ~ 2 min to build the views, it is a point of concern,
>> as
>>> I expect this DB to grow to millions of documents.
>>>> I don't mind if it'd take more time to build/update the view, but is
>>> there a way to limit the CPU this process will take?
>>>> Thanks in advance!
>>>>
>>>>
>> ------------------------------------------------------------------------
>>>> *With best regards,*
>>>> Kiril Stankov


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message