Link with examples of using dbms_stats package

Please,
Should Someone let me know when I could find a link or some example on using the new DBMS_STATS package to gather data statisitcs?
Thanks

All, made in Oracle:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/general.htm#sthref1861
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#PFGRF30102
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7887
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7903
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#ARPLS059

Similar Messages

  • Confusion using dbms_stat package

    Hi,
    I am using oracle 10G. I am quite confusied between analyze comman and dbms_stat package. In 9i we can use the analyze command to generate the execution plan if the optimizer select the CHOOSE base. But in oracle 10G this is obsolete, instead of that we can use the three parameter values viz, ALL_ROWS, FIRST_ROWS and FIRTS_N_ROWS. In oracle documentation it is written that whenever we user the value ALL_ROWS then the oracle server automatically selects the COST based optimizer.
    So My question is that what is the use of using dbms_stat package if the plan is automatically generated by setting the value ALL_ROWS in the parameter OPTIMIZER_MODE.
    Please reply ASAP.
    Thanks
    SS

    > I am quite confusied
    It would seem so. This is the wrong forum for your subject matter. What makes you think that DBMS_STATS have anything to do with object orientated programming, object relational design and advance (user) defined data types in Oracle?
    > Please reply ASAP.
    We are volunteers doing answers for free here.
    Urgent asap answers are supplied by Oracle Support when you file a Service Request with them. So try http://metalink.oracle.com for your asap answer.

  • Need to generate the excel file with diffrent sheets using utl_file package

    Hi,
    Sorry for previous message in which I had missed the usage of " UTL_FILE " package
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
    " UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    Hello 10866107,
    at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
    Regards
    Marcus

  • Documentation on ABAP Objects with examples & programs (using se24)

    Hi Guru's,
    I'm new to abap objects. i need to learn this. where can i get material for this with ex. programs (using se24) also.

    Hi,
    Check this link-
    http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    SE24-
    http://help.sap.com/saphelp_nw04/Helpdata/EN/ca/c035baa6c611d1b4790000e8a52bed/frameset.htm

  • Linking with gnu libstdc++ using no%Cstd option

    Has anybody had success using (compiling and linking with) the GNU libstdc++ C++ standard library? This would be excluding the use of the Sun supplied Cstd library by using the compile option -library="no%Cstd".
    If so please provide any key details.
    I'm just trying a very simple test program:
    #include <string>
    int main(int argc, char** argv) {
    string s = "Hello";
    The command line to compile is: CC -library="no%Cstd" -lstdc++ test.cc
    Many many compile errors follow. Curiously enough it doesn't seem to find the standard includes at /usr/include, even if I explicity specify in the compiler options.
    Thanks.

    This isnt going to happen. You would have to use -I to point CC at the gcc std header files. They are not going to compile with CC. Furthermore, CC and g++ use different mangling algorithms, so even if you got it to compile, the mangled names that CC emitted would not match the symtab entries in the gcc standard library shared object. And if you managed even more magic to get past this, you would discover that nothing ran, because CC and g++ use different ABI's, i.e. the mechanism by which g++ would propogate an exception would be incomprehensible to code generated by CC, etc. This is actually the underlying reason why the mangling algorithms differ - to explicitly prevent mixing compilers and libraries. Its a sad fact about C++, but you've got to use the same compiler all around, unless you limit yourself to a strict subset at the .so boundry, which is how COM gets around this.

  • Shipping Options Packaging Type ? Can I customize my options for package sizes?  Tied with UPS but use own package sizing.

    My shipping department uses their own packaging for our products.  Currently I cannot find an option in the shipping options to tie in my package sizes to the shipping packaging options.

    My shipping department uses their own packaging for our products.  Currently I cannot find an option in the shipping options to tie in my package sizes to the shipping packaging options.

  • Error when running DBMS_STATS package

    Hi all.
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Solaris: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    I am trying to gather schema stats using dbms_stats package and I see the following:
    SQL> BEGIN DBMS_STATS.gather_schema_stats('SYSADM');
    2 END;
    3 /
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file G534513-1004.txt in EXT_WINDIR not found
    ORA-06512: at "SYS.DBMS_STATS", line 9375
    ORA-06512: at "SYS.DBMS_STATS", line 9857
    ORA-06512: at "SYS.DBMS_STATS", line 10041
    ORA-06512: at "SYS.DBMS_STATS", line 10095
    ORA-06512: at "SYS.DBMS_STATS", line 10072
    ORA-06512: at line 1
    The directory exists but the file is long gone. How can I get around this error?
    Thanks

    See if this helps,
    ERROR WITH EXTERNAL TABLE
    HTH
    Aman....

  • "Use Toolkit Package" and "Gather" - When do you have to run them?

    Greetings,
      I have inherited a huge task sequence (MDT 2012 integrated with SCCM 2012) that calls "Use Toolkit Package" and "Gather" many many times even though there are only a few reboots.
      Is it true that the "Use Toolkit package" step (followed immediately by Gather) only need to be run right at the beginning of the TS and only after every reboot?
      Is it also true that the "Gather" step on it's own only needs to be run when you have run another step which may alter/create a variable which is used in the rules? (i.e. customsettings.ini).
    Thanks
    David Z

    Thanks.
    My question was when exactly do you need to run the steps. I suspect that many people have task sequences with loads of "use toolkit package" and "gather" in places when they are NOT needed.
    First let's look at the step "Use Toolkit Package". There is no reference to that task sequence step in the MDT documentation. Im aware that this simply copies the "deployment share" so all the scripts etc that are necessary for future task sequence steps
    are available (In MDT only environments this was not necessary as the UNC path to the deployment share was always available - so this is an SCCM only step). Your reference states that it copies it to the local hard drive. This is not entirely true. I understand
    that when Winpe is loaded, it is loaded into a ramdrive and therefore my "Use Toolkit package" step which is the first in the task sequence is loaded somewhere into the "RAM" drive (probably under "X" drive somewhere?).
    So my assumption is that "Use toolkit package" must be run as the first task sequence step, then any time immediately after the winpe system is restarted. If, during winpe and before the OS is loaded onto the hard drive, you format the hard drive (which
    is often the case), you do not need to run "Use Toolkit.." as it still exists in the RAM drive. When you apply the OS and restart, and then run "Use toolkit.." again, it must magically work out that it is to then load to the hard drive and not the RAM drive.
    However, once the "deployment share" has been loaded to hard drive, Im assuming that you never need to run the "Use toolkit.." again even if the system restarts as once it is loaded to the hard drive, it remains there (assuming you dont format disks again
    which is unlikely after the OS has loaded).
    The answer to "when must you run Gather" is alot trickier. The first assumption is that Gather has to be run immediately after "Use toolkit..." as the system has initialised or restarted and none of the variables created by "gather" exist.
    Im guessing that "gather" may need to be run when you suspect that something in the rules file has changed. For example, you may have run a task sequence step that sets variable "A" for the first time. Your rules file may generate another variable, "B",
    based on variable "A" so "gather" must be run to evaluate "B".
    However, once the OS has loaded and "gather" has been run, the variables.dat file is created and remains permanently on disk so that if the machine is restarted again, you dont have to run "gather" as all the variables persist in variables.dat.
    All of the above is an educated guess as I have searched the web extensively and have not found a definitive explanation. I would be grateful if anything above could be confirmed/denied so this could remain as a definitive guide  that may not help just
    me, but others :-).
    Thanks
    David Z

  • Mail using utl_smtp package

    can we send attachment with mail by using utl_smtp package.
    i am using form6i with database 9i in 2 tier environment

    Hi,
    read the following:
    Can 9i email utl_smtp send attachments? ,
    Re: sending attchements with utl_smtp
    As an alternative there is also the UTL_MAIL built-in package as well...
    Regards,
    Simon

  • Configuration of a Point to MultiPoint link with Cisco Aironet 1310 bridges

    Hi All,
    The previous problem of which I started another conversation here:
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Wireless%20-%20Mobility&topic=General&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddba023
    somehow dissapeared. It could have been a problem of interferences.
    I have another issue with other (multipoint) wireless WAN link, which I hope has a solution.
    On the central node, we have an Cisco Aironet 1310 bridge configured as root-bridge. It has a panel of four vertical polarity 17 dBi panel 90? antennas, with more than enough gain (there is a 250 mWatts 802.11 b/g amplifier, before the 4-way splitter) and excellent line of sight to three remote bridges.
    The three (03) remote bridges are also Aironet 1310 models, confidured as non-root-bridges.
    The problem we have is that it seems that when the three remote links operate concurrently the amount of lost packets is huge. When I shutdown the radio interfaces of two bridges, the remaining bridge makes an excellent link with the central node.
    It seems that some hours are more critical than others, also the links operate much worse when there is some (small) network traffic in them.
    I have read the 1310 manuals, and I can't find a sample configuration for point to multi-point links.
    Does someone knows what radio interface configuration should I need to use to establish better quality communication?
    I mean, perhaps the 1 x root - 3 x no root configuration is not recommendable for the multipoint link configuration.
    Any hints will be welcome.
    Best Regards,
    Igor Sotelo.

    Hi All,
    Thank you for the information. I configured the distance on the root bridges, but the links showed instability.
    I'm using a bi-directional amplifier. It has two pieces. According to the manuals, one is installed indoors, the other outdoors. I'm not sure if the indoors piece has the transmition module or it's only the injector.
    We could establish connection at 7 km (around 4 milles) distance from the central point, using 24 dBi antennas on the other side.
    However, we have issues with a near located point that is only 1.2 Km (around 0.8 milles) away and has a 13 dBi integrated patch antenna. The signal strenght value we get there is in the -62 to -68 dBm range, and is noticiably (5-10 dBm) lower than the strenght we get at other points of the link. And I have trouble establishing a high quality link with that point, using OFDM modulation. I tend to think that if I remove the amplifier I'm not going to reach that point at all. The EIRP on the central iste is 34 dBm / 2.5 watts, without amplifier it would be 26 dBm / 0.4 watts.
    On the opposite sites the EIRP is 33 dBm / 2 watts using CCK or 28 dBm / 0.63 watts using OFDM.
    When one looks at the central site from that point, an Motorola Canopy with passive reflector (EIRP 48 dBm or around 64 watts) can be seen. It doesn't have the same direction, but the opposite site must be large distance and could interfere with my wireless network. Attached is an amplified photo of the view. It's safe to assume that the Canopy operates in the 2.4 GHz frequency range.
    Once I connect the point at 1.2 Km, the multipoint link loses its quality, and soon the lost packets get too frequent.
    The CCK seems to be much more interfered than OFDM, I guess because of that canopies.
    Another thing I'm wondering about is if the Aironet 1310 can continuosly switch CCK-OFDM over the same point - multipoint link, without losing packets.
    What other parameters should I tweak? Is there a way to avoid interferences fromt the canopy?
    I would like to apply 100 mWatts local power using the radio with OFDM, but it seems that's not possible.
    Best Regards,
    Igor Sotelo.

  • Problem with making remote toppics when linking with external chm

    Hi to everybody,
    i m novice to robohelp html when i am creating chm files from
    my exsisting project that is a robohelp word project which take
    input doc file in Robohelp word and create .hpj poject and then i
    open this .hpj project into robo help Html to create chm file .
    when i m opening this project into robohelp html it is making .xpj
    project from the hpj project .
    but at this time poject has some links with external chm but
    when i m making hyper link with external chm using Remote toppic
    option this option i couldn't unable to found any where in robohelp
    html plz anyone can know help me out from this
    probelm....................plz...................i need help
    ,,,,,,,,,,,,,,,,,,,if anyone know how to remote toppic occur in
    such situation plz let me know,......
    Thx
    Rgard's

    Hi Ruziyo and welcome to the RH forums.
    If you are opening up your project via the XPJ file in
    RoboHelp HTML the remote topic should be able to be found by:
    - Highlighting what is to be hyperlinked.
    - Clicking the Insert > Hyperlink menu item (or use the
    toolbar icon or Cntl + K).
    - Click on the arrow to the right of the "Link To" field.
    - Select the Remote Topic option.
    - Select the CHM file that contains the topic to which the
    hyperlink is linked to.
    - Select the required topic.
    You will be asked to copy the CHM into your project
    directory. Hope this answers your question. If not, please do come
    back.

  • Establish encrypted wireless link with Domain computer

    I am begging to migrate all of my wireless links to WPA, currently they are unencrypted. I have a few computers that recieve there connectivity via wireless link. I need to have these computers establish an ecyrpted wireless link so domain users can log on to them with cached credentials. I have 1100 series Ap that establish wireless link with an ACS using WPA and MS-CHAPv2.
    I was told i have to set up 802.1x the allow computer to establish link but have not been able to figure this out.
    Mike

    Mike
    With EAP-PEAP the wireless supplicant uses your windows username / password and the laptop/desktop machine account that exists in the window active directory database to authenticate
    With EAP-TLS the wireless supplicant uses the
    digital certificate installed on the laptop/desktop to authenticate
    Both methods use WPA or WPA2 to encrypt data
    take a look at this link
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/configuration/guide/peap_tls.html
    Mark

  • Dynamic attachment name with receiver mail adapter and use mail package

    We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload).
    I could probably do this using the adapter module (as per the following link),
    http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Set%20Attachment%20Name?bc=true
    I would like to explore if this would be feasible using Mail package and XI payload.I already have a Java mapping that is converting the input XML to required Output format. If I am using Mail package (XI Payload), how do I go about sending this Output XML from java mapping as attachment to email id available in the input payload?

    Hi,
    1) XML payload as attachment (with dynamic name)
    2) recipient (recipient email id is part of input xml payload, but not part of the mapped XML payload)
    These two is possible by using Mail Package. You have a standard xsd for mail package which you can download from the SAP Note 748024.
    The xml created in you java mapping which will be your attachment should be put into the <content> tag of the mail package xml structure. and the file name can be set in the <Content_Type> tag.
    <?xml version="1.0"; encoding="UTF-8"?>
    <p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
    <Subject>My Invoice</Subject>
    <From>from email address<;/From>
    <To>to email address</To>
    <Content_Type>text/plain;name="MyFile.csv";</Content_Type>  --> file name here
    <Content>123;A49;aaa</Content>   -> attachment xml here
    </p2:Mail>
    And you have to select MailPackage in the receiver mail adapter.
    Regards,
    Aravind

  • How to use the packager with Flash?

    Hi all,
    I've installed the packager, but I can't see any difference inside Flash CS5 editor or any new menus like "Export" or "Package"
    Does it work from within the editor or does it only compile AS3 files?
    Can I turn a Flash project which has an .fla file with some timeline animation, manually created MovieClips etc into a iOS app using the packager?
    Is there any tutorial how to do it?
    Thanks!

    I'm compiling a public list of useful links for exactly these sorts of situations: http://forums.adobe.com/thread/785692
    Have you installed the latest updates to Flash CS5? They are the first 2 links under "Downloads and Official Documentation" in the link above. Then you should be able to start a new project in Flash and specify "iPhone OS". From there, try to follow Adobe's official documentation until it doesn't work properly, then come back, search around for others talking about the same issues, or start a new thread that is more specific.
    Hope that helps a bit.

  • Linking with package when creating jvm

    Hi,
    I use jni to access java method wich parse xml documents with jdom. Everything works fine when I use only java. But with jni, when I create the jvm, and try accessing my java methods, there's some errors. Typically, the jvm created cannot recognize my imports ("import org.jdom.*").
    Does anyone know how to link with different package when I create the jvm in c side.
    Thanks for help,
    javaFriendly

    Onlu the compiler takes any notice of import statements. Are you taking about the compiler or the jvm.(Used to run the program)
    In either case it sounds like you classpath is not being set correctly if you cannot find other packages.

Maybe you are looking for