About DBMS_SYSTEM package

HI, every one.
Environment Oracle9.2
I just want to use DBMS_SYSTEM.set_ev,
when I called
dbms_system.set_ev(9, 437, 10046, 8, 'scott')
successful,
but no .trc file genterated.
Why?

I came across one of the author saying that oradebug and set_env generally should not be usedWell, of course ORADEBUG is also undocumented, which is a synonym for "not to be used".
I think SET_EV is more useful than SET_SQL_TRACE_IN_SESSION because you can get the waits. Obviously it's more dangerous as it also allows you to set the wrong event.
Once again thanks for correction Actually I wouldn't have picked you up on it if I hadn't have seen the possibility of a joke in oradebut.
Cheers, APC

Similar Messages

  • Enableing trace through dbms_system package.

    Hi All,
    DB 8.1.7.0.0
    OS : HPUX.
    I am trying to enable trace through dbms_system package for a perticular session. I am still to figure it out, how can I find this perticular trace file. After enabling a trace, I did cd'd to updump directory and found, there w're no file generated.Anyone have any idea, how to go about this.
    ptmsap> ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc
    14:07:38 SQL>  EXECUTE dbms_system.set_sql_trace_in_session (41, 61052, TRUE);
    PL/SQL procedure successfully completed.
    14:07:46 SQL> !ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc
    14:09:10 SQL> EXECUTE dbms_system.set_sql_trace_in_session (19, 12693, FALSE);
    PL/SQL procedure successfully completed.
    14:09:13 SQL> !ls -ltr| tail
    14:09:38 SQL> !ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc

    SQL> select sid, serial# from sys.v_$session where ...
    SID SERIAL#
    1 12
    Enable tracing for your selected process:
    SQL> ALTER SYSTEM SET timed_statistics = true;
    SQL> execute dbms_system.set_sql_trace_in_session(1, 12, true);
    Ask user to run just the necessary to demonstrate his problem.
    Disable tracing for your selected process:
    SQL> execute dbms_system.set_sql_trace_in_session(1,12, false);
    Look for trace file in USER_DUMP_DEST:
    If you don't know your USER_DUMP_DEST.
    look for system parameter
    SQL> show parameter user_dump_dest
    KR.

  • A question about creating packages as local objects in ABAP

    Hi,
    I have a question about creating packages with SE80. Whenever I create a new package it is assigned a new transport request. After that, I can create new programs inside this package, and each time I can choose whether to assign the new program to a transport request or just save it as a local object (I often do this for test programs that I don't transport and I remove them once my tests have been done).
    What I would like to ask is that, is it possible to create a package (and not just programs inside a given package) as a local object? so that every new object created in this package will be considered as a local object?
    Thanks in advane,
    Kind Regards,
    Dariyoosh

    Thomas Zloch wrote:
    Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
    > Thomas
    >
    > P.S. this applies to the package name only, of course
    Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
    Once again, thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Can't open pdf. files something about patch package

    Can't open PDF files something about patch package verification.error.

    I am having the same issue.  Unable to open ANYTHING related to adobe (PDF, downloads), as well as unable to delete and reinstall or even change or correct. 

  • About the package fl.*

    Hello guys !
    Is it possible to have information about the package fl.* (like import fl.transitions.Tween)
    Because i'm trying to use it with intelli J and i have compilation problem.
    And by the way there is no trace of fl.* in the ActionScript Class Diagram
    Thx

    Ok thx
    But i would like to use the package fl.* without using flash
    In a pure actionScript 3.0 project, and when i try to import this package manually Intelli J (in my case) do not find this package.
    So we can only use fl.* in flash or is there an other way to use it ?

  • Specification about the package oracle.cle.process or oracle.clex

    Where can i find specification about the package oracle.cle.process or oracle.clex?, particularly the class oracle.cle.process.ProcessInfo. I have not could find this specification anywhere, please help me to find it!
    i wait for your help

    This class is part of the MVC Framework. The homepage of this framework on OTN is http://otn.oracle.com/products/ias/9ias_utilities.html#mvc. You can download the user guide and javadoc there. The source code is not publicly available.
    Steven Davelaar,
    JHeadstart Team.

  • Dear sir , i was wondering about the package summer sim . It forever or just fo

    Dear sir ,
    i was wondering about the package summer sim . It forever or just for limited time if is limited what going on after two months ?
    i'm glad to hearing from you .

    For 2 months you get 100GB data free each month having topped £10 to buy the initial pack. Thereafter it becomes an ordinary PAYG SIM where you just make calls /texts against your credit or buy packs. 
     

  • Information about updated packages

    Often when I update my system I want to know what changes have been made to a specific package. Does arch have this information somewhere? On other distros there are places you can look up what the new changes are to a package. It would be good to know if the updated package is just a new build from upstream, a change in the configuration, or a patch to fix some security flaw. For certain things like kernel updates or binutils I can get paranoid upgrading and would just like to read some change log.
    It seems like the most logical places for this in my mind would be a flag to pacman when doing -Suy or perhaps information about the update on the RSS feed for new packages.

    f4hy wrote:The -Qc option is great for the limited packages that have changelogs, but at that point it is a bit too late. It would be nice to know what will be changed BEFORE upgrading the package. A flag to pacman to give the equivalent of -Qc but for --sync would be nice, unfortunately -c is already used :-\
    You can query packages before they are installed, you just have to point it to a file with -Qcp.
    The file must be local, which means downloading it first.
    [fp@oscar ~]$ pacman -Qcp `sudo pacman -Sup|grep -e ^http`
    error: package "http://mirrors.gigenet.com/archlinux/core/os/i686/dhcpcd-4.0.10-1-i686.pkg.tar.gz" not found

  • Question about optimizing packages int Makepkg.conf

    I edited my Makepkg.conf file so that it knows that I have a Intel Core 2 Duo. Do I need to rebuild any packages? How do I go about it if I do?

    Ranguvar wrote:
    SkonesMickLoud wrote:
    slughappy1 wrote:Isn't prescott the right config for an Intel Centrino Core 2 Duo? That's what the guide says. Although, I once tried to install Gentoo. I think I remember that someone told me that prescott is just the current form, and that for the core 2 duo it was going to change. Or something like that
    Prescott is for the i686 version, Nocona is for x86_64.
    Note that this is, I'm pretty sure, independent of what architecture your OS is running (32-bit vs 64-bit).
    Yeah.  What I meant was that if you're running i686 on your Core2Duo it's a Prescott.  If you're running x86_64, it's a Nocona.

  • Question about some packages in arch

    Hello
    Where do I report/ask about packages in arch *like in AUR there is a comment section*
    The reason is because well the package (sdl) didn't had PulseAudio support so I was wondering where to report it and KTorrents didn't bring any plug-ins with the package (plus I can't compile it since there is a phonon error I don't get)
    sorry if this wasn't the section,
    Thanks

    alright, thanks fukawi2, wonder
    well, i'm compiling them alright, but not ABS *need to read the wiki*
    Last edited by akurashy (2009-08-16 15:30:33)

  • DBMS_SYSTEM Package

    Hi List,
    I used the DBMS_SYSTEM.SET_EV(...), for trace purposes, without any problem when I am connected as SYS. Then, I 'grant execute' on this package to another user. When I execute the same package with this user I receive an error PLS-00201 - the identifier 'DBMS_SYSTEM.SET_EV' must be declared.
    I grant 'execute any procedure' too and the error persists. Could somebody help me?
    Thanks
    Oswaldo Castro

    you need to create a public synonym for the package or
    call the package with the owner prefixed ( exec sys.dbms_system.set_ev(...) )

  • Some Question About Multiple Packages

    Dear javadoc users,
    I'm a newcomer here.
    I have some packages which contain many source files.
    I want to load them all and make the help file in a single list.
    A list like
    java.net
    java.io ......
    Would anyone be kind enough to tell me how I can implement this?
    I search all the faq about this. But I can't get enough hints.
    Thanks.

    Have you tried looking at these examples:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#options
    -Doug

  • [makepkg] Question about split packages handling in makepkg

    Hello
    One question came to my mind, while I was looking at the vlc PKGBUILD. Does splitting packages have to be done in such a non efficient way? I mean, why do we have to delete for example, a directory, once make install has been issued, only to copy the removed parts by hand in the next function? Wouldn't it be better to just specify something like per-package %files section (like in RPM .spec files)? Is this approach possible in Arch without ditching all the work up to now? If there was any discussion about that, I would love to take part in it. I am also looking forward to listening some critical comments.

    Allan wrote:How is providing a list of files to include more efficient that providing a list not to include?
    If it was only about providing a list of files to include/exclude, it would be ok. However, as far as I know, when Makefile has only one install target and we have to separate some files, we have to install all first, and then remove parts which don't fit into the main package just to copy them back in place in the next package-foo2() function. It's like doing the same work twice. Is that right? If so, it could be quite problematic to package bigger projects. I'm kind of speculating here, because I can't name any of the "big projects", but I'm quite sure there are some out there. I hope I made my point clearly now.

  • About Enhancement Packages

    Dear gurus,
    I am trying to learn about EHP ( Enhancement packages ), I did understand few things like, EHP are available in SAP market place. But after down loading EHPs. How exactly is the coding is done in the EHP is not at at all clear to me can any one please explain this.........
    Thanks & Regards,
    Rama.

    Hi,
    For Details Check this link-
    http://www.sap.com/solutions/business-suite/erp/enhancement_packages.epx
    http://download.sap.com/download.epd?context=AF47734897DE1CB5E0BE0AFA9A5608AAF867BD6437451DABD4596BF148080AF36D76338812A0D980012B441399C4E2C3E87CEF925C8EA197

  • Asking help for performance issues about concurrent package

    One of my friends is developing a service based on resin. They use thread pool of current package in jdk1.5. The service will create a lot of threads in the thread pool. And most of the threads are waiting. What they can not make sure is how the large amount of waiting threads will affect the performance. These threads surely will occupy a lot of memory. But how will they affect the cpu?
    Some documents on the Internet say that the large amount of waiting threads will largely increase the thread switching overhead. And some others say no because the scheduler will not be affected by waiting threads. I'm not sure which one is true. Would anyone like to give me some tips? It's better if you can point out any our documents about it.
    Thanks!

    No, it just depends on Data Structures 101.
    You would have a list of ready threads, from which you would allocate one to the processor on some priority and fairness scheme, and another list of non-ready threads which you would only promote to the ready list when something happened to them that made them ready.
    And among the ready threads you would most likely use a priority queue, so that operations on it were O(log(N)). And if the ready list also included the unready list for some strange reason, operations on it would still be O(log(N)), i.e. less than linear in the total number of threads.
    And if for some strange reason it was implemented in a less efficient way than that, I would complain vociferously to the vendor. Scheduling has been going on for fifty years after all.

Maybe you are looking for

  • Disabling genius and "ghost songs"

    Okay, so this strange series of problems begun last night when I tried to add a new CD to my iTunes library (on windows) and subsequently to my ipod 4th gen. I should also note that this is the first time I have transferred data to my iPod since acti

  • Altec 5100 with audigy zs problems

    i`ve enabled cmss in every conceivable way..updated my drivers to the latest but i still have no control of most of my speakers. your utility tells me to switch pos and neg of the speakers...how?.. its a plug. i cant turn the volume up on my front sp

  • All attachments now blue boxes with question marks

    Something happened over the weekend to Apple Mail on my laptop... ALL attachments now just show up as funky little blue boxes the question marks. Instead of showing me a JPEG, PNG, or PDF inline in the message, it's just a little blue box. If it's an

  • Flashing eMachines BIOS - MSI K8TM ILSR

    I picked up this eMachines T6000 from work the other day and it has an MSI-K8TM ILSR motherboard.  I got the newest BIOS here, but is there any danger in flashing it since in every diagnostic I've run it says the board is "eMachines" and says nothing

  • Coldfusion doesnt parse code when script is requested by flash

    I have coldfusion developer running on my localhost as a module in apache. I have an swf that calls a cfm file that pulls from the database and outputs xml. When I request the cfm file using a browser, coldfusion does its thing. But when I call the c