Tony, Before assuming that this is a bug/problem with postgresql and therefore out of your control. It is best to ensure there is no problem with the set up you have. It will save you bundle of time. I have several development system but regularly use postgresql DBs with SSD on a portable (slow CPU) with several dbs *each* with over 6 million records just in one table and several hundred tables and still don’t get any problem. It would be good to read your post on the final solution. From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of FarjadFarid(ChkNet) Because your system had crashed. I would check everything from bottom up. The duration of operation and memory usage does suggest it may be hitting a recurring problem. First do a simple check on your hard disk. Making sure it is healthy there are no hanging indexes. Then rebuild the whole database, this time ensuring *your indexing is much tighter than before*, also as a test to be less dependent on memory. I personally use SSDs for my DBs. It saves a lot of time. The other advantage of SSD is *the relative* lack of performance degradation due to fragmentation of data. Once you are happy with this setup then try to optimise the performance. You might find the cost of a few good SSD will more than pay for themselves in terms of the cost of your team’s time. Otherwise indexing shouldn’t take so long. Hope this helps. Good luck. Best Regards Farjad From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of TonyS On Wed, April 1, 2015 9:25 am, FarjadFarid(ChkNet) [via PostgreSQL] wrote:
View this message in context: Re: Would like to know how analyze works technically |