Statistics gathering error

Hi all,
I am running on AIX  version 5.3 with oracle 10.2.0.1 database.
Since yesterday I am encountering errors when gathering statistics from table partitions that already have data in it. I was able to gather without errors for years but then suddenly I got the following errors:
exec dbms_stats.gather_table_stats('BLP', 'ADJUSTMENT_TRANSACTION', 'ADJUSTMENT_TRANSACTION_P201311', GRANULARITY=>'PARTITION')
BEGIN dbms_stats.gather_table_stats('BLP', 'ADJUSTMENT_TRANSACTION', 'ADJUSTMENT_TRANSACTION_P201311', GRANULARITY=>'PARTITION'); END;
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.DBMS_STATS", line 13044
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_STATS", line 13076
ORA-06512: at line 1
I also got the following errors in the alert_logs:
ORA-00600: internal error code, arguments: [KSFD_DECAIOPC], [0x7000004FF189780], [], [], [], [], [], []
The other day the alert_log generated this error when generating statistics also for another table:
ORA-01114: IO error writing block to file 1001 (block # 4026567)
ORA-27063: number of bytes read/written is incorrect
IBM AIX RISC System/6000 Error: 28: No space left on device
As I checked, the server has sufficient space.
Do you guys have any idea what could be the problem? I can't generate table statistics as of the moment due to this problem.
Regards,
Tim

Hi Suntrupth,
BLP@OLSG3DB  > show parameter filesystemio_options
NAME                                 TYPE        VALUE
filesystemio_options                 string      asynch
BLP@OLSG3DB  > show parameter disk_asynch_io
NAME                                 TYPE        VALUE
disk_asynch_io                       boolean     TRUE
No invalid objects where returned also:
BLP@OLSG3DB  > select object_name from dba_objects where status='INVALID' and owner='SYS';
no rows selected
Regards,
Tim

Similar Messages

  • Cgi statistics gathering under 6.1 and Solaris 9

    Hello all,
    is it possible to log for cgi requests the value for handling each of the time spent on the request?
    I see a lot of editable parameters in the 'Performance, Tuning and Scaling Guide' but can't figure out how to do that.
    Once in a thread I read "...enable statistics gathering, then add %duration% to your access log format line".
    I can't find the terminus %duration% in the guide, which parameter is taken?
    Regards Nick

    Hello elvin,
    thanks for your reply. Now I think I managed to let the webserver log the duration of a cgi request, but I'm unsure how to interpret the value eg. in the access log I get
    ..."GET /cgi/beenden.cgi ... Gecko/20040113 MultiZilla/1.6.3.1d" 431710"
    ..."GET /pic.gif ... Gecko/20040113 MultiZilla/1.6.3.1d" 670"
    so the last value corresponds to my %duration% in the magnus.conf.
    431710 ... in msec? - makes no sense
    670 ... in msec?
    The complete string in magnus.conf reads as follows:
    Init fn="flex-init" access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf
    -request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% \"%Req->headers.user-agent%\" \%duration%\""Regards Nick

  • Statistics gathering

    Hello ,
    Every one I'm little confuse about "Statistics gathering" in ebs so I have some question in my mind which are following.
    kindly any one clear my concept about it.I really appreciate you.
    1.What is Statistics gathering ?
    2. What is the benefit of it?
    3.Can after this our ERP performance is better?
    one question is out this subject is that can If any one wanna APPS DBA then who must be DBA(oracle 10g,9i etc) or who only have a concept of oracle dba like backup,recovery,cloning etc.
    Regards,
    Shahbaz khan

    1.What is Statistics gathering ?
    Statistics gathering is a process by which Oracle scans some or all of your database objects (such as tables, indexes etc.) and stores the information in objects such as dbal_tables, dba_histograms. Oracle uses this information to determine the best execution path for statements it has to execute (such as select, update etc.)
    2. What is the benefit of it?
    It does help the queries become more efficient.
    3.Can after this our ERP performance is better?
    Typically, if you are experiencing performance issues, this is one of the first remedies.
    one question is out this subject is that can If any one wanna APPS DBA then who must be DBA(oracle 10g,9i etc) or who only have a concept of oracle dba like backup,recovery,cloning etc.I will let Hussein or Helios answer that question. They can offer a lot of helpful advice. You can also refer to Hussein's recent thread on a similar topic.
    See Re: Time Management and planned prep
    Hope this helps,
    Sandeep Gandhi

  • Setting of Optimizer Statistics Gathering

    I'm checking in my db setting and database is analysing each day. But as I notice there are a lot of tables that information shows last analysis in about month ago... Do I have to change some parameters?

    lesak wrote:
    I don't have any data that show you that my idea is good. I'd like to confirm on this forum that my idea is good or not. I've planned to make some changes to have better performance of query that read from top use tables. If this is bad solutions it's also important information for me.One point of view is that your idea is bad. That point of view would be to figure out what the best access for your query is and set that as a baseline, or figure out what statistics get you the correct plans on a single query that has multiple plans that are best with different values sent in through bind variables, and lock the statistics.
    Another point of view would be to gather current plans for currently used queries, then do nothing at all unless the optimizer suddenly decides to switch away from one, then figure out why.
    Also note the default statistics gathering is done in a window, if you have a lot of tables changing it could happen that you can't get stats in a timely fashion within the window.
    Whether the statistics gathering is appropriate may depend on how far off histograms are from describing the actual data distribution you see. What my be appropriate worry for one app may be obsessive tuning disorder for another. 200K rows out of millions may make no difference at all, or may make a huge difference if the newly added data is way off from what the statistics make the opitmizer think it is.
    One thing you are probably doing right is to recognize that tuning particular queries may be much more useful than obsessing over statistics.
    Note how much I've used the word "may" here.

  • How to check the progress of statistics gathering on a table?

    Hi,
    I have started the statistics gathering on a few big tables in my database.
    How to check the progress of statistics gathering on a table? Is there any data dictionary views or tables to monitor the progress of stats gathering.
    Regds,
    Kunwar

    Hi all
    you can check with this small script.
    it lists the sid details for long running session like
    when it started
    when last update
    how much time still left
    session status "ACTIVE/INACTIVE". etc.
    -- Author               : Syed Kaleemuddin_
    -- Script_name          : sid_long_ops.sql
    -- Description          : list the sid details for long running session like when it started when last update how much time still left.
    set lines 200
    col OPNAME for a25
    Select
    a.sid,
    a.serial#,
    b.status,
    a.opname,
    to_char(a.START_TIME,' dd-Mon-YYYY HH24:mi:ss') START_TIME,
    to_char(a.LAST_UPDATE_TIME,' dd-Mon-YYYY HH24:mi:ss') LAST_UPDATE_TIME,
    a.time_remaining as "Time Remaining Sec" ,
    a.time_remaining/60 as "Time Remaining Min",
    a.time_remaining/60/60 as "Time Remaining HR"
    From v$session_longops a, v$session b
    where a.sid = b.sid
    and a.sid =&sid
    And time_remaining > 0;
    Sample output:
    SQL> @sid_long_ops
    Enter value for sid: 474
    old 13: and a.sid =&sid
    new 13: and a.sid =474
    SID SERIAL# STATUS OPNAME START_TIME LAST_UPDATE_TIME Time Remaining Sec Time Remaining Min Time Remaining HR
    474 2033 ACTIVE Gather Schema Statistics 06-Jun-2012 20:10:49 07-Jun-2012 01:35:24 572 9.53333333 .158888889
    Thanks & Regards
    Syed Kaleemuddin.
    Oracle Apps DBA
    Mobile: +91 9966270072
    Email: [email protected]

  • Understand Oracle statistics gathering

    Hi experts,
    I am new in Oracle performance tuning. can anyone tell me what the mean of "Oracle statistics gathering" in simple words/way. i has read it from Oracle site http://docs.oracle.com/cd/A87860_01/doc/server.817/a76992/stats.htm.
    But i am not understand it properly. It Any role in oracle performance tuning? Does it make good performance of Oracle DB???
    Reg
    Harshit

    Hi,
    You can check this in some Easy way :ORACLE-BASE - Oracle Cost-Based Optimizer (CBO) And Statistics (DBMS_STATS)
    >> It Any role in oracle performance tuning? Does it make good performance of Oracle DB???  :Yes
    HTH

  • Gathering Table Statistics throws errors ORA-20001 and ORA-06512 on 11g

    Hi Forum!
    I try to gather statistics on a 11.2.0.1 DB for a Siebel application.
    The script which generates the statistics errors out and I don't know why. so I tried to query sys.dba_tab_statistics manually, but event then I receive an error:
    select * from sys.dba_tab_statistics
    ORA-20001: BIN$PV5XQQHLSAYJ0KPMEY1MHG==$0 is an invalid identifier
    ORA-06512: in "SYS-DBMS_STATS", Zeile 2082
    ORA-06512: in "SYS-DBMS_STATS", Zeile 2098
    ORA-06512: in "SYS-DBMS_STATS", Zeile 26789
    Any ideas?
    Edited by: Penky on Oct 10, 2011 2:51 PM

    Penky wrote:
    Note that I even get the error when doing a straight select * from dba_tab_statistics which I think should work fine, no?Is that:
    select * from dba_tab_statisticsor
    select * from sys.dba_tab_statisticsIt's unusual for a SYS view to error, unless that's a specific bug in that version of the database, though I wonder if there are other schemas, such as SYS which have got something in their recycle bin (not that anyone should have been creating and/or dropping things in SYS)?

  • Statistics Currency Error while posting Sales Order (No: V1453)

    Hi Sappers,
    I am in process of making a company in SAP ERP SD - IDES, and while posting Sales Order, after I input Sold to Party, PO no, Del Plant and Incoterms and I press ENTER: The error comes up as:
    Statistics: The currency from in INR for date 25.11.2011 could not be determined.
    Kindly suggest a possible solution.
    Thanks
    Rahul Tikku

    Hi,
    Just go to "OBD2", select the Accounts group of your customer and "Double Click" on it, then "Double  cliick" on "Sales Data" > Further goto,  "Sales" and check if "Currency" field is suppressed. if so then change it to required or optional Entry. save and update you customer master in XD02. Then try your process.
    Reagrds
    DSR

  • Table Statistics Gathering Query

    Hey there,
    I'm currently getting trained in Oracle and one of the questions posed to me were create a table, insert a million rows into it and try to find the number of rows in it. I've tried the following steps to solve this,
    First table creation
    SQL> create table t1(id number);
    Table created.Data insertion
    SQL> insert into t1 select level from dual connect by level < 50000000;
    49999999 rows created.Gathering statistics
    SQL> exec dbms_stats.gather_table_stats('HR','T1');
    PL/SQL procedure successfully completed.Finally counting the number of rows
    SQL> select num_rows from user_tables where table_name='T1';
      NUM_ROWS
      49960410
    SQL> select count(*) from t1;
      COUNT(*)
      49999999My database version is,
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - ProductionI would like to know why there are two different results for the same table when using "num_rows" from the view "user_tables" and the aggregate function "count()" over the same table. Please do keep in mind that i'm studying oracle and this is from a conceptual point of view only. I would like to know how gathering the table statistics works using dbms_stats package works.
    Thank You,
    Vishal

    vishm8 wrote:
    Gathering statistics
    SQL> exec dbms_stats.gather_table_stats('HR','T1');
    PL/SQL procedure successfully completed.I would like to know why there are two different results for the same table when using "num_rows" from the view "user_tables" and the aggregate function "count()" over the same table. Please do keep in mind that i'm studying oracle and this is from a conceptual point of view only. I would like to know how gathering the table statistics works using dbms_stats package works.
    Thank You,
    VishalBecause you aren't specifying a value for estimate_percent in the procedure call (to gather_table_stats) Oracle will pick an estimate value for you. If you want to sample the entire table you would need to explicitly specify that in your procedure call.
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_stats.htm#ARPLS68582

  • Statistics gathering in 10g - Histograms

    I went through some articles in the web as well as in the forum regarding stats gathering which I have posted here.
    http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
    In the above post author mentions that
    "It may be best to change the default value of the METHOD_OPT via DBMS_STATS.SET_PARAM to 'FOR ALL COLUMNS SIZE REPEAT' and gather stats with your own job. Why REPEAT and not SIZE 1? You may find that a histogram is needed somewhere and using SIZE 1 will remove it the next time stats are gathered. Of course, the other option is to specify the value for METHOD_OPT in your gather stats script"
    Following one is post from Oracle forums.
    Statistics
    In the above post Mr Lewis mentions about adding
    method_opt => 'for all columns size 1' to the DBMS job
    And in the same forum post Mr Richard Foote has mentioned that
    "Not only does it change from 'FOR ALL COLUMNS SIZE 1' (no histograms) to 'FOR ALL COLUMNS SIZE AUTO' (histograms for those tables that Oracle deems necessary based on data distribution and whether sql statements reference the columns), but it also generates a job by default to collect these statistics for you.
    It all sounds like the ideal scenario, just let Oracle worry about it for you, except for the slight disadvantage that Oracle is not particularly "good" at determining which columns really need histograms and will likely generate many many many histograms unnecessarily while managing to still miss out on generating histograms on some of those columns that do need them."
    http://richardfoote.wordpress.com/2008/01/04/dbms_stats-method_opt-default-behaviour-changed-in-10g-be-careful/
    Our environment Windows 2003 server Oracle 10.2.0.3 64bit oracle
    We use the following script for our analyze job.
    BEGIN DBMS_STATS.GATHER_TABLE_STATS
    (ownname => ''username'', '
    'tabname => TABLE_NAME
    'method_opt => ''FOR ALL COLUMNS SIZE AUTO''
    'granularity => ''ALL'', '
    'cascade => TRUE, '
    'degree => DBMS_STATS.DEFAULT_DEGREE);
    END;
    This anayze job runs a long time (8hrs) and we are also facing performance issues in production environment.
    Here are my questions
    What is the option I should use for method_opt parameter?
    I am sure there are no hard and fast rules for this and each environment is different.
    But reading all the above post kind of made me confused and want to be sure we are using the correct options.
    I would appreciate any suggestions, insight or further readings regarding the same.
    Appreciate your time
    Thanks
    Niki

    Niki wrote:
    I went through some articles in the web as well as in the forum regarding stats gathering which I have posted here.
    http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
    In the above post author mentions that
    "It may be best to change the default value of the METHOD_OPT via DBMS_STATS.SET_PARAM to 'FOR ALL COLUMNS SIZE REPEAT' and gather stats with your own job. Why REPEAT and not SIZE 1? You may find that a histogram is needed somewhere and using SIZE 1 will remove it the next time stats are gathered. Of course, the other option is to specify the value for METHOD_OPT in your gather stats script"
    This anayze job runs a long time (8hrs) and we are also facing performance issues in production environment.
    Here are my questions
    What is the option I should use for method_opt parameter?
    I am sure there are no hard and fast rules for this and each environment is different.
    But reading all the above post kind of made me confused and want to be sure we are using the correct options.As the author of one of the posts cited, let me make some comments. First, I would always recommend starting with the defaults. All to often people "tune" their dbms_stats call only to make it run slower and gather less accurate stats than if they did absolutely nothing and let the default autostats job gather stats in the maintenance window. With your dbms_stats command I would comment that granularity => 'ALL', is rarely needed and certainly adds to the stats collection times. Also, if the data has not changed enough why recollect stats? This is the advantage of the using options=>'gather stale'. You haven't mentioned what kind of application your database is used for: OLTP or data warehouse. If it is OLTP and the application uses bind values, then I would recommend to disable or manually collect histograms (bind peeking and histograms should not be used together in 10g) using size 1 or size repeat. Histograms can be very useful in a DW where skew may be present.
    The one non-default option I find myself using is degree=>dbms_stats.auto_degree. This allows dbms_stats to choose a DOP for the gather based on the size of the object. This works well if you dont want to specify a fixed degree or you would like dbms_stats to use a different DOP than the table is decorated with.
    Hope this helps.
    Regards,
    Greg Rahn
    http://structureddata.org

  • SCCM 2007 to 2012 R2 Migration Data Gathering Error

     
    Hi guys ,
    I am working on SCCM 2007 to 2012 migration and stucked at data gathering process. Following
    error i am getting while gartering data process.I have made the erroe details bold to easily find.
    Migmcctrl.log is showing this error:
     [Worker]:                         Start syncing #MIG_Entity.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.957+420><thread=5024 (0x13A0)>
                                                                    [Worker]:        
                            Query against Legacy Site , @rowversion=00-00-00-00-00-0A-4C-E2, @collectionrowversion=00-00-A2-DD-00-20-26-14, @SourceSiteCode=ABC:            
          SELECT                    (CASE                      WHEN ISNULL(ext_cilp.DisplayName, ext_ci.CI_ID) IS NULL THEN NULL    
                     ELSE                           dbo.fnSCCMMultiByteToWideChar(                    
             CASE                                  WHEN (SELECT LocaleID FROM SMSData) IS NULL THEN (SELECT d.LocaleID FROM SMSData d)      
                               WHEN (SELECT LocaleID FROM SMSData) IN (-1, 0, 65535, 1024, 2048) THEN (SELECT d.LocaleID FROM SMSData d)                
                     ELSE (SELECT LocaleID FROM SMSData)                              END,              
                   CONVERT(VARBINARY(MAX), ISNULL(ext_cilp.DisplayName, ext_ci.CI_ID)))                  END)  as EntityName, CONVERT(NVARCHAR(256), ext_ci.CI_ID) as ObjectKey,
                              ext_ci.CIType_ID as ObjectTypeID, ext_ci.rowversion AS rowversion, ext_ci.ChangeAction as ChangeAction,                  
            ext_ci.CI_UniqueID as UniqueID                  FROM SCCM_Ext.vex_ConfigurationItems as ext_ci                   LEFT JOIN v_LocalizedCIProperties_SiteLoc
    as ext_cilp ON ext_ci.CI_ID=ext_cilp.CI_ID                   WHERE   (1 = 1 OR ISNULL(ext_ci.SourceSite, @SourceSiteCode) = @SourceSiteCode)  AND ext_ci.rowversion > @rowversion AND      
                       ISNULL(ext_ci.CIType_ID, 0)<>1 AND ISNULL(ext_ci.CIType_ID, 0)<>8                          AND ISNULL(ext_ci.CIType_ID,
    0)<>9~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.962+420><thread=5024 (0x13A0)>
                                                                    [Worker]:        
            End syncing object tables.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.964+420><thread=5024 (0x13A0)>
                                                                    [Worker]:        
    ========== End syncing objects metadata ==========~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.965+420><thread=5024 (0x13A0)>
                                                                    ERROR: [Worker]:      
      System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.     at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)     at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String
    method, SqlCommand command)     at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
    String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader()     at Microsoft.ConfigurationManagement.MigrationManager.LegacyRepository.GetDataReader(String sqlQuery, Dictionary`2 parameters, Boolean ignoreLocalSite)
        at Microsoft.ConfigurationManagement.MigrationManager.SyncAgentJob.<SyncObjectsInformation>d__25.MoveNext()     at Microsoft.ConfigurationManagement.MigrationManager.ExtensionMethods.<AttachErrorHandler>d__6`1.MoveNext()
        at Microsoft.ConfigurationManagement.MigrationManager.ExtensionMethods.<AttachErrorHandler>d__6`1.MoveNext()~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.966+420><thread=5024 (0x13A0)>
    STATMSG: ID=8617 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_MIGRATION_MANAGER" SYS=SCCM2012R2.RAT.Com SITE=ASL PID=2804 TID=5024 GMTDATE=Wed Mar 19 09:11:07.966 2014 ISTR0="SCCM2012R2.RAT.Com (ASL)" ISTR1="" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.966+420><thread=5024 (0x13A0)>
                                                                    [Worker]: ==================== Sync
    Agent Job 16777235 Ended ====================~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.967+420><thread=5024 (0x13A0)>
    ERROR: [Worker]: System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.     at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)  
      at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)     at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)  
      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader()     at Microsoft.ConfigurationManagement.MigrationManager.LegacyRepository.GetDataReader(String
    sqlQuery, Dictionary`2 parameters, Boolean ignoreLocalSite)     at Microsoft.ConfigurationManagement.MigrationManager.SyncAgentJob.<SyncObjectsInformation>d__25.MoveNext()     at Microsoft.ConfigurationManagement.MigrationManager.ExtensionMethods.<AttachErrorHandler>d__6`1.MoveNext()
        at Microsoft.ConfigurationManagement.MigrationManager.ExtensionMethods.<AttachErrorHandler>d__6`1.MoveNext()     at Microsoft.ConfigurationManagement.MigrationManager.SyncAgentJob.<get_ExecutionPlan>d__7.MoveNext()  
      at Microsoft.ConfigurationManagement.MigrationManager.Job`1.ExecuteNext()~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.968+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Start processing status
    changed event for MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.975+420><thread=5024 (0x13A0)>
                                                                    [Worker]:        
    Set the schedule item 16777235 end time~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.976+420><thread=5024 (0x13A0)>
    [Worker]:         Set the schedule item 16777235 status to Failed~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.976+420><thread=5024 (0x13A0)>
                                                                    [Worker]: End processing status changed
    event for MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.982+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Disposing Job 16777235~~
     $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.984+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Removing Job 16777235 from
    job manager.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.984+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Removing the Job with Id
    16777235.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.985+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Disposing worker~~  $$<SMS_MIGRATION_MANAGER><03-19-2014
    02:11:07.985+420><thread=5024 (0x13A0)>
                                                                    [Worker]: Disposing current site
    connection~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.985+420><thread=5024 (0x13A0)>
    ERROR: [MigMCtrl]: FAILED to EXECUTE job. error = Unknown error 0x80131509, 80131509~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.985+420><thread=5024 (0x13A0)>
    ERROR: [MigMCtrl]: FAILED to EXECUTE job. error = Unknown error 0x80131509, 80131509~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.986+420><thread=5024 (0x13A0)>
    Connection string = Data Source=(local);Initial Catalog=CM_ASL;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.996+420><thread=4648
    (0x1228)>
    [MigrationManager]: Start two step scheduling for MIG_SiteMapping~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.997+420><thread=4648 (0x1228)>
    [MigrationManager]:         Step 1. Query the schedule items that was running or requested to start immediately ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:07.997+420><thread=4648 (0x1228)>
    [MigrationManager]:         Step 2. Query the first item in order of DateNextRun ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.022+420><thread=4648 (0x1228)>
    [MigrationManager]:                 The item MIG_SiteMapping 16777235 is scheduled to run at 03/19/2014 13:10:06 UTC, 03/19/2014 18:40:06 Local Time, sleep for 03:58:58.2280000.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014
    02:11:08.039+420><thread=4648 (0x1228)>
    [MigrationManager]: End two step scheduling for MIG_SiteMapping~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.039+420><thread=4648 (0x1228)>
    Connection string = Data Source=(local);Initial Catalog=CM_ASL;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.040+420><thread=4648
    (0x1228)>
    [MigrationManager]: Start two step scheduling for MIG_Job~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.040+420><thread=4648 (0x1228)>
    [MigrationManager]:         Step 1. Query the schedule items that was running or requested to start immediately ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.041+420><thread=4648 (0x1228)>
    [MigrationManager]:         Step 2. Query the first item in order of DateNextRun ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.064+420><thread=4648 (0x1228)>
    [MigrationManager]:                 No item found. Sleep until the next event.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.084+420><thread=4648 (0x1228)>
    [MigrationManager]: End two step scheduling for MIG_Job~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.084+420><thread=4648 (0x1228)>
    [MigMCtrl]: the workitem queue is full!~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.084+420><thread=4648 (0x1228)>
    [MigMCtrl]: NOTIFY job manager ( 1, 0, C:\Program Files\Microsoft Configuration Manager\inboxes\mmctrl.box\16777235.SYN ).~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.085+420><thread=4648 (0x1228)>
    Connection string = Data Source=(local);Initial Catalog=CM_ASL;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.086+420><thread=4648
    (0x1228)>
    [MigrationManager]: Start processing schedule changed event for MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.086+420><thread=4648 (0x1228)>
    [MigrationManager]:         Update the DateNextRun of the schedule item MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.118+420><thread=4648 (0x1228)>
    [MigrationManager]:         Calculating the next run time ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.118+420><thread=4648 (0x1228)>
    [MigrationManager]:                 This is a recurring schedule token.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.118+420><thread=4648 (0x1228)>
    [MigrationManager]:                 This item already run at 03/19/2014 09:10:27 UTC, 03/19/2014 14:40:27 Local Time, the next run time is 03/19/2014 13:10:27 UTC, 03/19/2014 18:40:27 Local Time.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014
    02:11:08.119+420><thread=4648 (0x1228)>
    [MigrationManager]:         Check requested operation for schedule item MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.132+420><thread=4648 (0x1228)>
    [MigrationManager]: End processing schedule changed event for MIG_SiteMapping.ID=16777235~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.132+420><thread=4648 (0x1228)>
    [MigMCtrl]: EVENT raised ( 1, 0, C:\Program Files\Microsoft Configuration Manager\inboxes\mmctrl.box\16777235.SYN ).~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.133+420><thread=4648 (0x1228)>
    [MigMCtrl]: 1 instruction file processed.~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.133+420><thread=4648 (0x1228)>
    [MigMCtrl]: WAIT 3 event(s) for 60 minute(s) and 0 second(s).~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:11:08.133+420><thread=4648 (0x1228)>
    [MigMCtrl]: NOTIFY job manager ( 1, 0, C:\Program Files\Microsoft Configuration Manager\inboxes\mmctrl.box\16777236.SYN ).~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.315+420><thread=4648 (0x1228)>
    Connection string = Data Source=(local);Initial Catalog=CM_ASL;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.316+420><thread=4648
    (0x1228)>
    [MigrationManager]: Start processing schedule changed event for MIG_SiteMapping.ID=16777236~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.331+420><thread=4648 (0x1228)>
    [MigrationManager]:         Update the DateNextRun of the schedule item MIG_SiteMapping.ID=16777236~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.350+420><thread=4648 (0x1228)>
    [MigrationManager]:         Calculating the next run time ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.350+420><thread=4648 (0x1228)>
    [MigrationManager]:                 This is a recurring schedule token.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.350+420><thread=4648 (0x1228)>
    [MigrationManager]:                 This item hasn't run yet, we will run it immediately.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.351+420><thread=4648 (0x1228)>
    [MigrationManager]:         Check requested operation for schedule item MIG_SiteMapping.ID=16777236~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.359+420><thread=4648 (0x1228)>
    [MigrationManager]:         Start operation requested, the scheduled item 16777236 will be started once computing resource is allocated.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.359+420><thread=4648 (0x1228)>
    [MigrationManager]: End processing schedule changed event for MIG_SiteMapping.ID=16777236~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.360+420><thread=4648 (0x1228)>
    [MigMCtrl]: EVENT raised ( 1, 0, C:\Program Files\Microsoft Configuration Manager\inboxes\mmctrl.box\16777236.SYN ).~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.360+420><thread=4648 (0x1228)>
    [MigMCtrl]: 1 instruction file processed.~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.361+420><thread=4648 (0x1228)>
    Connection string = Data Source=(local);Initial Catalog=CM_ASL;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.362+420><thread=4648
    (0x1228)>
    [MigrationManager]: Start two step scheduling for MIG_SiteMapping~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.363+420><thread=4648 (0x1228)>
    [MigrationManager]:         Step 1. Query the schedule items that was running or requested to start immediately ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.363+420><thread=4648 (0x1228)>
    [MigrationManager]:                 Clear the requested operation.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.386+420><thread=4648 (0x1228)>
    [MigrationManager]:                 Calculating the next run time ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.387+420><thread=4648 (0x1228)>
    [MigrationManager]:                         This is a recurring schedule token.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.387+420><thread=4648 (0x1228)>
    [MigrationManager]:                         This item already run at 03/19/2014 09:21:36 UTC, 03/19/2014 14:51:36 Local Time, the next run time is 03/19/2014 13:21:36 UTC, 03/19/2014 18:51:36 Local
    Time.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.387+420><thread=4648 (0x1228)>
    [MigrationManager]:                 Set the next run time to 03/19/2014 13:21:36 UTC, 03/19/2014 18:51:36 LocalTime.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.388+420><thread=4648 (0x1228)>
    [MigrationManager]:                 Got an scheduled item 16777236. Set the sleep time to 0.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.411+420><thread=4648 (0x1228)>
    [MigrationManager]: End two step scheduling for MIG_SiteMapping~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:36.412+420><thread=4648 (0x1228)>
    [MigrationManager]: Impersonation is about to start ...~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:49.554+420><thread=4648 (0x1228)>
    [MigrationManager]: Impersonation succeed, current user identity is: rat\cmmig~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:49.555+420><thread=4648 (0x1228)>
    Connection string = Data Source=SCCM;Initial Catalog=SMS_ABC;Integrated Security=True;Persist Security Info=False;MultipleActiveResultSets=True;Encrypt=True;TrustServerCertificate=True;Application Name="Migration Manager".~~  $$<SMS_MIGRATION_MANAGER><03-19-2014
    02:21:49.555+420><thread=4648 (0x1228)>
    [MigrationManager]: Impersonation is reverted.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:49.683+420><thread=4648 (0x1228)>
    [MigrationManager]: Detected source collation SQL_Latin1_General_CP1_CI_AS~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:57.841+420><thread=4648 (0x1228)>
    [MigrationManager]: Detected destination collation SQL_Latin1_General_CP1_CI_AS~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:57.842+420><thread=4648 (0x1228)>
    STATMSG: ID=8600 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_MIGRATION_MANAGER" SYS=SCCM2012R2.RAT.Com SITE=ASL PID=2804 TID=4648 GMTDATE=Wed Mar 19 09:21:57.843 2014 ISTR0="SCCM2012R2.RAT.Com (ASL)" ISTR1="SCCM.RAT.COM"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:57.853+420><thread=4648 (0x1228)>
    [MigrationManager]: Job 16777236 added.~~  $$<SMS_MIGRATION_MANAGER><03-19-2014 02:21:57.854+420><thread=4648 (0x1228)>
    I am not getting any solution  of this please help.

    ERROR: [MigMCtrl]: FAILED to EXECUTE job. error = Unknown error 0x80131509
    I previously had a similar issue. See blog post here
    http://gerryhampsoncm.blogspot.ie/2013/07/configmgr-sccm-2012-migration-sharing.html
    In my case one of the boundaries in the 2007 site had an empty Display column and this, it seems, is not allowed.
    Have you checked the box to "Enable DP sharing" while you create the Source Hierarchy? If so, try the process with the box unchecked.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • BW Statistics-BI7-Error when generating the update program

    Dear All,
    We faced the below problem in while executing the infopackages for BW statistics in BI7.0
    7099 records from 7099 records..but shows request is red.
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Update rules
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    Update rules ( 7089  -> 0 Records ) : Errors occurred (RED)
    Update rules ( 7089  -> 0 Records ) : Errors occurred
    InfoCube 0TCT_C23 will be updated
    Error when generating the update program (RED)
    Is there any notes to apply for this?
    Initilaztion is executed with out any errors!!
    Regards

    Hi
    Caller 01 : If there is any inconsistecy while loading the data or if the program cannot able to execute a specific task it will give the caller errors.
    check in the transaction ST22
    check for the OSS notes 631668, 860475
    Check the below links which have a discussion on the same problem.
    A caller 01, 02 or equal to or greater than 20 contains an error meesage
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    ERROR?
    Data load System error
    Hope this will help
    Regards
    Shilpa

  • AWR Statistics gathering is taking hours...

    Is it normal in 10g to have the following job run for hours?
    EXEC SYS.DBMS_SCHEDULER.RUN_JOB('GATHER_STATS_JOB');
    It takes like 4 hours sometimes to run - we run it once a day..Thank you!

    AWR is the automatic workload repository - which is similar in mechanism to statspack, taking regular snapshots of the dynamic performance views.
    The gather_stats_job has nothing to do with the operation of the AWR, beyond the fact that AWR data is stored in tables, so the gather_stats_job may decided to collect stats on those tables from time to time.
    The default action for gather_stats_job is to collect stats for all tables with missing or stale statistics. The sample size for each table is chosen automatically (effectively by trial and error starting with a very small sample. Histograms are also collected automatically, based on a check of which columns have been used historically for "where" clauses combined with a sample to check if such columns show skewed data patterns.
    If you do a lot of inserts, updates, and deletes on this particular database, you are more likely to end up with table statistics becoming stale more frequently, leading to longer lists of tables that need stats recalculated.
    You may find that Oracle is generating too many histograms, and histograms can take a long time to construct. If this is the case, then you could consider changing the default setting for stats collection to skip the automatic histogram generation and add code to build histograms only on the columns that you think need them.
    [addendum: you say you are running gather_stats_job daily - but it runs automatically every weekday at 10:00 pm and all weekend; did you disable the standard job, or did you mean that you were just letting the standard job).
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The greatest enemy of knowledge is not ignorance,
    it is the illusion of knowledge." Stephen Hawking.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Statistics gathered during import

    Does after IMP import the tables are analyzed automatically?
    When i done import process of TEST user
    imp system/manager file=/home/oracle/test.dmp FROMUSER=TEST TOUSER=TEST
    and when i execute following query
    SELECT table_name,last_analyzed FROM DBA_TABLES WHERE owner=TEST'
    I find that table/indexes are analyzed automatically.
    Does it means statistics are gathered automatically during import?
    Oracle 10.2.0.1

    Refer to this link please
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1020893
    It seems it takes statistics for tables during export
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • OSB: ALSB Statistics Manager Error

    Dear all,
    I got this error msg,
    <Jun 29, 2012 5:36:00 PM ICT> <Error> <ALSB Statistics Manager> <BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator
    java.security.PrivilegedActionException: java.rmi.UnknownHostException: Could not discover URL for server 'bssesbdm1'
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.lookupJNDI(WlsRemoteServerImpl.java:83)
         at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(ALSBStatisticsManager.java:291)
         at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$000(ALSBStatisticsManager.java:38)
         Truncated. see log file for complete stacktrace
    Caused By: java.rmi.UnknownHostException: Could not discover URL for server 'bssesbdm1'
         at weblogic.protocol.URLManager.findURL(URLManager.java:145)
         at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.getInitialContext(WlsRemoteServerImpl.java:133)
         at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.access$000(WlsRemoteServerImpl.java:56)
         at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl$1.run(WlsRemoteServerImpl.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Jun 29, 2012 5:39:01 PM ICT> <Error> <Monitoring> <BEA-000000> <VersionIncompatibilityException detail:
    Versions (this, other):
         (-8718457713883866580, -3257523398790736559)
    Resource version that differ (this, other):
         (nonexisting, 7939255952039589595)
         (nonexisting, -2571034341091110885)
         (4922128814104398101, nonexisting)
         (nonexisting, 2959775698021086633)
         (nonexisting, 7619734982621514655)
         (nonexisting, -631632660728940988)
         (-6962817245131479838, nonexisting)
         (4817050921499265318, -4436298627369639604)
         (-5177782194385626164, -3283830087695183814)
    Please suggest me how to solve this.
    Thank you

    Hi Eric,
    Thank you for your reply.
    The error occur when I started both M1 and M2 server.
    I've already restart all manage and the admin server, set the singleton to only one managed server and set the cluster address but I still get the same error log.
    Any help would be appreciated.
    Thank you

Maybe you are looking for