On Mon, Nov 18, 2013 at 7:32 AM, <wangs...@highgo.com.cn> wrote: > Hi hackers, > > I used jdbc to connect to PostgreSQL ,and I found parse nearly > three > times of bind and execute.Is is normaly? Actually bind and execute should be more than parse. Have you confirmed that by enabling Log/Debug messages on server or you are referring to JDBC log?
> What factors may cause this result? I am really not sure of JDBC, but from Libpq or general concept wise, it can happen only if someone does call parse multiple times, but then execute only few of the statements. I think you might need to narrow down the problem by having less number of queries in your JDBC application. If possible start by having only 1 or 2 queries and then see how many times parse,bind,execute gets called. > The OS is CentOS 5. The PG is 9.0.9. The JDBC is 9.2. > With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers