X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4C20BD1B4AE for ; Thu, 18 Dec 2003 02:20:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41955-04 for ; Wed, 17 Dec 2003 22:19:51 -0400 (AST) Received: from millenium.mst.co.jp (unknown [210.230.185.241]) by svr1.postgresql.org (Postfix) with ESMTP id 6D577D1B4A8 for ; Wed, 17 Dec 2003 22:19:46 -0400 (AST) Received: from mst1x5r347kymb (lc12114 [192.168.1.114]) by millenium.mst.co.jp (8.11.6p2/3.7W) with SMTP id hBI28kJ05208 for ; Thu, 18 Dec 2003 11:08:46 +0900 Message-ID: <003a01c3c50d$6a17feb0$7201a8c0@mst1x5r347kymb> From: "Iain" To: Subject: FATAL: unrecognized configuration parameter "show_statement_stats" Date: Thu, 18 Dec 2003 11:19:49 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C3C558.D9E31E00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=BAYES_30, HTML_30_40, HTML_FONT_FACE_ODD X-Spam-Level: X-Archive-Number: 200312/273 X-Sequence-Number: 11779 This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C3C558.D9E31E00 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Hi All, I got the following error message yesterday: WARNING: statement-level statistics are disabled because parser, planner, or executor statistics are on psql: FATAL: unrecognized configuration parameter "show_statement_stats" and I'm wondering if anyone can offer some ideas about it. Some background: Version is 7.4 running on turbo linux 7 (kernal 2.4.18-15, libc ver 2.2.4-13)) under virtual pc under windows 2000. This is the development system and it has been running smoothly. I successfully tested dumping, loading and copying large dbs (about 50% of the estimated production DB size) a couple of days ago. Yesterday, I edited the postgresql.conf file and uncommented the stats parameters as follows: # - Statistics Monitoring - log_parser_stats = true log_planner_stats = true log_executor_stats = true log_statement_stats = true # - Query/Index Statistics Collector - stats_start_collector = true stats_command_string = true stats_block_level = true stats_row_level = true stats_reset_on_server_start = true Since I want to get a better idea of what the application is doing. I then ran: pg_ctl reload Problem 1: Then I couldn't connect to the db with the above error mesage. I shutdown the server, re-commented the above parameters, and restarted server. Everyone can connect again. Problem 2: I then tried unsuccessfully (3 times) to dump the database as follows: pg_dump -Fc -v DBNAME > dumpfilename Around about the same point each time, this now fails with an error as follows: pg_dump: dumping contents of table d_hi_mise_item_uri pg_dump: ERROR: canceling query due to user request pg_dump: SQL command to dump the contents of table "d_hi_mise_item_uri" failed: PQendcopy() failed. pg_dump: Error message from server: ERROR: canceling query due to user request pg_dump: The command was: COPY public.d_hi_mise_item_uri (ymd_uri, tenpo_cd, ite m_id, urisuu, urikin, araridaka, lst_genka, ave_genka, logic_tana_suu, henpintyu u_suu, tenji_suu, tuika_suu, idou_in_suu, idou_out_suu, rank_new_suu, rank_old_s uu) TO stdout; pg_dump: *** aborted because of error Finally, I have 2 questions: 1. What should I do about the first error - did I make a mistake in those settings? 2. Is the second error related the first, and what is the usual cause of this kind of error? There seems to be enough disk space, but I can't be entirely sure what is happening with virtual PC. I'm going to build a new server today without windows 200 and virtual pc and see how that affects things. It had survived a pretty rigorous test a couple of days ago though... Any suggestions are welcome. Regards Iain ------=_NextPart_000_0036_01C3C558.D9E31E00 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I got the following error message= =20 yesterday:
 
WARNING:  statement-level st= atistics=20 are disabled because parser, planner, or executor statistics are on
psql= :=20 FATAL:  unrecognized configuration parameter=20 "show_statement_stats"
 
and I'm wondering if anyone can o= ffer some=20 ideas about it.
 
Some background:
 
Version is 7.4 running on t= urbo=20 linux 7 (kernal 2.4.18-15, libc ver 2.2.4-13)) under virtual pc under= =20 windows 2000.
 
This is the development=20 system and it has been running smoothly. I successfully tested= =20 dumping, loading and copying large dbs (about 50% of the estimated producti= on DB=20 size) a couple of days ago. Yesterday, I edited the postgresql.conf file an= d=20 uncommented the stats parameters as follows:
 
# - Statistics Monitoring -
 
log_parser_stats =3D=20 true
log_planner_stats =3D true
log_executor_stats =3D=20 true
log_statement_stats =3D true
 
# - Query/Index Statistics Collec= tor=20 -
 
stats_start_collector =3D=20 true
stats_command_string =3D true
stats_block_level =3D=20 true
stats_row_level =3D true
stats_reset_on_server_start =3D=20 true
 
Since I want to get a better idea= of what=20 the application is doing.
 
I then ran:
 
 pg_ctl reload

Problem 1: Then I couldn't connec= t to the=20 db with the above error mesage.
 
I shutdown the server, re-comment= ed the=20 above parameters, and restarted server. Everyone can connect again.<= /DIV>
 
Problem 2: I then tried unsuccess= fully (3=20 times) to dump the database as follows:
 
pg_dump -Fc -v DBNAME >=20 dumpfilename
 
Around about the same point each = time,=20 this now fails with an error as follows:
 
pg_dump: dumping contents of tabl= e=20 d_hi_mise_item_uri
pg_dump: ERROR:  canceling query due to user=20 request
pg_dump: SQL command to dump the contents of table=20 "d_hi_mise_item_uri" failed:
PQendcopy() failed.
pg_dump: Error messa= ge=20 from server: ERROR:  canceling query due to user request
pg_dump: T= he=20 command was: COPY public.d_hi_mise_item_uri (ymd_uri, tenpo_cd, ite
m_id= ,=20 urisuu, urikin, araridaka, lst_genka, ave_genka, logic_tana_suu,=20 henpintyu
u_suu, tenji_suu, tuika_suu, idou_in_suu, idou_out_suu,=20 rank_new_suu, rank_old_s
uu) TO stdout;
pg_dump: *** aborted because = of=20 error
Finally, I have 2 questions:
 
1. What should I do about th= e=20 first error - did I make a mistake in those settings?
 
2. Is the second error related th= e first,=20 and what is the usual cause of this kind of error?
 
There seems to be enough disk spa= ce, but I=20 can't be entirely sure what is happening with virtual PC. I'm going to buil= d a=20 new server today without windows 200 and virtual pc and see how that= =20 affects things. It had survived a pretty rigorous test a couple of days ago= =20 though...
 
Any suggestions are welcome.
 
Regards
Iain
 
------=_NextPart_000_0036_01C3C558.D9E31E00--