From: | MindTerm <mindterm(at)yahoo(dot)com> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: performance tuning in large function / transaction |
Date: | 2001-12-14 09:06:47 |
Message-ID: | 20011214090647.31355.qmail@web20205.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi all,
table :
application : 220 rows ;
usermenu : 6055 rows ;
M.T.
--- Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
wrote:
> On Fri, 14 Dec 2001, MindTerm wrote:
>
> > Hi all,
> >
> > senario:
> >
> > cursor 1 loop ( e.g. find student id )
> > cursor 2 loop ( e.g. find courses of this
> student )
> > cursor 3 loop ( e.g. update course information
> )
> > delele course detail ...
> > or
> > delete course detail ... ( same primary key
> )
> > insert course detail ... ( same primary key
> )
> > end loop 3
> > end loop 2
> > end loop 1
> >
> > It did 75 delete actions 140 update actions (
> delete
> > and insert ). The process time was about 5-6
> minutes
> > while oracle was 10 seconds to 20 seconds .
>
> Can you send the actual function and table schema
> for the associated
> tables and sizes of the tables involved (I figure
> the data itself is
> probably not available, but we may be able to see
> what's going on then)
>
>
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
Attachment | Content-Type | Size |
---|---|---|
xxx | text/plain | 7.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2001-12-14 14:44:47 | Re: performance tuning in large function / transaction |
Previous Message | Anil Kumar Narule | 2001-12-14 08:42:52 | Display of Japanese character |