Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> select data using trigger
Hi lists,
Can anybody help me...?
Table CONTRACTS is accessed by many applications and has many selects hit this table. This table has 15 indexes.
Still It needs some more indexes. But we were instructed to stop creating indexes.
We have another table CONT2 in another schema. This table is copy of CONTRACTS. Is there a way to write a trigger on CONT2 for the following issue:
if a particular select / select statement issued against CONTRACTS table, that query should select data from CONT2.
(There is only one particular select statement that is more resource
intensive. We need to divert that query to CONT2. As the applications
are already tuned, we were not permitted to modify that code.)
Thnx in advance,
Srinivas
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Tatireddy, Shrinivas (MED, Keane) INET: Shrinivas.Tatireddy_at_med.ge.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Mon Dec 10 2001 - 22:07:25 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).