Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aUZ5c-0004K2-KV for pgsql-jdbc@arkaria.postgresql.org; Sat, 13 Feb 2016 12:14:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aUZ5b-0005a0-CY for pgsql-jdbc@arkaria.postgresql.org; Sat, 13 Feb 2016 12:14:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aUZ56-00051o-Pn for pgsql-jdbc@postgresql.org; Sat, 13 Feb 2016 12:13:44 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aUZ4z-0000xJ-Gn for pgsql-jdbc@postgresql.org; Sat, 13 Feb 2016 12:13:43 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUZ4w-0006sQ-DP for pgsql-jdbc@postgresql.org; Sat, 13 Feb 2016 13:13:34 +0100 Received: from ppp-46-244-207-211.dynamic.mnet-online.de ([46.244.207.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 13:13:34 +0100 Received: from spam_eater by ppp-46-244-207-211.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 13:13:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: System Query hit to Database Date: Sat, 13 Feb 2016 13:13:25 +0100 Lines: 42 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-46-244-207-211.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org I have already answered that 2 days ago: This is the query sent by getTables() (as mention on Stackoverflow). There are some connection pools out there that have a stupid default configuration and use getTables() as the query to validate if a connection is still alive. If you additionally have enabled validating connections when they are taken out or returned to the pool, this will be called for each "getConnection()" inside your code. Check the configuration of your connection pool. dhaval jaiswal schrieb am 13.02.2016 um 11:53: > Can anyone help me on below query. > > > > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > *From:* dhaval jaiswal > *Sent:* Thursday, February 11, 2016 10:32 AM > *To:* pgsql-jdbc@postgresql.org > *Subject:* System Query hit to Database > > Kindly redirect me to the correct forum, If below question is not relevant to you. > > > > I am getting lot of following queries on my Database. I need your help to stop hitting this kind of queries to database. > > While going through search found the following article saying it's caused by jdbc driver. > > http://stackoverflow.com/questions/5453992/a-very-strange-sql-of-postgresql > > Environment details: > > Version: PostgreSQL 9.4.0 > > Driver version: postgresql-9.4-1201.jdbc41.jar > > JVM: 1.7 > > > -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc