dbTalk Databases Forums  

Trigger on redo log switch?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Trigger on redo log switch? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
vitalisman@gmail.com
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-16-2008 , 08:26 AM






On 16 mar, 02:40, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Quote:
"fitzjarr... (AT) cox (DOT) net" <fitzjarr... (AT) cox (DOT) net> wrote innews:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15 pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?

Why?

David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
Not that I really like the overall idea, but if you want to limit the
polling overhead inside Oracle, you might want to code a system script
that would check the switch events by reading the alert.log (sort of
tail -f | grep). The overhead would be limited.


Reply With Quote
  #22  
Old   
DA Morgan
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-16-2008 , 12:29 PM






Ana C. Dent wrote:
Quote:
"fitzjarrell (AT) cox (DOT) net" <fitzjarrell (AT) cox (DOT) net> wrote in
news:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15 pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?
Why?


David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I agree with Sybrand. It will cost you more to achieve the functionality
of Data Guard than just buying it, prepackaged and fully supported, from
Oracle.

There is far more to Data Guard than just shipping log files.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #23  
Old   
DA Morgan
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-16-2008 , 12:29 PM



Ana C. Dent wrote:
Quote:
"fitzjarrell (AT) cox (DOT) net" <fitzjarrell (AT) cox (DOT) net> wrote in
news:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15 pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?
Why?


David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I agree with Sybrand. It will cost you more to achieve the functionality
of Data Guard than just buying it, prepackaged and fully supported, from
Oracle.

There is far more to Data Guard than just shipping log files.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #24  
Old   
DA Morgan
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-16-2008 , 12:29 PM



Ana C. Dent wrote:
Quote:
"fitzjarrell (AT) cox (DOT) net" <fitzjarrell (AT) cox (DOT) net> wrote in
news:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15 pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?
Why?


David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I agree with Sybrand. It will cost you more to achieve the functionality
of Data Guard than just buying it, prepackaged and fully supported, from
Oracle.

There is far more to Data Guard than just shipping log files.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #25  
Old   
DA Morgan
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-16-2008 , 12:29 PM



Ana C. Dent wrote:
Quote:
"fitzjarrell (AT) cox (DOT) net" <fitzjarrell (AT) cox (DOT) net> wrote in
news:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15 pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?
Why?


David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I agree with Sybrand. It will cost you more to achieve the functionality
of Data Guard than just buying it, prepackaged and fully supported, from
Oracle.

There is far more to Data Guard than just shipping log files.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #26  
Old   
joel garry
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-17-2008 , 05:21 PM



On Mar 15, 6:40*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Quote:
"fitzjarr... (AT) cox (DOT) net" <fitzjarr... (AT) cox (DOT) net> wrote innews:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?

Why?

David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I'd still ask why PL/SQL. If you are doing things outside of Oracle,
and want to avoid polling, what are you really planning to do?
Remember, it is going to take time to copy the logs, so you are going
to have to figure out if you've copied an entire log before you apply
it. (I've been doing this a long time in versions up to 9, I simply
rely on the tendency of rcp and uncompress to allow no read on the
files in progress, but it is a very manually intensive process at
times. Read that as "expensive." It made sense in previous versions
with nasty blowback bugs and no compression for going over an
insufficient network, but does not for 10g, and you need a sufficient
network).

jg
--
@home.com is bogus.
Hmmm, maybe SDGE isn't lying about the need for the new transmission
lines: http://spectrum.ieee.org/feb08/5943


Reply With Quote
  #27  
Old   
joel garry
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-17-2008 , 05:21 PM



On Mar 15, 6:40*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Quote:
"fitzjarr... (AT) cox (DOT) net" <fitzjarr... (AT) cox (DOT) net> wrote innews:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?

Why?

David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I'd still ask why PL/SQL. If you are doing things outside of Oracle,
and want to avoid polling, what are you really planning to do?
Remember, it is going to take time to copy the logs, so you are going
to have to figure out if you've copied an entire log before you apply
it. (I've been doing this a long time in versions up to 9, I simply
rely on the tendency of rcp and uncompress to allow no read on the
files in progress, but it is a very manually intensive process at
times. Read that as "expensive." It made sense in previous versions
with nasty blowback bugs and no compression for going over an
insufficient network, but does not for 10g, and you need a sufficient
network).

jg
--
@home.com is bogus.
Hmmm, maybe SDGE isn't lying about the need for the new transmission
lines: http://spectrum.ieee.org/feb08/5943


Reply With Quote
  #28  
Old   
joel garry
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-17-2008 , 05:21 PM



On Mar 15, 6:40*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Quote:
"fitzjarr... (AT) cox (DOT) net" <fitzjarr... (AT) cox (DOT) net> wrote innews:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?

Why?

David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I'd still ask why PL/SQL. If you are doing things outside of Oracle,
and want to avoid polling, what are you really planning to do?
Remember, it is going to take time to copy the logs, so you are going
to have to figure out if you've copied an entire log before you apply
it. (I've been doing this a long time in versions up to 9, I simply
rely on the tendency of rcp and uncompress to allow no read on the
files in progress, but it is a very manually intensive process at
times. Read that as "expensive." It made sense in previous versions
with nasty blowback bugs and no compression for going over an
insufficient network, but does not for 10g, and you need a sufficient
network).

jg
--
@home.com is bogus.
Hmmm, maybe SDGE isn't lying about the need for the new transmission
lines: http://spectrum.ieee.org/feb08/5943


Reply With Quote
  #29  
Old   
joel garry
 
Posts: n/a

Default Re: Trigger on redo log switch? - 03-17-2008 , 05:21 PM



On Mar 15, 6:40*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Quote:
"fitzjarr... (AT) cox (DOT) net" <fitzjarr... (AT) cox (DOT) net> wrote innews:19af45f7-a98e-4905-93ff-aceea05e7da1 (AT) 8g2000hsu (DOT) googlegroups.com:

On Mar 15, 2:15*pm, "Ana C. Dent" <anaced... (AT) hotmail (DOT) com> wrote:
Oracle 10GR2 -

How can I get custom PL/SQL to be invoked upon every redo logfile
switch?

Why?

David Fitzjarrell

So a manual Data Guard like implementation can be achieved
& I'd prefer to avoid the overhead of polling.
I'd still ask why PL/SQL. If you are doing things outside of Oracle,
and want to avoid polling, what are you really planning to do?
Remember, it is going to take time to copy the logs, so you are going
to have to figure out if you've copied an entire log before you apply
it. (I've been doing this a long time in versions up to 9, I simply
rely on the tendency of rcp and uncompress to allow no read on the
files in progress, but it is a very manually intensive process at
times. Read that as "expensive." It made sense in previous versions
with nasty blowback bugs and no compression for going over an
insufficient network, but does not for 10g, and you need a sufficient
network).

jg
--
@home.com is bogus.
Hmmm, maybe SDGE isn't lying about the need for the new transmission
lines: http://spectrum.ieee.org/feb08/5943


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.