Which procedures are registered on an alert?

Hi,
I'm working on a big and (for me) new system which uses (a lot of) alerts.
Is there a way to find out, which procedures are registered or listening on alert XYZ?
Thanks
Mephi

select * from dba_source
where lower(text) like '%dbms_alert.register%';
OWNER                          NAME                           TYPE               LINE TEXT                                             
SYS                            DBMS_ALERT                     PACKAGE              39   --      dbms_alert.register('emp_table_alert');
1 row selected.if your "alert"-message is not dinamic, then
select distinct owner, name, type
from dba_source
where lower(text) like '%dbms_alert.register%'
intersect
select distinct owner, name, type
from dba_source
where lower(text) like lower('%alertXYZ%')

Similar Messages

  • Which procedures are invoked?

    Hi,
    I am using an application which uses huge amount of procedures in the background. I need to know which procedures are getting executed when I do something in the application.
    Does anybody know how to get the list of the procedures executed in the given time?
    OR
    It will be ok if I get the list of the tables which are updated / inserted in the given time.
    Thanks.
    Nilesh

    you can try to query on v$sqlarea
    select first_load_time, sql_text
      from v$sqlarea
    where first_load_time like '2006-01-27%'note that the column first_load_time is not a date datatype

  • Can event listeners be listened to by components which they are registed on

    Is it possible to have an event listener being listened to by the component on which it has registered interest to listen for changes. I am linking a database to a GUI and i have indicated that the GUI listens for changes to the database, but can the database also listen for changes to the GUI without having to make the database register interest in listening to changes to the GUI.

    The changes you wish to dected within the GUI must be listened to. Not neccesarily by the database. Changes to the database can be made by the listener that is registered on the GUI. What GUI changes are you trying to respond to?

  • How can I see which devices are registered for automatic download (synching) from iCloud?

    Hello!
    I have a numerous of apple devices and would like to know how I see if they are ALL regisitered to my icloud.

    Devices are associated with an Apple ID whenever you do one of three things: turn on iTunes Match; turn on Automatic Downloads (in Settings>iTunes & App Stores on an iOS device, and in iTunes Preferences>Store on a computer; or download previously purchased content from the iTunes or App stores.  If you do any of these on your other devices, they will become associated with the Apple ID they are sign into at the time. 
    Keep in mind that once associated with an ID, they cannot be associated with a different ID for 90 days.  You can associate up to 10 devices with an ID, 5 of which can be computers.

  • I received an alert stating that my iCloud and I message accounts are registered on a previously deactivated computer, which is now registered to another person.  Can I deactivate it remotely?

    I received an alert stating that my iCloud and I message accounts are registered on a previously deactivated computer, which is now registered to another person.  Can I deactivate it remotely? The computer is no longer in my possession.

    Hi,
    If you have the means to prove the computer was yours and that you sold or gave it away then you could try starting here
    http://www.apple.com/uk/support/itunes/contact/
    You can access this page for a Local to you version from iTunes when it is logged into the Store and going to the bottom of the page and clicking Support.
    In the page that appears in your Browser go to the bottom of the menu and click Contact Support.
    In the page linked above (or your local version) click the iTunes Store Contact point on the right hand pane.
    After than follow the options for Managing your Account until you are offered an email link.
    Email them the info.
    9:50 pm      Tuesday; July 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • HT204291 Does mirroring automatically mirror content to other devices which are registered under the same name ? If so does this occur across different distances? Does Apple Tv store mirrored content?

    Does apple tv automatically mirror content from one device to all other iPad or  mackbook devises which are registered under the same name? If so does a device have to be in the same area ?

    Welcome to the Apple Community.
    Mirroring only works FROM a mobile device TO an Apple TV.

  • HT2731 can i have more than one apple id on a computer? As when we go away we want to facetime from our macpro to our main mac at home and both are registered under the same apple ID. Thanks

    Can you have more than one apple id on a computer. We are going away and want to facetime from our macpro to the mac computer at home but both are registered under the same apple ID. What should we do ?

    I will share with you what I have done to manage this with my family.  While the solution isn't without flawes, it seems to do the trick.  First, you need to have one person who is managing the synching of everyone's devices.  In my family, I have three iphones, about to be four, and five ipads.  We all synch to the same apple ID to allow one another to take seemless advantage of our Itunes, which is on our Imac.  To synch individual music or video interests, we simply select which playlists we want and manually synch that way.  A couple of us use imatch and the cloud to make the entire library accessable as well.  With respect to the imessage, mail, contacts, etc. we each have a gmail account for our individual emails, contacts etc.  So for instance, my forth grade daughter has a gmail account that we choose to synch her contacts, calendar, etc to and then that is also the account where she receives her imessages from on her ipad and itouch. My son, who has an iphone and ipad, does the same thing, but under settings, he goes to imessage and checks his phone number and his email as his preferred way to receive imessages and texts.  My wife and I do the same thing.  To avoid having everyone see one anothers contracts etc, we only synch contacts from our individual email accounts.  Here is the downfall to this:  When you update your phone or add a new device, apple always wants to reset everyone's facetime and imessage settings and then low and behold we are all receiving imessages from one another's friends etc.  To work around this, I simply take each of their devices and go to their imessage settings and only check the email and phone numbers relative to their devices.  I dont' know is this is the best solution, but it seems to work for us. 

  • How do i merge my accounts.  My music is not appearing in my main email account.  Both computers are registered.

    How do i merge my accounts.  My music is not appearing in my main email account on one pc.  Both computers are registered.
    Both are using Windows 7.

    Hello Stormjib,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning iTunes Library issues. Your iTunes media folder may have been move or modified, which would explain why you can only see media in the cloud:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How can I find out which tables are having DDL locks?

    I can see related information by querying DBA_DDL_LOCKS view, but it doesn't give me the information which tables are having DDL locks.
    Is there a way I can find out which tables are having DDL locks?
    Thanks!

    Here's a long script written back in 2001. Still works:
    BREAK on sid on serial# on username
    COL sid        for 9999
    COL serial#    for 99999
    COL username   for a20
    COL type       for a20    trunc
    COL lmode      for a5     trunc
    COL lrequest   for a4     trunc
    COL detail     for a75    trunc
    SELECT   s.sid
           , s.serial#
           , s.username
           , DECODE(
                  l.TYPE
                -- Long locks
                , 'TM', 'dml/data enq (TM)'
                , 'TX', 'transac enq (TX) '
                , 'UL', 'pls usr lock (UL)'
                -- Short locks
                , 'BL', 'buf hash tbl (BL)'
                , 'CF', 'control file (CF)'
                , 'CI', 'cross inst f (CI)'
                , 'CU', 'cursor bind (CU) '
                , 'DF', 'data file (CF)   '
                , 'DL', 'direct load (DL) '
                , 'DM', 'mount/strtup (DM)'
                , 'DR', 'reco lock (DR)   '
                , 'DX', 'distrib tran (DX)'
                , 'FI', 'sga opn file (FI)'
                , 'FS', 'file set (FS)    '
                , 'IN', 'instance num (IN)'
                , 'IR', 'instce recvr (IR)'
                , 'IS', 'get state (IS)   '
                , 'IV', 'libcache inv (IV)'
                , 'JQ', 'job queue (JQ)   '
                , 'KK', 'log sw kick (KK) '
                , 'LS', 'log switch (LS)  '
                , 'MM', 'mount def (MM)   '
                , 'MR', 'media recvry (MR)'
                , 'PF', 'pwfile enq (PF)  '
                , 'PR', 'process strt (PR)'
                , 'RW', 'row wait (RW)    '
                , 'RT', 'redo thread (RT) '
                , 'SC', 'scn enq (SC)     '
                , 'SM', 'smon lock (SM)   '
                , 'SN', 'seqno instce (SN)'
                , 'SQ', 'seqno enq (SQ)   '
                , 'ST', 'space transc (ST)'
                , 'SV', 'seqno value (SV) '
                , 'TA', 'generic enq (TA) '
                , 'TD', 'dll enq (TD)     '
                , 'TE', 'extend seg (TE)  '
                , 'TS', 'temp segment (TS)'
                , 'TT', 'temp table (TT)  '
                , 'UN', 'user name (UN)   '
                , 'WL', 'write redo (WL)  '
                , 'TYPE = ' || l.TYPE) AS type
           , DECODE(l.lmode, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.lmode)) A
    S lmode
           , DECODE(l.request, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.request
    )) AS lrequest
           , DECODE(
                  l.TYPE
                , 'JQ', 'Job #' || j.job || ' (' || j.what || ') owned by: ' || j.username
                , 'MR', DECODE(s.user_type, 'BG', 'DICTIONARY OBJECT', LOWER(obj.owner) || '.' || LOWER(obj.name))
    || ' (' || LOWER(obj.TYPE) || ')'
                , 'RT', 'thread #' || LOWER(l.id1)
                , 'RW', 'file#' || LOWER(SUBSTR(l.id1, 1, 3)) || ', block#' || LOWER(SUBSTR(l.id1, 4, 5)) || ', ro
    w#' || LOWER(l.id2)
                , 'TD', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TM', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TS', DECODE(l.id2, 0, 'enqueue', 'new block allocation')
                , 'TX', DECODE(
                             lo.object_name
                           , NULL, 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1)
                           , 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1) || ', object: ' || LOWE
    R(lo.object_name))
                , 'UL', 'lock name: ' || la.name || ', expiration date: ' || TO_CHAR(la.expiration, 'DD-MON-RR HH2
    4:MI:SS')
                , 'WL', 'redo log file#' || LOWER(l.id1)
                , 'id1 = ' || l.id1 || ', id2 = ' || l.id2) AS detail
        FROM sys.v_$lock l
           , (SELECT a.sid
                   , a.serial#
                   , NVL(a.username, 'SYS (' || LOWER(b.name) || ')') AS username
                   , DECODE(a.username, NULL, 'BG', 'USER') AS user_type
                FROM sys.v_$session a
                   , sys.v_$bgprocess b
               WHERE a.paddr = b.paddr(+)) s
           , (SELECT o.obj#
                   , u.name AS owner
                   , o.name
                   , DECODE(
                          o.type#
                        , 0, 'NEXT OBJECT'
                        , 1, 'INDEX'
                        , 2, 'TABLE'
                        , 3, 'CLUSTER'
                        , 4, 'VIEW'
                        , 5, 'SYNONYM'
                        , 6, 'SEQUENCE'
                        , 7, 'PROCEDURE'
                        , 8, 'FUNCTION'
                        , 9, 'PACKAGE'
                        , 11, 'PACKAGE BODY'
                        , 12, 'TRIGGER'
                        , 13, 'TYPE'
                        , 14, 'TYPE BODY'
                        , 19, 'TABLE PARTITION'
                        , 20, 'INDEX PARTITION'
                        , 22, 'LIBRARY'
                        , 23, 'DIRECTORY'
                        , 24, 'QUEUE'
                        , 28, 'JAVA SOURCE'
                        , 29, 'JAVA CLASS'
                        , 30, 'JAVA RESOURCE'
                        , 32, 'INDEXTYPE'
                        , 33, 'OPERATOR'
                        , 34, 'TABLE SUBPARTITION'
                        , 35, 'INDEX SUBPARTITION'
                        , 39, 'LOB PARTITION'
                        , 40, 'LOB SUBPARTITION'
                        , 43, 'DIMENSION'
                        , 44, 'CONTEXT'
                        , 47, 'RESOURCE PLAN'
                        , 48, 'CONSUMER GROUP'
                        , 51, 'SUBSCRIPTION'
                        , 52, 'LOCATION'
                        , 'UNDEFINED') AS type
                FROM sys.obj$ o
                   , sys.user$ u
               WHERE o.owner# = u.user#) obj
           , (SELECT vlo.xidusn
                   , vlo.xidslot
                   , vlo.xidsqn
                   , vlo.process
                   , o.owner || '.' || o.object_name AS object_name
                FROM sys.v_$locked_object vlo
                   , sys.dba_objects o
               WHERE vlo.object_id = o.object_id) lo
           , (SELECT job
                   , schema_user AS username
                   , what
                FROM dba_jobs) j
           , sys.dbms_lock_allocated la
       WHERE l.sid = s.sid
         AND l.id1 = obj.obj#(+)
         AND l.id2 = j.job(+)
         AND TRUNC(l.id1 / 65536) = lo.xidusn(+)
         AND LOWER(l.id1) = lo.xidslot(+)
         AND l.id2 = lo.xidsqn(+)
         AND l.id1 = la.lockid(+)
         AND l.TYPE != 'MR'
    UNION ALL
                      /*** LATCH HOLDERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'X'
           , 'none'
           , h.name || ' addr=' || LOWER(RAWTOHEX(laddr)) AS object
        FROM sys.v_$process p
           , sys.v_$session s
           , sys.v_$latchholder h
       WHERE h.pid = p.pid
         AND p.addr = s.paddr
    UNION ALL
                      /*** LATCH WAITERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'none'
           , 'X'
           , name || ' latch=' || p.latchwait AS object
        FROM sys.v_$session s
           , sys.v_$process p
           , sys.v_$latch l
       WHERE latchwait IS NOT NULL
         AND p.addr = s.paddr
         AND p.latchwait = l.addr
    ORDER BY sid
           , serial#
           , username
           , 4
           , 5
           , 6
           , 7;

  • Which user and which procedure takes snapshots for AWR in 10g??

    Hi, all.
    Which user and which procedure takes snapshots for AWR in 10g??
    The snapshot interval is 1 hour.
    I checked dba_scheduler_job, and dba_job.
    However, I was not able to find a job which takes a snapshot.
    On EM, I can see snapshots are being taken per one hour.
    Thanks and Regards.
    Message was edited by:
    user507290

    Dear Shmyg and VAS.
    Thanks for your reply.
    MMON takes a snapshot and stores snapshot information in DBA_HIST_** tables.
    Right??
    Does MMON have something to do with dbconsole and emagent??
    Even when I stopped dbconsole and emagent, snapshots are being taken.
    If so, what does do dbconsole and emagent??
    Thanks and Regards.
    Message was edited by:
    user507290

  • How do i find out what computers are registered. I do not believe I have 5 computers registered

    how do i find out what computers are registered. I do not believe I have 5 computers registered

    If you mean which computers that your account is authorised on then you can't, you can only see the count.
    Have you had other computers in the past and/or updated or reinstalled the OS on your current computers without deauthorising them ?
    As you have 5 computers authorised then you can log into your account on a computer's iTunes via the Store > View Account menu option and 'deauthorise all' (which you can do once every 12 months) and you can then authorise/reauthorise the computers that you still have and need : authorising and deauthorising.

  • Which tables are used...

    Hello
    I have a script, which makes a lot of things on the database. Is there a tool or a script, that I can see which tables are used by the script?
    Thanks for the help.
    roger

    Street wrote:
    Thanks for the answers. We know, what the scripts do. But we need a list from all tables, that we can export this tables, its for a migration!Yes, but we don't ... and the response depends on what kind of script it is, and what it does.
    For example, if the "script" is a sequence of pure DML commands which would be run from sqlplus then I would let the PL/SQL compiler do the work by creating a procedure containing the script text, compile it, query user_dependencies and then drop the procedue.
    If it contains DDL then that might work as well (not near a computer with Oracle on it so I can't check whether a procedure containing a create table statement would show that as a dependency or not ... )
    The script could already be a procedure / package, in whcih case just query user dependencies, or it could be a shell script which invokes all manner of strange things, in which case you're probably on your own.
    Maybe I'm being naive, but couldn't you just run the thing in an empty schema (or even a fresh instance - a local XE for example), and then look at what's appeared?
    Dave
    Edited by: Dave Rabone on 10/01/2012 03:16
    finger trouble ...

  • Which background process writes date into alert log file in oralce

    which background process writes date into alert log file in oralce

    Hi,
    AFAIK, all the background process are eligible for writing information to alert log file. As the file name indicates to show the alerts, so background process have the access rights in terms of packages (dbms), to write to alert log.
    I might be wrong also..
    - Pavan Kumar N

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • How can you determine at runtime which libraries are attached?

    Hi
    I am wondering if there is a way to determine which libraries are currently attached to a form at runtime. My application is in forms 10g.
    I am hoping to get the full path so that it is possible to show this in an information type display. I am ideally looking for a solution that works on both Unix and Windows so that it can be used in development and production
    thanks in advance
    Wayne

    I am curious, why you want to know which library is attached and the full path??? You cannot change it at runtime!!
    I don't think that's possible at runtime by using Generic Forms built-ins, But as always with Oracle, you can have several solutions.
    One solution is to initialize global variables/parameters in PRE-FORM and later you can read them and see the values and do whatever you want accordingly.
    When using Global variables, you can test for their DEFAULT_VALUE to check whether the variable exists or not, this will prevent getting an error if the variable hasn't been initialized yet.
    Tony

Maybe you are looking for

  • Why am I just getting 0.5Mbit/s download speed?

    We have had BT phone and broadband (BT Total Broadband) services for a few years in our household. On broadband, I used to get about 2-4Mbit/s download speed. 1 year ago, this suddenly dropped to about 0.5Mbit/s. For the last year I've been using my

  • New 24 inch imac.. Do I need to defrag the HDD? Also do I need a virus prog

    Yeah I am another Microsoft covert...(That is a good thing) I was wondering if I need a virus program and if I have to defrag the HDD. Also when there is the little black triangle in the dock that means the program is running in the background right?

  • Msi g4ti4200 128mb +kt7266 pro2

    Can anyone point in the right direction for settings in the mobo bios to get my ti4200 running at max but stable performance,ive looked everywhere for settings but to no avail. xp1800 msi kt7 266 pro2 -via 4.42 msi g4 ti4200-td 128mb 40.41 drivers 25

  • Calling PL/SQL from Server Side Rule

    Hi there, I'm wanting to call a PL/SQL procedure from a server side rule created within collaboration suite using the oesrl command line utility. I have seen examples of the XML rule which should do this together with the appropriate PL/SQL <account

  • Import editable text from IL to PS

    I'm sure there's a way to do this, I've just forgotten it. Can someone tell me how to get text created in IL into PS so it remains editable? This is CS5 for both apps.