简体   繁体   中英

Postgres Issue Isolation level

Lot of SHOW TRANSACTION ISOLATION LEVEL appears in process list in Postgres 9.0 .

What are reasons for this and when it appears ?. All are in idle state. How to disable this ?

I assume that with process list you mean the system view pg_stat_activity (accessible in pgAdmin III in the "statistics" tab or with "Tools/Server Status").

Since you say that the connections are idle, the query column does not show an active query, it shows the last query that has been issued in this database connection. I don't know which ORM or connection pooler you are using, but some software in your stack must insert these statements routinely at the end of a database action.

I wouldn't worry about them, this statements are not resource intensive and probably won't cause you any trouble.

If you really need to get rid of them, figure out which software in your stack causes them and investigate there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM