sathiya psql wrote: > Hi All, > > This query is being executed nearly a million times.... > SELECT 'DBD::Pg ping test' > > Why this is being executed ? What is the use ? A client is sending a query to the server solely to see if the server responds. DBD::Pg is the Perl database driver for PostgreSQL. Presumably the application using that driver has some sort of keepalive or database connectivity check enabled, so it's periodically issuing these queries. -- Craig Ringer
On Wed, Apr 23, 2008 at 12:19 AM, sathiya psql <sathiya.psql@gmail.com> wrote: > Hi All, > > This query is being executed nearly a million times.... > SELECT 'DBD::Pg ping test' Something in your Perl application is use $dbh->ping(). See perldoc DBI. It's possible that this is happening under the hood, because your application is using connect_cached() instead of connect(). -jwb
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера