X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4E5508B9EF5 for ; Thu, 3 Feb 2005 09:58:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15105-04 for ; Thu, 3 Feb 2005 09:57:51 +0000 (GMT) Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8216B8B9BD6 for ; Thu, 3 Feb 2005 09:57:45 +0000 (GMT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.12.10/8.12.10) with ESMTP id j139vb5Q022046; Thu, 3 Feb 2005 12:57:37 +0300 (MSK) Date: Thu, 3 Feb 2005 12:57:37 +0300 (MSK) From: Oleg Bartunov X-X-Sender: megera@ra.sai.msu.su To: "Marinos J. Yannikos" Cc: pgsql-performance@postgresql.org Subject: Re: GiST indexes and concurrency (tsearch2) In-Reply-To: <4201AEB1.4000504@geizhals.at> Message-ID: References: <4201AEB1.4000504@geizhals.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.357 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/56 X-Sequence-Number: 10385 On Thu, 3 Feb 2005, Marinos J. Yannikos wrote: > Hi, > > according to http://www.postgresql.org/docs/8.0/interactive/limitations.html > , concurrent access to GiST indexes isn't possible at the moment. I haven't > read the thesis mentioned there, but I presume that concurrent read access is > also impossible. Is there any workaround for this, esp. if the index is > usually only read and not written to? there are should no problem with READ access. > > It seems to be a big problem with tsearch2, when multiple clients are > hammering the db (we have a quad opteron box here that stays 75% idle despite > an apachebench with concurrency 10 stressing the php script that uses > tsearch2, with practically no disk accesses) I'm willing to see some details: version, query, explain analyze. > > Regards, > Marinos > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83