Update statistics job

Dear All,
I keep getting the following error message when trying to run the update statistics job, I wanted to know what would be the best approch as it is a critical server please?
failed with the following error: "Could not allocate space for object 'dbo.'databasename'.'PK_'''''''' in database 'databasename' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
Thank you in advance!

Thank you for your reply! there are already 2 primary files and I'm not sure if there are any implications on creating more files. One of the primary files are set to grow by 500mb with unrestricted grow and the other file with 500mb with restiricted
grow?
There is no need to create multiple data files if one of your data file is on RAID 10.You can create secondary data file if primary data file is on disk which is almost full .If both files are on same drive it is useless
What you should do is disable autogrowth on one data file which seems to be large and will run out of space in near future .enable autogrowth fro data file which is small and then try running updatestats you will suceed
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Similar Messages

  • Update statistics failed

    Hi All,
    I am geting the following error in the DB13 update statistics jobs.
    BR0986W Index SAPRP1.DD31S~0 is unbalanced - please rebuild the index
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -604 at location stats_ind_collect-2
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01089: immediate shutdown in progress - no operations are permitted
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYAX~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -1089 at location stats_ind_collect-2
    ORA-01089: immediate shutdown in progress - no operations are permitted
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYAX~VIE
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYBA~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYBB~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    Please help me with it
    Thanks and regards,
    Tajinder

    'UPDATE SAP_SDBAD SET LINE = 'A 00000000 0000000000000000 00000000 00079877 00000174 00000172 00000000 00000000 00000
    Hi ALL
    i'm getting below error in db13, please help me
    ORA-03114: not connected to ORACLE
    BR0325W Writing to database log failed
    BR0280I BRCONNECT time stamp: 2013-05-06 21.44.15
    BR0301W SQL error -3114 at location thr_db_disconnect-1, SQL statement:
    'COMMIT RELEASE'
    ORA-03114: not connected to ORACLE
    BR0327W Disconnect from database instance RGP failed
    BR0806I End of BRCONNECT processing: celdhczg.sta2013-05-06 21.44.15
    BR0280I BRCONNECT time stamp: 2013-05-06 21.44.15
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 5
    BRCONNECT returned error status E
    Job finished

  • Change Update stats job creteria

    Hi ,
    As per my understanding Update statistics job Update stats of table if it has been changed more than 50%.
    Please suggest where we can check this value set for job and How can we change it.
    Regards,
    Shivam Mittal

    Hi Shivam,
    You can set the "stats_change_threshold" parameter, in "init<DBSID>.sap" file. Check http://help.sap.com/saphelp_bw30b/helpdata/en/02/0ae0c6395911d5992200508b6b8b11/content.htm
    Best regards,
    Orkun Gedik

  • Update statistics error in prod

    Dear Experts ,
    we are facing an error while updating statistics by using db13
    please check on log below
    18.05.2011     18:52:41     Job started
    18.05.2011     18:52:41     Step 001 started (program RSDBAJOB, variant &0000000000047, user ID BASIS)
    18.05.2011     18:52:42     No application server found on database host - rsh/gateway will be used
    18.05.2011     18:52:42     Execute logical command BRCONNECT On host PRDHOSR
    18.05.2011     18:52:42     Parameters: -u / -jid STATS20110518185240 -c -f stats -t ALL
    18.05.2011     18:53:34     BR0801I BRCONNECT 7.00 (40)
    18.05.2011     18:53:34     BR1304W Checking SAP license failed at location BrLicCheck-108
    18.05.2011     18:53:34     BR0602W No valid SAP license found - please contact SAP
    18.05.2011     18:53:34     BR0805I Start of BRCONNECT processing: cefxifuy.sta 2011-05-18 18.52.44
    18.05.2011     18:53:34     BR0484I BRCONNECT log file: /oracle/PRD/sapcheck/cefxifuy.sta
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.52.53
    18.05.2011     18:53:34     BR0813I Schema owners found in database PRD: SAPSR3*, SAPSR3DB%
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.05
    18.05.2011     18:53:34     BR0814I Number of tables/partitions in schema of owner SAPSR3: 32818/10
    18.05.2011     18:53:34     BR0836I Number of info cube tables found for owner SAPSR3: 143
    18.05.2011     18:53:34     BR0814I Number of tables in schema of owner SAPSR3DB: 722
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.24
    18.05.2011     18:53:34     BR0815I Number of indexes/partitions in schema ofowner SAPSR3: 43208/13
    18.05.2011     18:53:34     BR0815I Number of indexes in schema of owner SAPSR3DB: 1051
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.29
    18.05.2011     18:53:34     BR0818I Number of tables found in DBSTATC for owner SAPSR3: 814
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.29
    18.05.2011     18:53:34     BR0807I Name of database instance: PRD
    18.05.2011     18:53:34     BR0808I BRCONNECT action ID: cefxifuy
    18.05.2011     18:53:34     BR0809I BRCONNECT function ID: sta
    18.05.2011     18:53:34     BR0810I BRCONNECT function: stats
    18.05.2011     18:53:34     BR0812I Database objects for processing: ALL
    18.05.2011     18:53:34     BR0851I Number of tables with missing statistics:0
    18.05.2011     18:53:34     BR0852I Number of tables to delete statistics: 0
    18.05.2011     18:53:34     BR0854I Number of tables to collect statistics without checking: 0
    18.05.2011     18:53:34     BR0855I Number of indexes with missing statistics: 0
    18.05.2011     18:53:34     BR0856I Number of indexes to delete statistics: 0
    18.05.2011     18:53:34     BR0857I Number of indexes to collect statistics: 0
    18.05.2011     18:53:34     BR0853I Number of tables to check (and collect ifneeded) statistics: 33537
    18.05.2011     18:53:34     BR0126I Unattended mode active - no operator confirmation required
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.31
    18.05.2011     18:53:34     BR0817I Number of monitored/modified tables in schema of owner SAPSR3: 32818/1055
    18.05.2011     18:53:34     BR0817I Number of monitored/modified tables in schema of owner SAPSR3DB: 722/8
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.33
    18.05.2011     18:53:34     BR0301E SQL error -2132 at location thr_db_connect-3, SQL statement:
    18.05.2011     18:53:34     'ENABLE THREADS'
    18.05.2011     18:53:34     SQL-02132: Message 2132 not found; No message file for product=precomp, facility
    18.05.2011     18:53:34     BR0310E Connect to database instance PRD failed
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0806I End of BRCONNECT processing: cefxifuy.sta2011-05-18 18.53.33
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.34
    18.05.2011     18:53:34     BR0804I BRCONNECT terminated with errors
    18.05.2011     18:53:34     External program terminated with exit code 5
    18.05.2011     18:53:34     BRCONNECT returned error status E
    18.05.2011     18:53:34     Job finished
    please help to solve this error in production
    Regards

    Dear Experts ,
    now i got an error
    because of oracle client update statistics are failed now i required to upgrade oracle client
    please share your valiable knoledge how can i upgrade my oracle client 10.2.0.2 to 10.2.0.4, i checked note 819829 now i need your suggesitions on this activity
    and also pre - requsits to upgrade (steps)
    Regards

  • DB13 - Scheduled Update Statistics not run - Error

    Hello gurus,
    I´m faccing with an error in DB13, I scheduled Update statistics every day but it did not run due an error.
    I think this may resulted because an authorization problem.
    In /usr/sap is with this permissions:
    drwxr-xr-x  15 orad01 dba   4096 Oct 18 16:34 sap
    The /oracle/D01/sapcheck is with the following permissions:
    drwxr-xr-x  2 orad01 dba     4096 Nov 14 20:28 sapcheck
    Inside of sapcheck directory I can see the following files with permissions:
    -rw-r--r-- 1 orad01 dba       32262 Oct 14 13:16 ceeimamu.sta
    -rw-r--r-- 1 orad01 dba        2705 Oct 15 17:42 ceeisafo.sta
    -rw-r--r-- 1 orad01 dba        2705 Oct 15 17:50 ceeisazq.sta
    -rw-r--r-- 1 orad01 dba        1932 Oct 15 17:58 ceeisbie.sta
    -rw-r--r-- 1 orad01 dba        1791 Oct 15 22:16 ceeisyhm.sta
    -rw-r--r-- 1 orad01 dba        1931 Oct 15 22:24 ceeisyta.sta
    -rw-r--r-- 1 orad01 dba    19394261 Oct 15 23:45 ceeiszph.sta
    -rw-r--r-- 1 orad01 dba        1930 Nov  9 11:27 ceenjunx.sta
    -rw-r--r-- 1 orad01 dba        1790 Nov  9 11:38 ceenjvuv.sta
    -rw-r--r-- 1 orad01 dba      143103 Nov  9 11:40 ceenjwnr.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:46 ceeosxxw.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:49 ceeosydo.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:54 ceeosyqi.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 15:57 ceeotefd.sta
    -rw-r--r-- 1 orad01 dba       18530 Nov 16 16:27 ceeotgun.sta
    -rw-r--r-- 1 orad01 dba         996 Nov 16 16:27 connD01.log
    In DB13 at details error, it show the following statements:
    Job executado
    Etapa 001 executada (program.RSDBAJOB, variante &0000000000016, nome usuário XNSJAD)
    Execução do comando lógico BRCONNECT No host segoviad04
    Parâmetros: -u / -jid STATS20101123153214 -c -f stats -t ALL
    BR0801I BRCONNECT 7.20 (7)
    BR0301E SQL error -2133 at location BrOraThrEnable-1, SQL statement:
    'ENABLE THREADS'
    BR0806I End of BRCONNECT processing: ceeqbmqh.sta2010-11-23 15.32.15
    BR0280I BRCONNECT time stamp: 2010-11-23 15.32.15
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job encerrado
    Can you help me please!? I do not know how to solve this situation...
    Best regards,
    João Dimas - Portugal

    This wasn´t a new installation... this was a migration from windows/sql server to linux/oracle... and after that migration process I made an oracle upgrade to 11.2g and during this oracle upgrade we upgrade the BRtools to 7.20 version.
    I set up other job from DB13 (Verify database) and also it not ran well, it show an error too, but a diferent one:
    Parameters:-u / -jid VERIF20101110030000 -c force -w only_dbv -p initD01.sap -m ALL
    BR0051I BRBACKUP 7.20 (7)
    BR0055I Start of database backup: beeqitms.dbv 2010-11-25 03.00.06
    BR0484I BRBACKUP log file: /oracle/D01/sapbackup/beeqitms.dbv
    BR0477I Oracle pfile /oracle/D01/112_64/dbs/initD01.ora created from spfile /oracle/D01/112_64/dbs/spfileD01.ora
    BR0068E SAP system is running or SAP user is connected to database D01 - database cannot be shut down
    BR1025I Please shut down SAP system first or use the 'offline_force' option
    BR0056I End of database backup: beeqitms.dbv 2010-11-25 03.00.09
    BR0280I BRBACKUP time stamp: 2010-11-25 03.00.09
    BR0054I BRBACKUP terminated with errors
    External program terminated with exit code 3
    BRBACKUP returned error status E
    I also checked the permissions in /usr/sap folder and sub folders as per the link you put here... and everything is well... but tell me one thing which owner/group must have set in /usr/sap/ directory? In that help sap link it doesn´t show any suggestion in this column, so I don´t know in this case which owner and group must have set... In my case the /usr/sap/ and dba as group:
    drwxr-xr-x 28 orad01 dba      4096 Nov 23 15:20 D01
    Kind regards,
    João Dimas - Portugal

  • Autom. Gather Statistics Job

    Hello,
    i am facing following problem with the automatic gather statistics job which is running every night.
    The jobs starts when the weeknight/weekend_maintenance_windows opens, runs approx. 30 minutes and rebuilds statistics for around 270 objects. But when we check the status of objects next morning or immediate after jobrun, we still find hundrets of objects with stale statistics. We are not facing any heavy performance problems, but i want to know why we found stale statistics. The job uses 30 minutes of the 480 minutes window, so in my opinion there is plenty of time for all objects to create new statistics.
    Is this normal behaviour?
    Can't find anything in metalink.
    Systeminfo:
    Host: HP-UX 11.31
    DB: 10.2.0.4
    Regards
    Ulli

    Ulli,
    uwaldt wrote:
    Hello Randolf,
    we check if column stale_stats contains a 'YES'. The column 'last_analyzed' is filled with a date.OK, and the date corresponds to the latest run of the automatic statistics gathering job or is it outdated? What is the content of the corresponding TABMODIFICATIONS view in that case?
    After we check sthe SQL-script with the 'original' check via dbms_stats.gather_schema_stats, we see that there is a difference between all_tab/ind_statistics and the real value in tabmodifications.Apologies, but I'm not able to follow: What is the "difference between all_tab/ind_statistics and the real value in *_tab_modifications"? You mean to say that the list of objects marked as "STALE_STATS = YES" column differs from the output of the "LIST STALE" call?
    But what shows grid-control if we check there for stale stats?Good question, I can't answer since I seldom use the GUI tools.
    The next is, the developers in house argue with the all_tab/ind_statistics and blame the DBA's to do their housekeeping, especially if the users complain bad performance. I knew that the gather_job do his work, but we can't show it probable to the developers.This all sounds a bit odd. Two comments:
    1. It is possible in 10g to lock the statistics of tables, so that the automatic statistics collection job doesn't touch them. It's quite unlikely since you have to invoke it manually/explicitly using DBMS_STATS.LOCK_TABLE/SCHEMA_STATS, but may be you want to check the column STATTYPE_LOCKED in the TABSTATISTICS views for those objects in question, just to make sure.
    2. All the monitoring related information (*TABMODIFICATIONS/STALE_STATS column etc.) is usually only updated every three hours or if a call to DBMS_STATS.GATHER_STATS is performed. If you want to manually invoke the flush of the monitoring info, you can call DBMSSTATS.FLUSH_DATABASE_MONITORING_INFO to make sure that you look at the latest monitoring information available.
    Above point might explain that you can spot differences/inconsistencies before/after calling DBMS_STATS.GATHER_SCHEMA_STATS to list the stale objects.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Database updates statistics maintenance plan issue.

    Hi team,
    We are configured one job through maintenance plan that job name is “database update statistics” and database size is 280 Gb, this job executing 13 to 15 hours but job was not finished  still it’s continually running.
    This same job I am running through below script it’s executing within 2 hours.
    Use database
    Go
    Exec sp_updatestats
    What is the main problem if this maintenance plan.
    Note: on this server no jobs and no traffic, only abc_update subpaln1 Job.

    Hello,
    Updating stats for whole database which is 280 G will always result in problem.It is better to run update statistics for tables and indexes which are changed frequently.
    Now to your question few points which sp_Updatestas list in BOL
    http://technet.microsoft.com/en-us/library/ms173804.aspx
    sp_updatestats updates statistics on disabled nonclustered indexes and does not update statistics on disabled clustered indexes.
    sp_updatestats updates only the statistics that require updating based on the rowmodctr information in the sys.sysindexes catalog view, thus avoiding unnecessary updates of statistics
    on unchanged rows.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to Schedule Java statistics job

    Hi All,
    We have a installed a NW07 Portal system on one of the unix boxes.Now we would like to run the oracle statistics on the same. Since there is no ABAP stack, we can't schedule the same thru db13. Is there anyway we can run the same.
    Can I configure the Java statistics jobs for this from the central solution manager using the DBACOCKPIT.
    Can somebody tell how to do this??
    Thanks for the help.
    Regards
    Ravi

    Ravi,
    Chek out the Following SAP Note as well as the PDF's to accomplish the task.:
    Note 1027146 - Database administration and monitoring in the DBA Cockpit
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/107aa3f5-2302-2a10-f990-b4d2af1aaca0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10
    Regards,
    Karthick Eswaran

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • How to check/verify running sql in lib cache is using updated statistics of table

    How to check/verify running sql in lib cache is using updated statistics of table used in from clause.
    one of my application table is highly busy i.e frequent update/insert/delete.
    we gather table stats every 30 min.

    Hello, "try dynamic sampling" = think "outside the box", maybe hit two birds with same stone.
    As a matter of fact, I was just backing up your statement: "30 minutes seems pretty extreme"
    cheers

  • Update statistics with 640_EX2 kernel

    Hello,
    I'm no longer able to do UPD_CHECK, UPD_COND and UPD_UNCOND since upgrading to a 640_EX2 kernel.
    This happens on WebAS 6.20 on Linux IA32 and on WebAS 6.40 on Linux X86_64. Scheduling backups and verifys still works from db13. MaxDB version is 7.6.4.07. The problem exists with versions 120 and 212 of dbadaslib.so.
    Are these commands working for anyone? I suspect this could be one of these nice C++ ABI incompatibility problems, because libSQLDBC76.so is linked against libstdc+.so.5 and dbadaslib.so is linked against libstdc.so.5 and libstdc+.so.6.
    Since I am on an unsupported Linux distro I would like to know whether this happens on supported distros, too.
    Thank you,
    Sebastian

    Thank you for pointing me to the logs again, I scanned them too superficially last time.
    This is written to the trace file of a batch process:
    C  Starting Update Statistics on connection 2 ...     
    C  *** ERROR => connection for UPDSTAT is not available
    [dbupdsdb.cpp 140]
    This is interesting, because the connection test in db59 is successful for all 4 types of connections.

  • Function Module or BAPI to update a job's parameters like Spool retention

    Hi All,
    Anyones knows any BAPI or Function Module through with we can update a job's parameters  like Spool retention period or Spool request title or some other printer settings.
    Thanks in Advance.
    Regards,
    Shailendra

    Hi,
    BAPI_XBP_JOB_HEADER_MODIFY

  • SQL 2008 R2 Best Practices for Updating Statistics for a 1.5 TB VLDB

    We currently have a ~1.5 TB VLDB (SQL 2008 R2) that services both OLTP and DSS workloads pretty much on a 24x7x365 basis. For many years we have been updating statistics (full scan- 100% sample size) for this VLDB once a week on the weekend, which
    is currently taking up to 30 hours to complete.
    Somewhat recently we have been experiencing intermitent issues while statistics are being updated, which I doubt is just a coincidence. I'd like to understand exactly why the process of updating statistics can cause these issues (timeouts/errors). My theory
    is that the optimizer is forced to choose an inferior execution plan while the needed statistics are in "limbo" (stuck between the "old" and the "new"), but that is again just a theory. I'm somewhat surprised that the "old" statistics couldn't continue to
    get used while the new/current statistics are being generated (like the process for rebuilding indexes online), but I don't know all the facts behind this mechanism yet so that may not even apply here.
    I understand that we have the option of reducing the sample percentage/size for updating statistics, which is currently set at 100% (full scan).  Reducing the sample percentage/size for updating statistics will reduce the total processing time, but
    it's also my understanding that doing so will leave the optimizer with less than optimal statistics for choosing the best execution plans. This seems to be a classic case of not being able to have one’s cake and eat it too.
    So in a nutshell I'm looking to fully understand why the process of updating statistics can cause access issues and I'm also looking for best practices in general for updating statistics of such a VLDB. Thanks in advance.
    Bill Thacker

    I'm with you. Yikes is exactly right with regard to suspending all index optimizations for so long. I'll probably start a separate forum thread about that in the near future, but for now lets stick to the best practices for updating statistics.
    I'm a little disappointed that multiple people haven't already chimed in about this and offered up some viable solutions. Like I said previously, I can't be the first person in need of such a thing. This database has 552 tables with a whole lot more statistics
    objects than that associated with those tables. The metadata has to be there for determining which statistics objects can go (not utilized much if at all so delete them- also produce an actual script to delete the useless ones identified) and what
    the proper sample percentage/size should be for updating the remaining, utilized statistics (again, also produce a script that can be used for executing the appropriate update statistics commands for each table based on cardinality).
    The above solution would be much more ideal IMO than just issuing a single update statistics command that samples the same percentage/size for every table (e.g. 10%). That's what we're doing today at 100% (full scan).
    Come on SQL Server Community. Show me some love :)
    Bill Thacker

  • Updating statistics after insert

    Is it possible, without creating a custom post-map process, to update statistics after inserting rows into a table. I've tried setting different parameters within OWB to no avail.
    Please respond only if you have actually succeeded in updating statistics without writing code. I've already read the docs and experimented.
    Thanks.
    Garrett

    Hi,
    why do you think so? The analyze configuration
    results in a procedure which calls
    WB_RT_MAPAUDIT_UTIL_INVOKER for each target table
    which then calls the DBMS_STATS-Package? What is
    misssing for the CBO? I'm a little bit confused?!
    Regards,
    DetlefThanks for the info. I'm a little confused. I thought that I had the analyze table box checked in the configuration and statistics were not updated. However, when I looked again, it was not checked. My error. Ran another test and statistics were updated. Sorry for the confusion.
    G.

  • PeopleSoft Database Update Statistics

    I am trying to find out what is the best practices for implementing the Update statistics on Psoft Database. Any help or documentation regarding will be a great help
    I am looking for
    what is the best practice for update statistics on oracle , Intervals , Tables , do we need to include any custom script to generate and include all big tables.

    I was the one who designed the pscbo_stats package to leverage the statistics collection techniques used in EBS and Seibel. (Mr. Sierra was the wizard who coded it.) I just noticed this thread and wanted to comment.
    If you are using the pscbo_stats, the gather_schema_stats() procedure will by default gather only stale statistics, so it can be run regularly. I suggest weekly. You can follow the contents of the pscbo_log table for historical data for all (non-dynamic) stats gathering activities.
    If you find there is a table that constantly stale and forcing you to think that the schema statistics should gathered more often, you may want to have two schedules - one weekly for schema, and one more often (daily?) to capture the more volatile objects excepting, of course, those that are already dynamically sampled.
    There may be objects that are volatile enough that they should be added to the Stage Table Exception table. (see the stage_table_ins() procedure) We added that feature to configure dynamic sampling to work on volatile table - tables that are not working storage for COBOL and App Engine but are so often stale that they should be dynamically sampled.
    I find that there are a few transactional tables that work well when dynamically sampled. For example, PSTREESELECT* tables can be problematic if they are dynamically rebuilt by a nVision report book - the end points can get stale quickly. They may be a good candidate for dynamic sampling.
    Lastly, I am very interested to know user experience with the pscbo_stats package. Please post your comments to the communities.oracle.com forum for "Install/Upgrade PSFT".

Maybe you are looking for

  • Restoring multiple iPhones, updates prompt with wrong credentials?

    Good morning all, At my job I am responsible for deploying new iPhones to our users. We recently upgraded all iPhone 4 devices and are giving users iPhone 5c. I connect their old devices to my computer to back them up as a new device, and when I conn

  • How to make dynamic PDF form flowable across 2 pages in LiveCycle?

    I have a dynamic PDF form that is flowable on each page but not both. By that I mean that the fields on the 2nd page won't move to the 1st page if there is available space. How can I make the entire document flowable? I am using Adobe LiveCycle ES2 D

  • Why do I click on an icon for a program on a z10 and have the program immediately crash?

    I'm having an issue with some programs from BlackBerry World on my z10. The programs download and install, but when I click on the icon to open the program, it immediately crashes & I go back to the home screen. How can I make these programs run?

  • Change of Maint. Item in Maint Plan

    Hi Experts, is it possible to change of call object in Maintenance Plan, as initially i've created maint plan with call object as order, now instead of order ,i want Notification as call object, please guide me if this is possible, or i've to delete

  • Probelm in calling ME23N from WebDynpro ABAP application.

    Dear All, My requirement is to call the transaction ME23N by doing some action from WDA application. And I have to pass the Purchase Order Nubmer from this WDA application. This is for your information, For this I have created the Transactional iView