[GENERAL] memory leak occur when disconnect database

2009-07-17 Thread tanjunhua
I'm running postgres 8.1.8 on Debian and I think memory leak occur when disconnect database. 1. environment setting 1.1 postgresql version: version -

Re: [GENERAL] memory leak occur when disconnect database

2009-07-20 Thread tanjunhua
Because of the three-day break, my response is late. Valgrind is a great tool, but you must learn how to identify false positives and tell the difference between a leak that matters (say 1kb allocated and not freed in a loop that runs once per second) and a leak that doesn't. I get the memory

Re: [GENERAL] memory leak occur when disconnect database

2009-07-20 Thread tanjunhua
Because of the three-day break, my response is late. 8.1.8 is pretty old. Also you'll have better luck getting help if you actually include the output from Valgrind. the output from Valgrind is not stored. from now on, I will do it again and get the result from Valgrind. PS: the memory leak

Re: [GENERAL] Join efficiency

2009-09-01 Thread tanjunhua
piled by GCC cc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) (1 row) - Original Message - From: "tanjunhua" To: Sent: Wednesday, September 02, 2009 2:31 PM Subject: [GENERAL] Join efficiency Hello, everybody. In my project, I have a select syntax to get record

[GENERAL] Join efficiency

2009-09-01 Thread tanjunhua
Hello, everybody. In my project, I have a select syntax to get record summary between three tables. one of them is tab_main consist of 46 columns(with 27797 records), another is tab_user consist of 32 columns(with 3 records) and the last one is tab_property consist of 117 columns(with 30541 re

Re: [GENERAL] Join efficiency

2009-09-02 Thread tanjunhua
thanks for your response. Maybe if you could describe what you want to do in English then the query would make a bit more sense. I just want those records as the below rule: 1. the record of which uid is 2, status is more than 20, bpassword is 0 and realdelflag is 0 in tab_main; 1.1 the recor