PostgreSQL - Several idle connections set bytea_output

 
Vista:

Several idle connections set bytea_output

Publicado por Carlos Restrepo (2 intervenciones) el 04/04/2019 00:09:01
Hi guys, i have a situation that i don't know if it is normal, i think not.

I have several idle connections SET bytea_output='escape', so i arrieve to max_connections and have issues with my applicationes, why are there so many connections idle with that query?

Thanks, sorry my english
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
-1
Responder
sin imagen de perfil
Val: 16
Ha aumentado 1 puesto en PostgreSQL (en relación al último mes)
Gráfica de PostgreSQL

Several idle connections set bytea_output

Publicado por Yamil Bracho (7 intervenciones) el 04/04/2019 00:24:58
Are your apps using a connection pool ? If they don't, they should do.
If your app does not use a connection pool, each client opens a new connection to your database. Also check if your are closing your database connection.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
-1
Comentar

Several idle connections set bytea_output

Publicado por Carlos Restrepo (2 intervenciones) el 04/04/2019 00:38:40
Yamil thanks for your reply, i have reviewed my app, and it closes the connections, something for me is not ok, why i have several set bytea_output?, what it means?

idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape'
idle SET bytea_output='escape
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
-1
Comentar
sin imagen de perfil
Val: 16
Ha aumentado 1 puesto en PostgreSQL (en relación al último mes)
Gráfica de PostgreSQL

Several idle connections set bytea_output

Publicado por Yamil Bracho (7 intervenciones) el 04/04/2019 00:51:09
bytea is the type for binay data column. In your tables you could have a field which stores binary data.
Altought this message just say the format for those field is the standard 'escape'
If uou are using ADo.NET just add to your connectionstring Pooling=false
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
-1
Comentar