Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6C8162E1A50 for ; Fri, 14 Dec 2007 07:13:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 37462-02-2 for ; Fri, 14 Dec 2007 07:13:31 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by postgresql.org (Postfix) with ESMTP id AD4C62E407E for ; Fri, 14 Dec 2007 07:13:28 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so777782nfh.23 for ; Fri, 14 Dec 2007 03:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=72DHn+WB5vod4qqWBWjNvMS8kdA94QITRYY6igo9f8g=; b=lNX3GRuKMOcZZrMJFJqAJLde5XdcnbxZgs7/zFDwuNOv+Q3LiqqSJMcEm7jxq7Q/qP87H+4fnwZQOPHQgsUAfJMJxsP6WZU7sH1tXVZQTFF0DrseIwsH18nMV3+zmwgBwdlaJ6BXZoXl+uKpquXDtdhxHwgQb/z6HzxNYATeUX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=h22dt2qbruQCkIrjFlZljLM+PdYJaZypFb0taB4sqA6AzXpEYwRY39aqm1xLHJry8ZByWI9+tJTl0cXo+RV1SG4zXE4pWyR/E4TcAB1L0YLuWnV6dE/AMZY0/ZcQjNUNkS1elxAaujdmvuYCP7BX4uH1lOJEE0LAYrw4p1MjtPs= Received: by 10.86.25.17 with SMTP id 17mr2905869fgy.19.1197630806547; Fri, 14 Dec 2007 03:13:26 -0800 (PST) Received: from ?192.168.2.213? ( [81.196.40.147]) by mx.google.com with ESMTPS id 4sm6063374fgg.2007.12.14.03.13.24 (version=SSLv3 cipher=RC4-MD5); Fri, 14 Dec 2007 03:13:25 -0800 (PST) Subject: Re: Slow query after upgrades From: Albert =?ISO-8859-1?Q?L=E1szl=F3-R=F3bert?= Reply-To: albertlaszlorobert@gmail.com To: Kris Jurka Cc: Tom Duffey , pgsql-jdbc@postgresql.org In-Reply-To: References: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com> <1197622516.6335.23.camel@albertlr-rss> Content-Type: text/plain; charset=utf-8 Organization: RSoft Solutions S.R.L. Date: Fri, 14 Dec 2007 13:15:27 +0200 Message-Id: <1197630927.6335.37.camel@albertlr-rss> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/117 X-Sequence-Number: 17972 On Fri, 2007-12-14 at 05:24 -0500, Kris Jurka wrote: > > On Fri, 14 Dec 2007, Albert Lszl-Rbert wrote: > > > the performance before were arount 1-2 minutes ... and after the upgrade > > it was about 30-40 minutes and more ... but because our application is > > running throw the internet using the CORBA technology in most of the > > cases the database throws an org.postgresql.util.PSQLException(: An I/O > > error occured while sending to the backend.) exception. > > > > I don't understand why running slower results in IOExceptions. Is the > driver actively broken, or is your app just slower? > Generally the use of the driver is OK, but with some of the queries (for the moment we've got feedback for two heavily used queries) we had this kind of error. When we ran the query from the console we've got the same result (it was faster than through the JDBC driver). > Kris Jurka -- László-Róbert, Albert mobile: +40-(0)-742-874-854 office: +40-(0)-365-410-540 e-mail: albertlaszlorobert@gmail.com