Library Cache
- From: mrdjmagnet@xxxxxxx
- Date: Mon, 29 Dec 2008 06:53:25 -0800 (PST)
Hi,
We installed this Spotlight for Oracle software. The software shows
an 85% re-parse rate against the Library Cache. Here is the biggest
issue we have. I do not think anything can be done, but maybe another
brain can figure something out:
We have a table with stored queries:
Row 1: SELECT emp_num FROM employees
Row 2: SELECT address FROM customer_address
We have a criteria table which holds any criteria that the query MAY
use:
Row 1: WHERE emp_first =
Row 1: AND emp_last =
Row 2: WHERE customer_id =
So, the PHP code can pass any number of parameters to the procedure,
which the procedure can parse and form the query and open a cursor for
the PHP code to read.
This means that the queries may/may not be the same, and need to be re-
parsed. So, we lose on that. Is there anything that can be done to
tune these and make them faster? An index against every possible
combination is not possible, and we have hundreds of these stored
queries........
Any smarter people have any ideas?
Arthur
.
- Follow-Ups:
- Re: Library Cache
- From: Mark D Powell
- Re: Library Cache
- Prev by Date: Re: How to read BLOB data from Oracle table
- Next by Date: Re: Library Cache
- Previous by thread: Re: Library Cache
- Next by thread: Re: Library Cache
- Index(es):