Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA1D0C26F for ; Fri, 18 May 2012 18:59:49 +0000 (UTC) Received: (qmail 57050 invoked by uid 500); 18 May 2012 18:59:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 56969 invoked by uid 500); 18 May 2012 18:59:48 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 56961 invoked by uid 99); 18 May 2012 18:59:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 18:59:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [176.9.39.58] (HELO mail.cedarsoft.com) (176.9.39.58) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 18:59:40 +0000 Received: from [192.168.0.79] (HSI-KBW-078-043-000-174.hsi4.kabel-badenwuerttemberg.de [78.43.0.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cedarsoft.com (Postfix) with ESMTPSA id 0D5B81E0BB6 for ; Fri, 18 May 2012 20:59:20 +0200 (CEST) Message-ID: <4FB69C07.7070705@cedarsoft.com> Date: Fri, 18 May 2012 20:59:19 +0200 From: Johannes Schneider User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Performance decrease from 1.0.1 to 1.2.0 X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----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-----