Is there an AWR fragmentation report I can run manually

I am using 10g on Redhat Linux. I am not using Oracle grid or dbconsole.
Are ther any AWR reports that I can run manually from the Linux command line or SQLPLUS that will show me all tables with heavy fragmentation?
Thanks in advance.

variable id number;
begin
declare
name varchar2(100);
descr varchar2(500);
obj_id number;
begin
name:='Manual_Employees';
descr:='Segment Advisor Example';
dbms_advisor.create_task (
advisor_name => 'Segment Advisor',
task_id => :id,
task_name => name,
task_desc => descr);
dbms_advisor.create_object (
task_name => name,
object_type => 'TABLE',
attr1 => 'HR',
attr2 => 'EMPLOYEES',
attr3 => NULL,
attr4 => NULL,
attr5 => NULL,
object_id => obj_id);
dbms_advisor.set_task_parameter(
task_name => name,
parameter => 'recommend_all',
value => 'TRUE');
dbms_advisor.execute_task(name);
end;
end;
Viewing Segment Advisor Results
The Segment Advisor creates several types of results: recommendations, findings, actions, and objects. You can view results in the following ways:
•With Enterprise Manager
•By querying the DBA_ADVISOR_* views
•By calling the DBMS_SPACE.ASA_RECOMMENDATIONS procedure
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/schema003.htm
Kind Regards,
Rakesh

Similar Messages

  • 10.6.8... is there a version on indesign I can run

    I have a MacBook Pro.  op is 10.6.8.  Is there an indesign vers. I can run?

    I'm curious, Steve, why you recommend 10.7 which is very soon to be 3
    versions out of date?
    Why not go right to Mavericks for free?

  • Is there a report I can run off that gives me all the Parameter ID's

    Hi there
    Is there a report in SAP that I can run that will give me all the parameter ID's that can be used in SU3 > parameters?
    Thanks
    Lou

    Hi Louise,
    I cant find a report for ur requirement but this can help u.
    Go to the filed for which you want parameter id e.g. at PO level you want to defualt the purchase group for particular user
    in this case hit F1 on the Purchase group field and click the technical button then you will see the parameter id for this field. it is not always the case for all the fields.
    kindly rreward if found helpful.
    cheers,
    Hema.

  • SXS Error 59 but can run manually

    So, a small custom app we have has been running fine until some .NET framework 2.0 SP2 patches were applied this weekend. After they were applied, the task scheduler threw out the Error 59. When I go to a command prompt I can execute the file manually
    with no errors. Here is where it gets weird. If I change the config file to reference XML encoding UTF-8 the task scheduler does NOT throw the error 59 and executes the EXE. The EXE however has problems since it is not using the ISO-8859-1 encoding. Any ideas? 

    Hello,
    It looks like the issue is more regarding the config file, such issue does not belong to this forum, if you are using C#, please post it to:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral
    If you are using VB, please post it to:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cannot generate AWR/ADDM reports in Oracle 10g

    Hi,
    We are running 10.2.0.3.0 and troublshooted the performance problem for some queries. But when tried to run AWR/ADDM reports from OEM and got the following messages:
    Insufficient Data in Interval. For displaying data on this page, two historical snapshots are needed. Make sure that two snapshots are present in the target database instance. In addition modify the interval so that it is contained within two available snapshots
    I checked the scheduled jobs in this DB,
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Oracle Label Security and Data Mining options
    SQL> select JOB_NAME from dba_scheduler_jobs;
    JOB_NAME
    PURGE_LOG
    FGR$AUTOPURGE_JOB
    GATHER_STATS_JOB
    AUTO_SPACE_ADVISOR_JOB
    Has anyone anyidea why AWR/ADDM reports cannot be run? Thanks
    Liz

    Hi,
    If you want you can execute snapshot at your required time as suggested by people.
    However Oracle 10g by default take snap at every one hour.
    To check
    select snap_id, to_char(BEGIN_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') BEGIN_INTERVAL_TIME,
    to_char(END_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') END_INTERVAL_TIME
    from dba_hist_snapshot
    You can generate AWR Report by executing following SQL, Connect as SYS
    SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
    Input required details it asks, you can get AWR report in HTML or text format.
    ADDM Report:
    @$ORACLE_HOME/rdbms/admin/addmrpt.sql

  • R/3 report that can show the inventory aging

    Hi Gurus,
            Pls adv whether there is any R/3 report that can show the inventory aging. We know there is a BW report RDD861 can serve this purpose but we would like to have same report pulled from R/3.
    please advice asap and do the needful.
    Regards
    KRISHNA

    Not sure exactly what your complete requirements are but you could try the following standard reports to see if any fit your needs.
    Real-Time
    MC50 - Dead stock
    MC46 - Slow-moving items
    MC44 - Inventory turnover
    LIS Reports
    MC.2 - Receipts/issues
    MC.3 - Inventory turnover
    Regards

  • BitMap Report is not running

    There is a bitmap report which is running for all the users but for one specific user it is not running, there is no error  which is displayed, while the report is being called from the oracle form (D2K 6i forms and report) , the initialization window (showing client and server activity-- 2 small loop rotates in that particular window)  is shown but that window keeps sticking forever, it appears as if the report will run and it's previewer will appear , but in the final the screen gets freeze, the same report is running fine in the other user's cases,
    i also ran the report query at the plsql-developer in the back end and the query is also giving result, but the report is not appearing, there are no error also, can you please assist me, if you need any further information , please frankly ask me..............please assist me!!! Thanking You.
    With Regards,
    Ankit Chandra
    00919975119790

    nabheetmadan09 wrote:
    In SU01D check for the user what are date setting maintained under default tab are they different..?
    > Nabheet
    @Nabheet: they are using the same user id to replicate the issue... so no need to check SU01d.
    @selva,
    1. you need to go for remote share and see how he is entering data or ask your client to send screenshot of the screen
    2. debugging is possible. put external breakpoint on the particular user id. once he triggers the program the break point will be activated for you to check

  • Analyzing AWR reports, how can i decide i need to increase my SGA

    Hi,
    I am analyzing my Production server AWR reports, how can i decide on which basis i can increase SGA.
    Thanks,
    Mahi

    You need to make sure that the corresponding memory areas are not having any waits associated with them. Changing the memory parameters is generally not an option to pick in 10g as the instance management is automatic( shouldbe) and this makes the allocations done in an optimal manner depending upon the workloads. Still the change in the parameters can be there when we see some specific wait event related to that memory area. For example, if you see lots of Shared Pool latch contention and you are assure that you have no duplicate sqls coming up in your system than may be you have an undersized shared pool so it can be increased.
    You are using AWR.What about the recommendations from ADDM?Is there any advice coming up to change the memory components ? Did you elliminate all teh other areas which may be a problematic reason rather than a low memory value for parameters?
    Aman....

  • How can i save a AWR/statspack report in xml format ??

    how can i save a AWR/statspack report in xml format ?? or is there a way...coz when creating the report it gives option for html or normal (sql or txt based file)... on 10.2.0.3

    thanks orinet....i used wat you asked me to use...it generated a .dmp file....
    sqlplus "/as sysdba"
    SQL> @$ORACLE_HOME/rdbms/admin/awrextr.sql
    i tired upload that file to orapert.com it gives me below error ...any reason why ??
    Error : File not processed because it was too small to be an Oracle statspack or bstat/estat file.
    do i need to load it up too ?? as i tried doing the below
    sqlplus "/as sysdba"
    SQL>@$ORACLE_HOME/rdbms/admin/awrload.sql
    get error while doing that....
    ERROR at line 1:
    ORA-20105: unable to move AWR data to SYS
    ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
    ORA-20107: not allowed to move AWR data for local dbid
    ORA-06512: at line 3
    the file is about 19M in size
    Edited by: user630084 on Mar 19, 2009 11:37 AM

  • Is there any fuction or bapi that can print the report automatic?

    Dear All
    I want to print the report( generated by command write ) automatic.
    Is there any function or bapi that can do it?
    Thank you in advance.

    Hi,
    Please try this.
    report ztest_auto_print.
      DATA:L_PARAMS TYPE PRI_PARAMS,
           L_VALID TYPE C.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             IMMEDIATELY                  = 'X'
             LINE_SIZE                    = 220
             RELEASE                      = 'X'
             MODE                         = 'CURRENT'
             NO_DIALOG                    = 'X'
           IMPORTING
    *     OUT_ARCHIVE_PARAMETERS       =
             OUT_PARAMETERS               = L_PARAMS
             VALID                        = L_VALID
           EXCEPTIONS
             ARCHIVE_INFO_NOT_FOUND       = 1
             INVALID_PRINT_PARAMS         = 2
             INVALID_ARCHIVE_PARAMS       = 3
             OTHERS                       = 4.
          IF SY-SUBRC <> 0.
          ENDIF.
    "But it will take default printer from user settings
          NEW-PAGE PRINT ON   PARAMETERS L_PARAMS NO DIALOG.
           write : 'print is on'.
          NEW-PAGE PRINT OFF.
    Regards,
    Ferry Lianto

  • Is there any default calendar which I can use on my form and report

    Hi All,
    Is there any default calendar which I can use on date field on my form and report.
    just by change its property like double click on date field and property calendar = yes
    or any other way.
    thanks
    mohan

    hi
    create a functions something like this.i hope it helps u.
    function call_calender ( f_dtm_set in date default sysdate ) return date is
    l_dtm  date;
    l_list paramlist := get_parameter_list ( 'CALL_CALENDER' );
    begin
    if
      not id_null ( l_list )
    then
      destroy_parameter_list ( l_list );
    end if;
    if
      trunc ( f_dtm_set ) != trunc ( sysdate ) --> if you call the calendar function with a date, the calendar will change to that date
    then
      l_list := create_parameter_list ( 'CALL_CALENDER' );
      add_parameter ( l_list, 'DTM_SET', text_parameter, to_char ( f_dtm_set, 'dd/mm/yyyy' ) );
    end if;
    copy ( null, 'global.calender_date' ); --> create a null global
    call_form ( 'form_name', no_hide, no_replace, no_query_only, l_list );
    if
      not id_null ( l_list )
    then
      destroy_parameter_list ( l_list );
    end if;
    if
      name_in ( 'global.calender_date' ) is not null  --> if the global is not null, give the choosen item back
    then
      l_dtm := to_date ( name_in ( 'global.calender_date' ), 'dd/mm/yyyy' );
    end if;
    erase ( 'global.calender_date' );
    return ( l_dtm );
    end;sarah

  • Is There Any Tool in Java That Can Create Reports?

    Is there any tool in Java that can create reports? What is the tool?

    Google is your friend
    http://www.google.com/search?q=java+reporting+tools&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8
    I've heard good things about JasperReports (theres a link on the first results page from the above Google search) but I haven't used it myself.

  • Firefox is constantly comes to stall and there is nothing in my crash report, how can I fix it?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/919870]]</blockquote>
    Firefox is constantly comes to stall and there is nothing in my crash report, how can I fix it?
    It stops working for about 2 to 3 min., then either I close the browser or it shuts-down by itself.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Please note that if you are using the customized Firefox version that came with the Linux distro, the Firefox updates may only happen via the distribution's channel and also, crash reporting may be disabled. If the problem is more general it may also be helpful to post in the particular distro support forum.

  • Is there any Open source Reporting Toll for using in swing application ?

    Is there any reporting system like crystal report or any thing for report generation. Using JTable class it is so time taking job. I have downloaded Eclipse with crystal report embedded, and have created a report but can not integrate the report with JFrame with any menu item action. All the code i got releted to JSP. and few code get that are using
    //Crystal Java Reporting Component (JRC) imports.
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.lib.*;
    //Java Imports.
    import javax.swing.*;
    public class JRCViewReport {
         private static final String REPORT_NAME = "JRCViewReport.rpt";
         public static void launchApplication() {
              try {
                   //Open report.
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open(REPORT_NAME, 0);
                   //Launch JFrame that contains the report viewer.
                   new ReportViewerFrame(reportClientDoc);          
              catch(ReportSDKException ex) {     
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);               
         public static void main(String [] args) {
              //Event-dispatching thread to run Swing GUI.  This is good practice for Swing applications
              //to help ensure that events are dispatched in a predicatable order.
              //For more information on using this method, refer to the SUN site below for more details:
              //http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        //Hand-off to worker function to start application.
                        launchApplication();                    
    }Also there is one file ReportViewerFrame.java
    but the error is "*com.crystaldecisions.reports.sdk*" not found
    Please help ..........................................................

    I have already use Jasper Report. Thakns a lot for your suggestion. Now I think i have solved your problem...... View the code.. this code will not open the JasperViewer but from the background it will be printed and after calling the printing function you can save a data in the database ------------------------
    JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
            Connection con = Database.getConnection(); // your database connection
            jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, con);
            for(int i=0;;i++) { //print all pages
                try{
                    JRPrinterAWT.printPages(jasperPrint,i,i,false);
                }catch(Exception e) {
                    break;
            }

  • Is there any way to track what reports are actively running on BOE?

    Good Afternoon.
    I am looking for a way to track the names of what reports are currently being run on Business Objects. We are on Business Objects Enterprise XI R2 SP3 and from what Iu2019m aware, the servers can show the administrators how many connections and how many jobs are running, and the auditing command can track when a report has completed/failed (from what I understand), but nothing really tells us what reports are actively being run.
    The purpose of this is to measure impact for an emergency restart of the server, track down reports that are taking up system resources, and debugging issues involved with the SDK.
    Background: We have several reports hosted on Business Objects, both Crystal Reports and Web Intelligence.  These reports go to different universes and databases and use several different accounts depending on the project (no central generic accounts to the databases).  Sometimes when people are running several large reports (some being upwards of 1 million rows) the users will open one, leave it to run and go to open several others, killing our session limit and resources on the server. In addition, there have been times in development that restarts have been required but there was no way to tell what reports were running, just the number of them, and in several different spots (RAS, Page server, etc.).
    Wish list (If my first priority is answered, Iu2019m also looking for the following):
    - One to one associations of what reports are being run by what users.
    - A centralized location to see what reports are being run by users opening them and what reports are being run by users scheduling them.
    - The ability to u201Ckillu201D a report that is taking too long to run by a user.
    - Possibly an interactive dashboard showing the number of active reports verses the serveru2019s limit, what reports are set in queue, etc.
    - The u201Cstageu201D a report is running in, so if someone is running a report but its stuck at the prompt for a variable stage, querying data from the database, getting data back from the database, producing and processing the data to the screen, etc.
    If Iu2019ve missed something in the Business Objects tools or if someone knows of a way to extract this type of data from the Business Objects server (3rd party tool or custom fix) I would appreciate the assistance. Thank you for your time.

    Brian,
    I don't know if you tried using the Query Builder.
    The query below (or some modification of it) may be of some help.
    SELECT
    SI_SCHEDULEINFO, SI_NAME
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_SCHEDULE_STATUS = 1
    The SI_SCHEDULEINFO.SI_SUBMITTER property in the query result will give you the BOUSER value of the user that submitted the job.
    SI_SCHEDULE_STATUS takes the following values:
    0     The job is currently being processed by the job server.
    1     The job completed successfully.
    3     The job failed. Check error message.
    8     The job is paused.
    9     The job has not started because dependencies are not satisfied (e.g. Events)
    Best,
    Srinivas

Maybe you are looking for

  • How to convert Date to String

    Hi All, I have a dimension member in my classic plannnig application whose datatype is Date, Now i want to use that member inside the following function: @TODATE(<date format goes here> , <date string goes here>); e.g @TODATE("mm-dd-yyyy" , "Dimensio

  • Is there any chance to upgarde my iphone from ios4.1 to ios4.2

    please tell is there upgrde for ios4.1 to 4.2

  • Inserting formatted text

    How can I insert formatted text into the sequence, keeping it transparent so I can show it over another clip? The text generator doesn't let me vary the text within one frame. So if I have, "The Doodad Theatre Production of, Don Juan" and want to mak

  • Information needed on ATP functinality based on collected data.

    Hi, we need to use ATP fuctionality in some of our ASCP scenarios. I have created FG items and components under them. Created onhand for components. Now if I do ATP inquiry for FG item , expecting it should give ATP quantity based on its component av

  • CS4: Form spacing conflict between Firefox & IE

    I just created my first form in Dreamweaver CS4. And while I expected the form to be challenging, it came together right away. But once again I guess it's my very limited understanding of CSS and the box model that's causing me spacing issues between