How to find size of the plsql packages

Oracle : 10.2.0.4
Os : Solaris
Issue : DB has around 2000 packages which are in development mode. In case If we want to find the size of all the packages what is the mechanism from the dictionary tables. ?
Is there way the size is being stored in the dictionary tables ?
Pl. let me know.

[email protected] wrote:
Issue : DB has around 2000 packages which are in development mode. In case If we want to find the size of all the packages what is the mechanism from the dictionary tables. ?
Is there way the size is being stored in the dictionary tables ?Source code is stored in the dictionary table sys.source$ - it is a very basic table with only 3 columns. OBJ# refers to the object in sys.objects$, LINE is the source code line number and SOURCE contains the line of source code.
So you can use the LENGTH() function and SUM() that and group by object to get each object's size. But this will be pretty meaningless as source code is not what is loaded and executed - compiled (aka p-code ) is loaded into memory and executed.
Obviously, more source code means a bigger sys.source$ table - but that is fairly easily addressed by ensuring that the SYSTEM tablespace is large enough.

Similar Messages

  • How to find Size of the fact table?

    hello all
    how do i find out the size of the fact table?
    Is the size of the fact table is same as size of the cube.
    pls let meknow
    regards
    balji

    Hello Balaji,
    To find out size of fact table
    DB02 ->Detailed anaysis -> Fact table name
    It will show you the details.
    The size of cube is not exactly equal to the size of fact table, but usually as fact table is much more larger than dimension tables, fact table size will give you a fair idea about cube size.
    Hope it helps.
    Regards,
    Praveen

  • Anyone know how to find available classes in a package?

    Anyone know how to find available classes in a package?
    Given a String like "java.io" I would like to write a method to extract the available classes in this package. I can't seem to find a method for this anywhere in the docs. The package class does not seem to have a method like this.

    Here is some code I tried.
    I'm not very familiar with manipulating JARs The code below is what I tried, but how do I access the packages like "java.io" in the JarFile? and then get the available classes?
    import java.io.*;
    import java.util.*;
    import java.util.jar.*;
    class Tester
         public static void main(String args[])
              try {
                   JarFile jf = new JarFile("c:/jdk1.3/lib/dt.jar");/* usually rt.jar (and 1.4)*/
                   Enumeration e = jf.entries();
                        while (e.hasMoreElements())
                             Object current = e.nextElement();
                             System.out.println(current.toString() + "class:"+current.getClass());
                             try {
                                  Thread.sleep(300);
                             } catch (InterruptedException ie) {}
              } catch (IOException ioe) {System.out.println(ioe.toString());}
                   /*also tried      ClassLoader cl = ClassLoader.getSystemClassLoader();
              try {
                   Enumeration e = cl.getResources("c:/jdk1.3/lib/dt.jar");
                   System.out.println(e.nextElement());
                   while (e.hasMoreElements())
                   System.out.println(e.nextElement());
              } catch (IOException ioe) {System.out.println(ioe.toString());}

  • How to find size of each RMAN backup

    friends,
    How to find size of each RMAN backup? Everyday we r taking rman hotbackup and need to find size of each day backup? Is there any dba views ?
    Thanks in advance

    Or start rman target / rcvcat rman/rman@catalogdb
    and use the command:
    RMAN> list backup;
    Output should look like:
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    8152318 Full *38.72G* SBT_TAPE 02:05:35 20-APR-09
    BP Key: 8152322 Status: AVAILABLE Compressed: NO Tag: FULL_BK_DB
    Handle: df_WCSPRD_t684630039_s1757_p1 Media:
    List of Datafiles in backup set 8152318
    File LV Type Ckp SCN Ckp Time Name
    1 Full 4657366129868 19-APR-09 /opt/test/db01/system01.dbf
    2 Full 4657366129868 19-APR-09 /opt/test/db01/undotbs01.dbf
    3 Full 4657366129868 19-APR-09 /opt/test/db01/sysaux01.dbf
    4 Full 4657366129868 19-APR-09 /opt/test/db01/users01.dbf
    5 Full 4657366129868 19-APR-09 /opt/test/db01/testc01.dbf
    6 Full 4657366129868 19-APR-09 /opt/test/db01/test01.dbf
    7 Full 4657366129868 19-APR-09 /opt/test/db01/testc02.dbf
    See bold text for backup piece size

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • How to find out about the SMTP Server

    Hi,
    I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
    Thank you and regards,
    Katharina

    Hi Katharina,
    you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
    Kind regards,
    dominik

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

  • HT4009 I did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    Hello paddyliverpool,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Refund is an option.
    Best of luck,
    Mario

  • I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    On your iPad  go to the App Store icon, Tap on the Purchased Tab.
    It will show you all the Apps that have been bought with the Apple Id currently in use by the iPad.
    Assuming its the same one being used on the iPhone, you should be able to find the App there.
    To further help you find it you can tap on the "Not on this iPad" button to limit the results to just Apps not currenlty installed on your iPad.

  • How to change size of the fonts in report

    Hello:
    How to change size of the fonts in report for when I print it?
    Thank's

    Hi..,
    You cannot do that with REPORTS.., With scripts or smartforms u can do that !!
    plz do remember to close the thread, when your problem is solved !!
    reward if it helps u..
    sai ramesh

  • How to reduce size of the executables

    Colleagues,
    I just would like to share small tip, which may be useful for someone else.
    Sometimes size of LabVIEW - based executable is pretty big (especially if you have placed arrays or graphic on the front panel, then set values as default, etc). Time to time we have discussed - how to reduce size of the builded executable. One possible soultion is open source Ultimate Packer for eXecutables - UPX and it seems to be OK for LabVIEW - based apps. Also command line arguments passed correctly.
    For example, Vision Assistant (which is LabVIEW-written itself) packed from 7 MB to 5 MB and works.
    with best regards,
    Andrey.

    In the days of <$100 1TB HDs and 20mbps FIOS, this seems less and less of a real problem that needs to be solved.  
    I am curious if this works also with older LabVIEW executables. Many years ago I was beta testing a similar utility and it would break LabVIEW executables. They were able to work around it but the compression benefit was less.
    Just curious. 
    From the UPX documentation:
    "Obviously UPX won't work with executables that want to read data from themselves"
    LabVIEW Champion . Do more with less code and in less time .

  • How I find color of the pixel on the screen?, How I find color of the pixel on the screen?

    How I find color of the pixel on the screen?, How I find color of the pixel on the screen?

    DigitalColor Meter, in your Applications/Utilities folder.
    Regards.

  • What is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system

    what is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system?? I am using OSX 10.8.5

    These are the iLife applications:
    http://www.apple.com/ilife/
    They come with every new Mac.  If they are not in your applications folder, download them from the App store.
    Ciao.

  • How to find out all the text elements in the report using Java?

    How to trace the contents of an rpt file?
    I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
    Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
    My Java code to open a report is given below:
    import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
    import com.crystaldecisions.reports.sdk.ParameterFieldController;
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.data.Values;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public String viewRpt()
                   //1.) Setting Database Infos
                            IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
                   //2.) Setting Report Path
                   String reportPath=u201DE:
    was60
    rptFilesLocation
    u201D;
                   reportPath=(reportPath!=null)?                                             reportPath:AppConstants.CONSTANTS.BLANK;
                   String reportName="report1.rpt";
                   String reportFullPath = reportPath +   rptName;
                 //3.) Setting Report Source
                             ReportClientDocument reportClientDoc = new ReportClientDocument();
                                              reportClientDoc.open(reportPath, 0);
                  IReportSource reportSource = reportClientDoc.getReportSource();
                  setReportSource(reportSource);
                  reportClientDoc.close();
              //4.) Setting the Fields Starts
              setFieldsCrystal(null);
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter1");
              pfieldDV1.setValue(u201Cvalue1u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              pfield1 = new ParameterField();
              vals1 = new Values();
              pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter2");
              pfieldDV1.setValue(u201Cvalue2u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              setFieldsCrystal(fields);
              //Setting the Fields Ends
    The sample jsp code to view the report is as follows:
    <%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
         prefix="bocrv"%>
    <bocrv:reportPageViewer viewerName="CrystalViewer"
                                                 reportSource="#{CrystalReportBeanObject.reportSource}"
                                                 displayToolbarRefreshButton="false"
                                                 allowDatabaseLogonPrompting="false"
                                                 allowParameterPrompting="false"
                                                 databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
                                                 parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
                                                 displayGroupTree="false" displayToolbarLogo="false"
                                                 displayToolbarToggleTreeButton="false"
                                                 enablePageToGrow="false" height="540"
                                                 zoomPercentage="100" width="750"
                                                 allowDrillDown="false"
                                                 displayToolbarPrintButton="true"
                                                 printMode="PDF"
                                                 ></bocrv:reportPageViewer>
    Edited by: JayKumarSharma on Mar 23, 2011 12:42 PM

    This is how you retrieve all the text fields in the reort:
    ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
    for(int i=0; i< reportObjects.size();i++)
    ITextObject textObject = (ITextObject)reportObjects.get(i);
    // use ReportObjectController to modify the text object.
    If you want to modify the contents of the text element, you can do it as follows:
    TextObject oTextObject = new TextObject();
    Paragraphs oParagraphs = new Paragraphs();
    Paragraph oParagraph = new Paragraph();
    ParagraphElements oParagraphElements = new ParagraphElements();
    ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
    oParagraphTextElement.setText("This is the new text field");
    oParagraphTextElement.setKind(ParagraphElementKind.text);
    oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
    oReportClientDocument.save();

Maybe you are looking for