Database stats

Hi,
I want to know if I disable stats gathering in the database then what would the optimizer do when a query will be executed? will it calculate statistics on run time? If yes then what will be the overhead?. Also suggest me for large table is it recommended to calculate stats as it take long time. If some can provide a brief explanation on this then I will be very thankful, i tried checking to Google but cannot find relevant material.
Thanks in advance.

9135487 wrote:
Thanks Aman, I have Oracle 11.2.0.3.0
Stat gathering is not stopped but I just wanted to know what if one has to stop and and what would be the impact of stopping stats on query execution. So now if i stop it no dynamic sampling would be done? as the CBO will use old stats? What would you suggest in this case?Have a look and hope it clears your doubt,
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL> create table t as select * from scott.emp;
Table created.
SQL> set autot trace exp
SQL> select * from t;
Execution Plan
Plan hash value: 1601196873
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      |    14 |  1218 |     2   (0)| 00:00:01 |
|   1 |  TABLE ACCESS FULL| T    |    14 |  1218 |     2   (0)| 00:00:01 |
Note
   - dynamic sampling used for this statement (level=2)
SQL> exec dbms_stats.gather_table_stats(user,'T');
PL/SQL procedure successfully completed.
SQL> select * from t;
Execution Plan
Plan hash value: 1601196873
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      |    14 |   532 |     2   (0)| 00:00:01 |
|   1 |  TABLE ACCESS FULL| T    |    14 |   532 |     2   (0)| 00:00:01 |
SQL> insert into t select * from t;
14 rows created.
Execution Plan
Plan hash value: 1601196873
| Id  | Operation                | Name | Rows  | Bytes | Cost (%CPU)| Time
|
|   0 | INSERT STATEMENT         |      |    14 |   532 |     2   (0)| 00:00:01
|
|   1 |  LOAD TABLE CONVENTIONAL | T    |       |       |            |
|
|   2 |   TABLE ACCESS FULL      | T    |    14 |   532 |     2   (0)| 00:00:01
|
SQL> /
28 rows created.
Execution Plan
Plan hash value: 1601196873
| Id  | Operation                | Name | Rows  | Bytes | Cost (%CPU)| Time
|
|   0 | INSERT STATEMENT         |      |    14 |   532 |     2   (0)| 00:00:01
|
|   1 |  LOAD TABLE CONVENTIONAL | T    |       |       |            |
|
|   2 |   TABLE ACCESS FULL      | T    |    14 |   532 |     2   (0)| 00:00:01
|
SQL> commit; 
Commit complete.
SQL> set autot off
SQL> select num_rows from user_tables where table_name='T';
  NUM_ROWS
        14
SQL> select count(*) from t;
  COUNT(*)
        56
SQL> set autot trace exp
SQL> select * from t;
Execution Plan
Plan hash value: 1601196873
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      |    14 |   532 |     2   (0)| 00:00:01 |
|   1 |  TABLE ACCESS FULL| T    |    14 |   532 |     2   (0)| 00:00:01 |
SQL> So as you should be able to see, the CBO still believes that I have got just 14 rows in my table whereas the actual count is far higher. So obviously I would be required to refresh the stats again.
HTH
Aman....

Similar Messages

  • Alter database statement in anonymous pl/sql block

    Is it possible to include an alter database statement in an anonymous pl/sql block?
    When I execute this code to query user_tables for all table names, disable their constraints and drop the table, I got the following error:
    ***MY CODE
    -- DECLARE VARIABLE(S)
    DECLARE
         v_TABLE_NAME TABLE_NAME.USER_TABLE%TYPE;
    -- DECLARE AND DEFINE CURSOR
    CURSOR c_GETTABLES is
         SELECT TABLE_NAME from USER_TABLES;
    BEGIN
    OPEN c_GETTABLES;
    LOOP
    FETCH c_GETTABLES into v_TABLE_NAME;
    EXIT when c_GETTABLES%notfound;     
    ALTER TABLE v_TABLE_NAME DISABLE PRIMARY KEY CASCADE;
    DROP TABLE v_TABLE_NAME;
    END LOOP;
    CLOSE c_GETTABLES;
    END;
    ***RESPONSE FROM SERVER
    ALTER TABLE v_TABLE_NAME DISABLE PRIMARY KEY CASCADE;
    ERROR at line 15:
    ORA-06550: line 15, column 1:
    PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe
    Thanks

    When you want to perform ddl statements in a (anonymous) PL/SQL block, you have to use dynamic SQL because ddl is not possible in pl/sql.
    Dynamic sql means that you sort of execute ddl statements in a sql manner. To use dynamic sql, two options exist:
    - dbms_sql package : for oracle before 8i. To use this package is not always easy. Read about it carefully first before using.
    - Native Dynamic SQL : implemented in 8i and very easy to use. An example would be :
    declare
    lv_statement varchar2(32676);
    begin
    lv_statement := 'ALTER TABLE MY_TABLE DISABLE CONSTRAINT MY_TABLE_CK1';
    execute immediate lv_statement;
    lv_statement := 'ALTER TABLE MY_TABLE ENABLE CONSTRAINT MY_TABLE_CK1';
    execute immediate lv_statement;
    end;
    Good luck.
    Edwin van Hattem

  • Query regarding standby database state when primary is down or un-reachable

    Hi
    I want to know if there is any reflection on the standby database states when it's primary is down or not reachable? I want to use this information from standby node to determine if I can programatically execute (dgmgrl) failover operation or not? This is considering that the broker configuration has no fast-startfailover and no observer enabled/configured.
    Thanks,
    Yojana

    989192 wrote:
    Hi
    I want to know if there is any reflection on the standby database states when it's primary is down or not reachable? I want to use this information from standby node to determine if I can programatically execute (dgmgrl) failover operation or not? This is considering that the broker configuration has no fast-startfailover and no observer enabled/configured.
    Thanks,
    YojanaYou don't have exactly such option,
    But you have alternate for it. Whenever standby is unreachable to primary then from standby alert log file you can see informational messages as RFS: Possible network disconnect with primary database , So you can write a script to grep those contents and to mail alert, so that you can sense whether any issue with primary database.
    HTH.

  • Shrink Log file in log shipping and change the database state from Standby to No recovery mode

    Hello all,
    I have configured sql server 2008 R2 log shipping for some databases and I have two issues:
    can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No
    Truncate" option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge and it will take time to restore in the DR site, so the reconfiguration
    is not an option :( 
    how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need
    to do this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator

    1. can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No Truncate"
    option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge
    and it will take time to restore in the DR site, so the reconfiguration is not an option :( 
    2. how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need to do
    this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator
    1. If you change recovery model of database in logshipping to simple and back to full Logshipping will break and logs wont be resored on Secondary server as log chain will be broken.You can shrink log file of primary database but why would you need that
    what is schedule of log backup. Frequent log backup is already taking care of log files why to shrink it and create performance load on system when log file will ultimately grow and since because instant file initilaization is not for Log files it takes time
    to grow and thus slows performace.
    You said you want to shrink as Database size is huge is it huge or does it have lots of free space. dont worry about data file free space it will eventually be utilized by SQL server when more data comes
    2. You are following wrong method changing state to no recovery would not even allow you to run select queries which you can run in Standby mode. Please refer below link to move Secondary data and log files
    http://www.mssqltips.com/sqlservertip/2836/steps-to-move-sql-server-log-shipping-secondary-database-files/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Specify datafiles in the create database statement-plz help

    hi i have the following create database statement...
    i need to add 2 more datafile and a tablesapce for data named dqdata.. how do i do that...
    create database ABC123
    logfile group 1 ('/retu/oraredo/ABC123/redo01.log') size 500M,
    group 2 ('/retu/oraredo/ABC123/redo02.log') size 500M,
    group 3 ('/retu/oraredo/ABC123/redo03.log') size 500M
    character set WE8ISO8859P1
    national character set utf8
         datafile '/retu/oracle/oradata/dev/ABC123/system01.dbf'
    size 2000M
    autoextend on
    next 100M maxsize unlimited
         extent management local
    sysaux datafile '/retu/oracle/oradata/dev/ABC123/sysaux01.dbf'
    size 2000M
    autoextend on
    next 100M
    maxsize unlimited
    undo tablespace UNDO
    datafile '/retu/oracle/oradata/dev/ABC123/undo01.dbf'
    size 2000M,
         datafile '/retu/oracle/oradata/dev/ABC123/undo02.dbf'
    size 2000M,
         datafile '/retu/oracle/oradata/dev/ABC123/undo03.dbf'
    size 2000M,
    default temporary tablespace temp
    tempfile '/retu/oracle/oradata/dev/ABC123/temp01.dbf'
    size 2000M,
         tempfile '/retu/oracle/oradata/dev/ABC123/temp02.dbf'
    size 2000M,
         tempfile '/retu/oracle/oradata/dev/ABC123/temp03.dbf'
    size 2000M;
    =======================
    THESE ARE THE DATAFILES I NEED AND EACH IS OF 2000M...
    FOR DATA TBALESPACE NAMED DQDATA----
    /retu/oracle/oradata/dev/ABC123/dqdata01.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata02.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata03.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata04.dbf
    /retu/oracle/oradata/dev/ABC123/dqdata05.dbf
    FOR INDEX TABLESPACE NAMED DQINDEX
    /retu/oracle/oradata/dev/ABC123/dqindex01.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex02.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex03.dbf
    /retu/oracle/oradata/dev/ABC123/dqindex04.dbf
    /retu/oracle/oradata/dev/ABC123/system01.dbf
    /retu/oracle/oradata/dev/ABC123/temp01.dbf
    /retu/oracle/oradata/dev/ABC123/temp02.dbf
    /retu/oracle/oradata/dev/ABC123/temp03.dbf
    /retu/oracle/oradata/dev/ABC123/undo01.dbf
    /retu/oracle/oradata/dev/ABC123/undo02.dbf
    /retu/oracle/oradata/dev/ABC123/unod03.dbf
    COULD OU PLEASE LET ME KNOW HOW DO I DO THAT................
    AM VERY VERY CONFUSED I THIS...
    AND I SUPOSE I NEED TO CREATE THEM physically in the unix right?????
    please help
    /retu/oracle/oradata/dev/ABC123/sysaux

    Yes, you are right, there is no clause in CREATE DATABASE command to
    create additional tablespaces except the TEMPORARY and UNDO besides
    SYSTEM and SYSAUX. Here is link that you can refer to:
    http://www.lorentzcenter.nl/awcourse/oracle/server.920/a96521/create.htm#1000691

  • I need email whenever database state change in mirroring.

    Hi,
    I  am using SQL server 2005 SP1 in Windows server 2003.
    I need email whenever database state change in mirroring. As per below link I cannot enable Service Broker setting for user database while its enable for msdb.
    http://www.mssqltips.com/sqlservertip/1564/database-mirroring-automating-failover-for-multiple-sql-server-databases/
    Thanks

    http://www.mssqltips.com/sqlservertip/1859/monitoring-sql-server-database-mirroring-with-email-alerts/
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • FrontEnd1 reports Database state on primary and on Mirror DatabaseUnavailable

    I have a customer who have Lync Enterprise with 3 Front ends and SQL Backend and Mirror 
    On Frontend 1 the command "Get-CsDatabaseMirrorState -PoolFqdn lync.domain.com" reports that all databases state are unavailable while on Front end 2 and 3 it states normally "principal and mirror"
    I couldn't detect any errors on either Frontends or SQL Backend or Mirror. the Monitoring tool from tasks on SQL Management states that databases are syncing. 
    I have tried restarting the Frontend 1 but still the issue occurs. anyone had this problem before? 
    PS C:\Windows\system32> Get-CsDatabaseMirrorState -PoolFqdn lync.domain.com
    DatabaseName             : rtcab
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : rtcxds
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : rtcshared
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : lcscdr
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : qoemetrics
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : lcslog
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : rgsconfig
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : rgsdyn
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : cpsdyn
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : xds
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    DatabaseName             : lis
    StateOnPrimary           : DatabaseUnavailable
    StateOnMirror            : DatabaseUnavailable
    MirroringStatusOnPrimary : synchronızed
    MirroringStatusOnMirror  : synchronızed
    Mohammed JH

    Please run the command Get-CsManagementStoreReplicationStatus to check replication status for Lync Server computer.
    Check if you can telnet from FE1 to back end server via port 1433.
    Lisa Zheng
    TechNet Community Support

  • EXTRACT ALL CREATE DATABASE STATEMENTS?

    Hi,
    I manually created a database named demo, using CREATE DATABASE statement as follows:
    CREATE DATABASE demo
    USER SYS IDENTIFIED BY fyicenter
    USER SYSTEM IDENTIFIED BY fyicenter
    LOGFILE GROUP 1 ('/oraclexe/oradata/FYI/redo01.log') SIZE 10M,
    GROUP 2 ('/oraclexe/oradata/demo/redo02.log') SIZE 10M,
    GROUP 3 ('/oraclexe/oradata/demo/redo03.log') SIZE 10M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    MAXINSTANCES 1
    CHARACTER SET US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    DATAFILE '/oraclexe/oradata/FYI/system01.dbf' SIZE 32M REUSE
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '/oraclexe/oradata/FYI/sysaux01.dbf' SIZE 32M REUSE
    DEFAULT TABLESPACE tbs_1
    DEFAULT TEMPORARY TABLESPACE tempts1
    TEMPFILE '/oraclexe/oradata/demo/temp01.dbf'SIZE 20M REUSE
    UNDO TABLESPACE undotbs
    DATAFILE '/oraclexe/oradata/demo/undotbs01.dbf'
    SIZE 20M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
    Is is true that the database specification would be saved in a file located somewhere or this database specification(definition) would be recorded in a certain data dictionary table once the CREATE DATABASE statement is executed? If yes, what are the default database creation file name or name of the data dicitonary table?
    In other word, if someone would like to view the database definition of a created database, e.g. demo in this case, how would she or he be able to view all the create database statements as shown above?
    In MySQL, it would be SHOW DATABASE command. Is there any statement in Oracle equivalent to SHOW DATABASE to produre the similiar output?

    alter database backup controlfile to trace;
    a trace file is created in the "udump" folder that contains desired SQL
    but most folks would NEVER do it this way.
    Additional steps are required beyond what you stated.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1009122
    Last time I did a manual creation it took 2 - 3 HOURS to complete 2 scripts below
    Run Scripts to Build Data Dictionary Views
    Run the scripts necessary to build views, synonyms, and PL/SQL packages:
    CONNECT SYS/password AS SYSDBA
    @/u01/oracle/rdbms/admin/catalog.sql
    @/u01/oracle/rdbms/admin/catproc.sql
    EXIT
    Edited by: sb92075 on Feb 22, 2010 5:17 PM

  • Not creating  the UNDO tablespace in the CREATE DATABASE statement

    Another discrepancy here, between a book and the Self Test CD:
    Book:
    If the UNDO_MANAGEMENT parameter is set to AUTO, but in the CREATE DATABASE you didn’t specify an UNDO tablespace, Oracle wont start.
    Self-Test:
    If the database is set to AUTO undo management, and an UNDO tablespace is not specified in the CREATE DATABASE statement, the Oracle server creates an UNDO tablespace named SYS_UNSDOTS.
    which is correct?
    thanks.
    DA

    Yes thanks, the link you sent explains :
    If no undo tablespace has been specified during database creation or by the UNDO_TABLESPACE initialization parameter, then the first available undo tablespace in the database is chosen. If no undo tablespace is available, then the instance starts without an undo tablespace. You should avoid running in this mode.
    Which seems, to me, to address neither option I listed.
    The book is the Couchman, (9i)
    DA

  • Database state randomly switching from healthy to disconnected and healthy state and vice versa in exchange 2013 sp1

    Hi All ,
    In my environment we have DAG with three nodes .Two nodes are in PR site and one is in DR site .
    When i do the replication test on the node in DR site i am facing the below mentioned error message.
    RunspaceId       : a4cbb93c-18f4-4413-bdb6-34b2da05c402
    Server           : server3
    Check            : DBDisconnected
    CheckDescription : Checks if any database copies are in the 'DisconnectedAndHealthy' state.
    Result           : *FAILED*
    Error            : Continuous Replication for database 'DB-1\server3' is in a 'DisconnectedAndHealthy' state on server 'server3'.
                       Communications couldn't be established with the server hosting the active copy of this database. Log shipping is currently stopped for this database copy.
    All of you share me your suggestions and this is an production issue i need to fix this immediately.Please help me out on this case.
    Thanks & Regards S.Nithyanandham

    Make sure sleep NIC is not happening:
    http://blogs.technet.com/b/exchange/archive/2013/10/22/do-you-have-a-sleepy-nic.aspx
    Sounds like it could be related. 
    NOTICE: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • DBCA create database statement

    Hi,
    I am using DBCA for creating the database. But i am looking for the create database SQL statement that has been generated by DBCA.
    At the time of creating DB using DBCA i have given the option for "Generating Database scripts".
    But however i am not able to see the Create database SQL statement in those scripts location.
    Please help me out.
    Cheers

    Hi;
    What give you script path during installation? Please check under \<oracle_home>\admin\<database_name>\scripts
    Please review:
    http://docs.oracle.com/cd/B28359_01/install.111/b28264/scripts.htm#CIHEIDIA
    Ps: By the way you can get script after dbca done.Please see: http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html
    Regard
    Helios

  • Updating Standard ODS through database statements

    Hi All,
    Is it possible to insert records directly into the active table of a standard ODS through database INSERT statements. If yes, then will such records show up in the BEx queries ?
    Regards,
    Satya

    Hi,
    I am planning to generate the report from ODS only. I want to update ODS through a program because the data i want to update does not come from R/3. I need to get the data by doing some lookups in BW syatem. What i want to know is if i update data direclty in the active table of the ODS, will it be visible in reports if i create a report on ODS ?
    Regards,
    Satya

  • Database stats in 10g

    please anyone give me the command to gather stats for whole database

    HI,
    You can check this part of Oracle document  http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#PFGRF30102  also note. and ORACLE - DBA Tips Corner
    Enabling Automatic Statistics Gathering  Automatic statistics gathering is enabled by default when a database is created, or when a database is upgraded from an earlier database release. You can verify that the job exists by viewing the DBA_SCHEDULER_JOBS view:
    SELECT * FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'GATHER_STATS_JOB';
    In situations when you want to disable automatic statistics gathering, the most direct approach is to disable the GATHER_STATS_JOB as follows:
    BEGIN   DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB'); END; /
    How to run Gather Stats For Whole Database. - General Questions
    Thank you

  • Missing "Step Result Property" when configure multiple numeric limit database statement

    In the NI article "Creating a TestStand Database Schema from Scratch" (http://www.ni.com/white-paper/6484/en/), it mentioned option "Apply To: Step Result Property" for statement "MEAS_NUMERIC_LIMIT". But I could not find "Step Result Property" in TestStand 4.2.1 as shown below:
    Is there a workaround for this issue?
    Thanks

    Step Result is for operating on the step result itself if the required criteria is met, so this can occurs only once per step result. Property Result is evaluated on all subproperties of the step result and is processed if the required criteria is met, so this could occur more than once per step result.
    Scott Richardson
    National Instruments

  • Unicode conv. Update Database Stats - DB20

    Hi all
    I am on SAP ERP2005 on Windows 2003 server 64 bit and MSSQL 2005. I am doing a unicode conversion, and as a prerequisite it is recommended that I update database statistics. I have tried to do the DB export using SAPInst tools, but the export fails on table STXH. A colleague told me to update the stats for this table.. DB20 was the obvious tool, but this is not supported for SQL 2005.. How can I proceed to update statistics?
    Thanks!
    Regards,
    Thomas

    Hi,
    Use transaction DB02 => Detailed Analysis.
    Select your table, and on the following screen you can select "Update statistics".
    Regards
    Rolf

Maybe you are looking for

  • IMAP/SMTP outg-mail not delevered but same settings in 10.5 Mail no problem

    Hello, Ik have a rather strange problem: I have a exchange 2003 server and i have set my iPhone to use IMAP and SMTP (with authentication). When i use the settings on my iPhone the outgoing mails don't arrive (only when i send emails to @gmail.com ad

  • Showing error durring running in iPad .

    My application is running well in simulator but when I am running it on iPad3 it is showing the below I am not able to understand , what is the error . Please help me . Thanks

  • Screen Exit in Header Level in ME51N

    Hi, Are there any screen exits in header level in ME51N screen? I need to call a BSP upon the click of a button and when the user selects a line item from there, it has to fall as a line item in the PR screen. Need your help on this. Thanks and Regar

  • Trial mac CS5 PP and AE crashing on startup

    I used to have CS4 installed. Uninstalled CS4 and installed CS5 trial. 2010 MBP i7 4G ram 10.6.5. I am able to start other CS5. I am able to open all other programs except After Effects and Premiere Pro both crash as soon as the menu bar appears. Wha

  • From Trial to activating monthly instalments....

    Hi... I already have Adobe from my trial (it's installed) and I don't want to download it again. I have purchased a monthly instalment.Everytime I go to use it it tells me to subscribe...any thoughts please?