-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi guys,
I am using Ubuntu 12.04 (x86_64) with the default CouchDB installation.
And I have created some very small tests to check the performance.
It is just one simple "get".
With 1.0.1 it used to take about 1 or 2 milli seconds. Since the
upgrade the same GET takes about 40 millis.
I am quite sure that there is some type of misconfiguration...
Anybody has a hint for me? Are there any special configuration options
that changed from 1.0.1 to 1.2.0 (nothing found in release notes)?
Or did Canonical some magic?
Debug output in couch.log:
[Fri, 18 May 2012 18:55:35 GMT] [debug] [<0.400.0>] 'GET'
/couch_unit_test_1337367299363_55042/_design/all/_view/byTypeAndId?startkey=%5B%22lens%22%5D&include_docs=true&endkey=%5B%22lens%22,%7B%7D%5D
{1,
1} from "127.0.0.1"
Headers: [{'Accept',"text/html, image/gif, image/jpeg, *; q=.2, */*;
q=.2"},
{'Connection',"keep-alive"},
{'Host',"localhost:5984"},
{'User-Agent',"Java/1.6.0_26"}]
[Fri, 18 May 2012 18:55:35 GMT] [debug] [<0.400.0>] OAuth Params:
[{"startkey","[\"lens\"]"},
{"include_docs","true"},
{"endkey","[\"lens\",{}]"}]
[Fri, 18 May 2012 18:55:35 GMT] [debug] [<0.400.0>] request_group
{Pid, Seq} {<0.402.0>,5}
[Fri, 18 May 2012 18:55:35 GMT] [info] [<0.400.0>] 127.0.0.1 - - GET
/couch_unit_test_1337367299363_55042/_design/all/_view/byTypeAndId?startkey=%5B%22lens%22%5D&include_docs=true&endkey=%5B%22lens%22,%7B%7D%5D
200
The map function.
- ------------------------------
function( doc ) {
var type = doc['@type'];
var id = doc['_id'];
if ( type == null || id == null ) {
return
}
emit( [type, id] );
}
- ------------------------------
No other documents are available (returns "total_rows":0
Thanks,
Johannes
- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJPtpwEAAoJEAytD9R7Qv6d1QMH/1k6k12jySnB0qwEqw2kvHa1
E/QFso/Z/W0As+biHhi8w0csXUzDS3wWvwVeSrIqH6V4JNXfyz31vIw2Q06ikwFN
jDNgAyy5tNL84y8c6IEzq5BoPDsPv/yaPRpXH2NicMWVWsUqWXS+dPjyFTYCO7QT
ldwcmwoeZpLPipjgRVcZ/1SDk1pofl+yu5FmAyDyslgQIrNjZCBtHQySkLYoP4c/
2o+Z83klqyYUWZ1z9yBWNk66TvuNm2K+ouATAAFbP/PLul7R8NqKmJ6GUoxdUlE0
pVxRk1gkzl1cqTWTxyzv1fmNj4zQsbdYdot9vc3FmPciKcdSiHyzhSC2NhHeCQQ=
=yIuX
-----END PGP SIGNATURE-----