Print Thread
TOracleEvent is missing events
#3595 06/24/02 09:16 PM
Joined: Jun 2002
Posts: 4
SPb
N
Nastya Offline OP
Member
OP Offline
Member
N
Joined: Jun 2002
Posts: 4
SPb
Hi!
Does anybody knows what to do with Oracle alerts sent one after one ? PL SQL code looks like this :
begin
dbms_alert.signal(alerttype.name , 'some string 1');
dbms_alert.signal(alerttype.name , 'some string 1');
end;

TOracleEvent used in my program can easily get only the LAST event. (When send in some period there's no problem, but the sequence of several dbms_alert.signal calls causes the information lost). What should I do ? [Linked Image]

Re: TOracleEvent is missing events
#3596 06/24/02 09:47 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
You can indeed miss dbms_alerts if they are fired quickly after another. If you want to be sure that you do not miss any event, you could consider using dbms_pipe messages instead (which uses a queue mechanism).

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.027s Queries: 13 (0.008s) Memory: 2.5007 MB (Peak: 3.0446 MB) Data Comp: Off Server Time: 2024-05-19 00:59:36 UTC
Valid HTML 5 and Valid CSS