On 07/12/2012 08:48 PM, Yan Chunlu
wrote:
You have eight indexes on that table according to the schema you showed. Three of them cover three columns. Those indexes are going to be expensive to update; frankly I'm amazed it's that FAST to update them when they're that big. Use pg_size_pretty(pg_relation_size('index_name')) to get the index sizes and compare to the pg_relation_size of the table. It might be informative. You may see some insert performance benefits with a non-100% fill factor on the indexes, but with possible performance costs to index scans. -- Craig Ringer |