Re: Sudden very slow indexing of the views

2020-05-20 Thread Alan Malta
an Touzet wrote: > > > > HI Alan, > > > > * What version of CouchDB? > > * Do you regularly compact your databases? > > * Have you looked for conflicted documents recently? > > > > -Joan > > > > On 2020-05-20 10:02, Alan Malta wrote: > >&g

Sudden very slow indexing of the views

2020-05-20 Thread Alan Malta
Hi everyone, it's been more than a week that I have been debugging a strange performance problem with CouchDB; mainly affecting couchdb views. About my Couch setup, I have one central couch instance and around 5 to 15 other instances replicating documents to it. In addition to the replication,

Re: Sudden very slow indexing of the views

2020-05-21 Thread Alan Malta
of the ddoc. You can select several design docs at a time, and > compact their indices in a turn just clicking [Compact...] btn. Hope it > might help. > > Btw, Photon UX is very close to Futon. > > https://github.com/ermouth/couch-photon > > ermouth > > > ср,

Re: Sudden very slow indexing of the views

2020-05-24 Thread Alan Malta
true if all the views in a given database/ddoc are written in erlang instead of javascript? Thank you very much. Alan. On Fri, May 22, 2020 at 12:57 AM Joan Touzet wrote: > > Hi Alan, > > On 2020-05-21 18:41, Alan Malta wrote: > > Joan, indeed I had around 60 documents with co

Compaction file still behind main file

2020-07-06 Thread Alan Malta
Dear experts, apologies if I'm asking something that has already been asked here, if so, I'm happy to have just a link to a previous discussion. Coming to the problem, over the last week, one of my couch instances went twice from ?~20GB to ~300GB. The problem is that the compaction never manages

Re: Compaction file still behind main file

2020-07-06 Thread Alan Malta
Hi Jan, thanks for your prompt reply. I'll try to stop the writes today. Best, Alan. On Mon, Jul 6, 2020 at 10:42 AM Jan Lehnardt wrote: > > On 6. Jul 2020, at 10:26, Alan Malta wrote: > > > > Dear experts, > > > > apologies if I'm asking something that has alre

Re: Sudden very slow indexing of the views

2020-06-03 Thread Alan Malta
views. This, in addition to the high number of documents (~3M), again in addition to all the other clients as well, was causing couch to not perform well its tasks. Thanks to all of you that helped me investigating this issue. Best, Alan. On Sun, May 24, 2020 at 8:16 PM Alan Malta wrote: > &

Re: Understanding replication documents

2022-03-16 Thread Alan Malta
ot;couch_config"). That was fixed, CouchDB rebuilt and now I can properly replicate data in both directions. This brought me to a new - authorization - error though, with undefined user GETing data. It likely deserves another thread though. Thanks, Alan. On Mon, Feb 28, 2022 at 4:11 PM Alan Malt

Re: Understanding replication documents

2022-02-28 Thread Alan Malta
by the url path there as the path > $REMOTEHOST/couchdb/workqueue could be split up as a database > path=$REMOTEHOST/couchdb and then workqueue would be the document, but > in this case the workqueue is the database actually. Would you be able > to test a setup where the URL path look

Understanding replication documents

2022-02-26 Thread Alan Malta
Hi everyone, after a delay of many years to migrate to (almost) the latest CouchDB version, I started working with CouchDB 3.1.2. My tests with replication to/from the same node/localhost have been successful. But now that I am trying multiple push/pull replications with a remote host, they get

Re: Understanding replication documents

2022-02-26 Thread Alan Malta
errors (say, ':' or '@' characters for > example). > > Would it be possible to have an example script which fails. Ideally, a > set of curl commands creating dbs, then the replication job using > similar parameters you had? > > Cheers, > -Nick > > On Sat, Feb 26, 2022 a

Using CouchApps in Couch 3.2.2

2022-07-22 Thread Alan Malta
Hi everyone, I tried to update CouchDB from version 3.1.2 to 3.2.2 today, and I noticed that my couchapp isn't working properly. I understand that this is actually the critical vulnerability issue that got fixed in CouchDB 3.2.x, and apparently CouchApps no longer work in the latest CouchDB

Re: Using CouchApps in Couch 3.2.2

2022-07-23 Thread Alan Malta
pd_auth, proxy_authentication_handler} into chttpd / > authentication_handlers and restart Couch. > > Hope it helps. > > ermouth > > > On Sat, Jul 23, 2022 at 5:51 AM Alan Malta wrote: > > > > > keep CouchApps functional (same behavior of 3.1.2?) in 3.2.2? Or is > moving > > > > >