Postgresql JDBC process consumes more memory than psql client

Поиск
Список
Период
Сортировка
От James Pang (chaolpan)
Тема Postgresql JDBC process consumes more memory than psql client
Дата
Msg-id PH0PR11MB5191A047B707B2FE6527C549D67F9@PH0PR11MB5191.namprd11.prod.outlook.com
обсуждение исходный текст
Ответы Re: Postgresql JDBC process consumes more memory than psql client  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-performance

  We run same update or delete SQL statement “ DELETE FROM … WHERE … “  the table is a hash partition table (256 hash partitions). When run the sql from Postgresql JDBC driver, it soon increased to 150MB memory (RES filed from top command),       but when run the same SQL from psql , it only consumes about 10MB memory.  UPDATE statements is similar , need 100MB memory, even it delete or update 0 rows.  Any specific control about Postgresql JDBC driver ?

 

Thanks,

 

James

 

 

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jose Osinde
Дата:
Сообщение: Re: Select on partitioned table is very slow
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Postgresql JDBC process consumes more memory than psql client