Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: User / Synonym Question
Kevin
I have always heard private synonyms are the preferred way to accomplish what you want. If you prefer, you could assign developers the private synonyms instead and everyone else gets the public one that gives access to the entire table.
Looking at the larger issue, what is your goal with this archiving
strategy? Faster full-table scans? Have you investigated Oracle
partitioning? Will any applications be used to access these tables, and how
will their queries be affected?
Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com <mailto:dwilliams_at_lifetouch.com>
-----Original Message-----
Sent: Monday, September 23, 2002 10:28 AM
To: Multiple recipients of list ORACLE-L
Good Morning/Afternoon/Evening!
I have been charged with implementing a data-archive strategy into an existing, production system. The only issue I have remaining is that damagement wants the developers & programs to only see the active data when they query the transaction table -- and the "power users" to see a partition-view of active and history data when they query the transaction table.
program connects
SELECT * FROM transaction; -- hits the transaction
table
power user connects
SELECT * FROM transaction; -- hits the "transaction_all" view
Is there any easy way to do this without reverting to the use of private synonyms for each "power user"? I've fought the good fight and have been unable to convince damangement that this is not the best way to do this, so I'm looking for a technical solution.
TIA
Kevin Toepke
ktoepke_at_trilegiant.com
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Toepke, Kevin M INET: ktoepke_at_trilegiant.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesReceived on Mon Sep 23 2002 - 11:28:27 CDT
---------------------------------------------------------------------
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-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: DENNIS WILLIAMS INET: DWILLIAMS_at_LIFETOUCH.COM Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
![]() |
![]() |