Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Logical Standby Issues (cont.)
An important concept to understand about Logical standbys in particular
is that the SQL Apply engine on the logical standby creates "equivalent
SQL" to that which was run on the primary. It is NOT the same SQL.
Updates shouldn't do full tables scans to update a row UNLESS there isn't a primary key on the table.
Ric Van Dyke
Hotsos Enterprises
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mark Strickland
Sent: Tuesday, July 25, 2006 1:07 PM
To: oracle-l_at_freelists.org
Subject: Re: Logical Standby Issues (cont.)
Re-sending this because it seems to have gotten scrambled:
We added primary key and unique key supplemental logging.
Admittedly, I'm quite ignorant about what exactly goes into the redo stream so I'm shocked, SHOCKED!, that bulk inserts/updates get converted into individual row-level statements in a logical standby (and causes a LOB in the SYSAUX tablespace to grow and grow and grow...). I'm about to start a test on the same table that gave our Production Logical Standby a big hairball Friday night to verify that the single bulk update statement gets converted into individual row-level updates and whether those are executed with full table scans or not. The table does have a primary key.
So far, Logical Standby in 10.1.0.3 appears to have these unfortunate "features":
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jul 25 2006 - 22:12:21 CDT