Home » SQL & PL/SQL » SQL & PL/SQL » Best methode to cache data in packages?
Best methode to cache data in packages? [message #39127] Tue, 18 June 2002 12:47 Go to next message
Graham
Messages: 9
Registered: March 2002
Junior Member
Advice to tune lookups within a package please

We have a package that needs tuning and
we have identified three sections in a
procedure where it is repeating a large
number of lookups each time it loops through
a cursor. m repeated lookups times n loops.

What is the best methode to cache the m
lookups in a package such that we could
query the record / field in m
m = 8 fields in 100 records

Thx
Re: Best methode to cache data in packages? [message #39129 is a reply to message #39127] Tue, 18 June 2002 13:42 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
How about building a pl/sql table inside the package / procedure.
By that, you no need to loop again and again.
Previous Topic: exception
Next Topic: UTL_TCP usage
Goto Forum:
  


Current Time: Wed Apr 24 16:34:01 CDT 2024