<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user">
    <title>gmane.comp.db.couchdb.user</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22222"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22221"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22220"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22219"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22218"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22217"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22216"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22215"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22214"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22213"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22212"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22211"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22210"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22209"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22208"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22207"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22206"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22205"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22204"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22203"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22222">
    <title>Re: Couchdb Server Error 500</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22222</link>
    <description>&lt;pre&gt;Hi,

Try to increase max_dbs_open parameter's value in [couchdb] section of
the ini to some greater than yours value (100 by default).

If it wouldn't help or helps for some time, try also to increase
system limits for opened files for couchdb user in
/etc/security/limits.conf. Like:
couchdb         soft     nofiles         32000
couchdb         hard     nofiles         40000

--
,,,^..^,,,


On Wed, Jun 19, 2013 at 7:28 AM, dilpreet singh &amp;lt;giggs102-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Alexander Shorin</dc:creator>
    <dc:date>2013-06-19T03:35:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22221">
    <title>Re: Couchdb Server Error 500</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22221</link>
    <description>&lt;pre&gt;the couchdb server log entry is like this :

[Tue, 18 Jun 2013 19:29:30 GMT] [error] [&amp;lt;0.29253.0&amp;gt;] Uncaught server
error: {error,all_dbs_active}
 43935 [Tue, 18 Jun 2013 19:29:30 GMT] [info] [&amp;lt;0.29253.0&amp;gt;] 127.0.0.1 - -
HEAD /db-2013-3-20 500

Is there a way to resolve this error . To work with with couchdb again , i
have to restart it which is not the correct way as i have to start querying
process all over again .

Thanks in advance


On Mon, Jun 17, 2013 at 5:51 PM, svilen &amp;lt;az-fYFLDUw5NEJ3N0eo3W6VwA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>dilpreet singh</dc:creator>
    <dc:date>2013-06-19T03:28:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22220">
    <title>Re: large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22220</link>
    <description>&lt;pre&gt;Hi Jens,

Specific version: Blue Coat SG510 Series, Version: SGOS 6.2.10.3, Release
id: 90684 Proxy Edition
HTH.



On Tue, Jun 18, 2013 at 6:00 PM, Cliffano Subagio &amp;lt;cliffano-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Cliffano Subagio</dc:creator>
    <dc:date>2013-06-18T23:19:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22219">
    <title>CouchDB Parameterized filtered replication Performance issue</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22219</link>
    <description>&lt;pre&gt;Hi,

We have developed an iOS application with replication from: {"couchdb":"Welcome","version":"1.1.1","bigcouch":"0.4.0"}.

We are facing performance issue with the parameterized filter replication. As required we need to filter the latest 6 months of date from the Couch database which contains around 20,000 documents. The filter function written in Javascript works fine but the replication takes around 2.5 to 4 minutes. The filter is based on the data for timeSinceEpoch. 
The filter function source is as follows:
{
"_id": "_design/segmenting",
"filters": {
"by_epoch": "function(doc, req) { var beginTime = req.query.beginTime;var endTime = req.query.endTime;if (doc.timeSinceEpoch &amp;gt;= beginTime &amp;amp;&amp;amp; doc.timeSinceEpoch &amp;lt;= endTime) { return true;} else {return false;}}"
}


Also read about the erlang filter function to speed up the data filter process and converted the filter function in Erlang. Tested multiple times and observed that the filter replication takes around same time. Source for Erlang design docume&lt;/pre&gt;</description>
    <dc:creator>Saroj patel</dc:creator>
    <dc:date>2013-06-14T15:51:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22218">
    <title>use cradle to delete db but cache didn't reset</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22218</link>
    <description>&lt;pre&gt;I use node 0.8.18, express3.2.5, cradle0.6.6. my problem is : after I
saved a doc into db, then I delete db to reset my testcase env, but when
I save the doc with the same id, cradle told me that doc is exsited!
source code as follow:

|db.save(id, acct, callback0);
//in the callback0 ...
db.destroy(callback1);
//in the callback1 ...
db.create(callback2);
//in the callback2 ... 
db.get(id, callback);|

then I got the same acct document, it seems still in the cradle cache.

can I clean the cache the same time I delete the db ?



qaqabincs

&lt;/pre&gt;</description>
    <dc:creator>qaqabincs</dc:creator>
    <dc:date>2013-06-15T14:54:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22217">
    <title>Re: CouchDB Language-Specific Examples</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22217</link>
    <description>&lt;pre&gt;so based on github stats c# is most verbose and curl is the most compact.
sure we can learn something from that :-)

will write up some perl code in the next few days.

cheers
lenz


On Sat, Jun 15, 2013 at 6:20 AM, Jens Alfke &amp;lt;jens-eZVmTAPG3+5l57MIdRCFDg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>lenz</dc:creator>
    <dc:date>2013-06-16T03:08:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22216">
    <title>Re: large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22216</link>
    <description>&lt;pre&gt;Hi Jens,

It's an older Bluecoat SG.

Btw, I found this line on RFC 2616 re proxy and URI length support (party
like it's 1999 :p)

      Note: Servers ought to be cautious about depending on URI lengths
      above 255 bytes, because some older client or proxy
      implementations might not properly support these lengths.



On Tue, Jun 18, 2013 at 12:13 PM, Jens Alfke &amp;lt;jens-eZVmTAPG3+5l57MIdRCFDg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Cliffano Subagio</dc:creator>
    <dc:date>2013-06-18T08:00:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22215">
    <title>Re: large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22215</link>
    <description>&lt;pre&gt;Thanks for the explanation and the hint to MAX_URL_LEN, Adam.

We do build from source, will patch manually for now to get around this
issue.


On Tue, Jun 18, 2013 at 10:26 AM, Adam Kocoloski &amp;lt;kocolosk-1oDqGaOF3Lkdnm+yROfE0A&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Cliffano Subagio</dc:creator>
    <dc:date>2013-06-18T07:50:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22214">
    <title>Re: large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22214</link>
    <description>&lt;pre&gt;
On Jun 17, 2013, at 5:12 PM, Cliffano Subagio &amp;lt;cliffano-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


That URL is only 6273 bytes long; I wouldn’t expect a proxy to reject it. Do you know what type of proxy server this is?

(I have an interest in this as I’m the main author of a CouchDB-compatible database, which has its own heuristics for how long to let such a URL get.)

—Jens
&lt;/pre&gt;</description>
    <dc:creator>Jens Alfke</dc:creator>
    <dc:date>2013-06-18T02:13:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22213">
    <title>Re: large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22213</link>
    <description>&lt;pre&gt;Well, a GET request is the RESTful choice.  I do admit that the limit on the length of a URL is going to be much more stringent than the limit on the size of a POST body.

CouchDB already has code to split the request up if the generated URL is "too large".  Currently the value of "too large" is hard-coded at 7000 bytes:

https://github.com/apache/couchdb/blob/1.3.0/src/couch_replicator/src/couch_replicator_api_wrap.erl#L473

If you happen to be building from source you can lower that value to something your proxy will accept.

For dev&amp;lt; at &amp;gt; -- it would absolutely make sense to patch this so that the user could supply a parameter like max_url_length in the replication spec and override the default.  It may also make sense to turn the default into a config setting.

Adam

On Jun 17, 2013, at 8:12 PM, Cliffano Subagio &amp;lt;cliffano-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Adam Kocoloski</dc:creator>
    <dc:date>2013-06-18T00:26:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22212">
    <title>large replication URL</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22212</link>
    <description>&lt;pre&gt;Hi,

I have a CouchDB database which replicates from npm registry and I notice
that the replication URL can get large due to the revisions array in
atts_since parameter, to a point that its too large that the proxy I'm
using doesn't let the GET request through.

Here's a sample of the large URL
https://gist.github.com/cliffano/5726639/raw/ea0e416dbbd8928ade4809c38e5a3214a736c35c/gistfile1.txt

Is there any particular reason why this is a GET instead of a POST?
Is there any way to change the request to use POST?

Cheers,
Cliff.
&lt;/pre&gt;</description>
    <dc:creator>Cliffano Subagio</dc:creator>
    <dc:date>2013-06-18T00:12:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22211">
    <title>Re: Couchdb Server Error 500</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22211</link>
    <description>&lt;pre&gt;check couchdb logs to see eventualy what exact request caused it


On Mon, 17 Jun 2013 17:46:35 -0400
dilpreet singh &amp;lt;giggs102-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>svilen</dc:creator>
    <dc:date>2013-06-17T21:51:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22210">
    <title>Couchdb Server Error 500</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22210</link>
    <description>&lt;pre&gt;Hi

I have aroung 180 databases in the couchdb , each of about 3Gb . I am using
the permanent views to run some queries in all the databases one by one .
Also i am using python-couchdb to access couchdb using python . I get the
following error after going through few databases :

 db = server[dbname]
  File
"/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/client.py",
line 137, in __getitem__
    db.resource.head() # actually make a request to the database
  File
"/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/http.py",
line 377, in head
    return self._request('HEAD', path, headers=headers, **params)
  File
"/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/http.py",
line 419, in _request
    credentials=self.credentials)
  File
"/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/http.py",
line 310, in request
    raise ServerError((status, error))
couchdb.http.ServerError: (500, '')


I googled it and found it to be some couchd&lt;/pre&gt;</description>
    <dc:creator>dilpreet singh</dc:creator>
    <dc:date>2013-06-17T21:46:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22209">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22209</link>
    <description>&lt;pre&gt;The data in my db are read only.
Even to get 304 back takes twice as long when I have 2 requests.

I am using JMeter to do my test and getting the same results...
I also have tried several hosted couchdbs to make sure that it is not my 
local setup...




&lt;/pre&gt;</description>
    <dc:creator>mangvlad</dc:creator>
    <dc:date>2013-06-15T13:04:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22208">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22208</link>
    <description>&lt;pre&gt;I think my problem is not with the size or seep of parsing.
When I am making a single request, getting the response in 1 sec is ok.
Improving this speed would be a bonus...

My problem is that when I get more than one user, the time is rapidly increasing
with every new concurrent request...

Breaking views into smaller multiple views will be pretty difficult...
What is it that is shared between requests inside couchdb that is causing this?


&lt;/pre&gt;</description>
    <dc:creator>mangvlad</dc:creator>
    <dc:date>2013-06-15T13:00:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22207">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22207</link>
    <description>&lt;pre&gt;I agree caching is always going to be faster when done correctly...if it
were pulling across the wire I would try compressing it because its the
transfer of 1.5 MB that's getting you.

But I guess without knowing the extent of dynamism your require with your
query ..is it possible to split your large view into smaller views that you
could query in clever ways?... Also is that is there a high write to read
ratio?.. It could be fixing the index during this
On Jun 14, 2013 1:52 PM, "Jens Alfke" &amp;lt;jens-eZVmTAPG3+5l57MIdRCFDg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Stanley Iriele</dc:creator>
    <dc:date>2013-06-14T22:38:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22206">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22206</link>
    <description>&lt;pre&gt;
On Jun 14, 2013, at 12:09 PM, mangvlad &amp;lt;mangvlad-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


It’s always going to be much faster to cache local objects than to download and parse 1.5MB of JSON, no matter how fast the CouchDB server gets.
Consider using conditional GETs, so you’ll get the updated view results if they’ve changed, and a simple 304 response if they haven’t.

—Jens
&lt;/pre&gt;</description>
    <dc:creator>Jens Alfke</dc:creator>
    <dc:date>2013-06-14T20:51:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22205">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22205</link>
    <description>&lt;pre&gt;Stanley,

I have tried to use lists, but its performance was 10x times worse,
than doing it in node.js.

Thanks,
Vlad



&lt;/pre&gt;</description>
    <dc:creator>mangvlad</dc:creator>
    <dc:date>2013-06-14T20:38:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22204">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22204</link>
    <description>&lt;pre&gt;just out of curiosity ...why aren't you using a list function after the
view?...its certainly not the best way for filtering but it gives you the
HTTP request.


On Fri, Jun 14, 2013 at 12:09 PM, mangvlad &amp;lt;mangvlad-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Stanley Iriele</dc:creator>
    <dc:date>2013-06-14T19:45:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22203">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22203</link>
    <description>&lt;pre&gt;Thanks Filippo.

I guess I can introduce some caching in my node.js layer, but ideally, 
I would like to "exhaust" my couchdb options first...

I also have tried using lists feature, but its performance is many times slower 
than doing it using node's V8.

Again, my original problem is in the fact that I am not allowed to use 
multiple keys filtering and group=false together, 
otherwise I can reduce my views inside couchdb and probably avoid
this concurrency issue all together...

Thanks,
Vlad


&lt;/pre&gt;</description>
    <dc:creator>mangvlad</dc:creator>
    <dc:date>2013-06-14T19:09:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22202">
    <title>Re: Large views and concurrent access</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22202</link>
    <description>&lt;pre&gt;Maybe you should caching the result.

-Filippo

On Jun 14, 2013, at 6:58 PM, mangvlad wrote:



&lt;/pre&gt;</description>
    <dc:creator>Filippo Fadda</dc:creator>
    <dc:date>2013-06-14T18:32:23</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.db.couchdb.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.db.couchdb.user</link>
  </textinput>
</rdf:RDF>
