Re: For Loop using row_data to increase performance

From: John777 <john3478(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: For Loop using row_data to increase performance
Date: 2010-03-05 10:31:14
Message-ID: 68864a98-7669-4f1b-9d87-c5e70845d6d1@v20g2000prb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

here is the update section which take very long to run. ==>328001.274
ms
"Index Scan using idx_template_product on template_product
(cost=2729612.82..2729621.18 rows=1 width=87) (actual
time=327643.885..327643.889 rows=1 loops=1)"
" Index Cond: (id = 10566)"
" InitPlan 1 (returns $0)"
" -> Aggregate (cost=2729612.81..2729612.82 rows=1 width=0)
(actual time=327643.769..327643.769 rows=1 loops=1)"
" -> Bitmap Heap Scan on template_all_in_one
(cost=604031.87..2693572.99 rows=14415929 width=0) (actual
time=94229.880..324091.136 rows=14753612 loops=1)"
" Recheck Cond: (template_article_name =
'aname'::text)"
" -> Bitmap Index Scan on
idx_template_article_name_all_in_one (cost=0.00..600427.89
rows=14415929 width=0) (actual time=94209.983..94209.983 rows=14753617
loops=1)"
" Index Cond: (template_article_name =
'aname'::text)"
"Total runtime: 328001.274 ms"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message venkatrao.b 2010-03-05 11:40:56 Is there any oracle user_source table equivalent in postgre?
Previous Message John777 2010-03-05 10:28:38 For Loop using row_data to increase performance