Skip to main content

Retention period for TNSQM data


Technote (FAQ)


Question

How and where can I check the TNSQM data's retention period in database?

Answer

You may do so by querying DATA_RETENTION column from PART_TABLES table in sadb database:-

TNSQMHost:saserver> sqlplus /nolog
SQL> conn saserver/password
Connected.

SQL> set lines 200
SQL> set pagesize 50

SQL> desc PART_TABLES
 Name                             Null?            Type
 ------------------------------- --------        ----------------------
 PART_TABLE_ID                    NOT NULL        NUMBER(38)
 TABLE_NAME                       NOT NULL        VARCHAR2(30)
 TABLESPACE_NAME                  NOT NULL        VARCHAR2(30)
 PERIOD                           NOT NULL        CHAR(1)
 DATA_RETENTION                                   NUMBER(38)
 PAST_RETENTION                                   NUMBER(38)
 FUTURE_RETENTION                                 NUMBER(38)
 NEEDS_MOVE                       NOT NULL        CHAR(1)
 NEEDS_EXPORT                     NOT NULL        CHAR(1)
 NEEDS_PURGE                      NOT NULL        CHAR(1)
 NEEDS_ANALYZE                    NOT NULL        CHAR(1)
 ANALYZE_MASK                     NOT NULL        CHAR(7)
 GLOBAL_SAMPLE_SIZE                               NUMBER
 PARTITION_SAMPLE_SIZE                            NUMBER
 BLOCK_SAMPLE                     NOT NULL        CHAR(1)
 DATA_TABLESPACE                                  VARCHAR2(30)
 INDEX_TABLESPACE                                 VARCHAR2(30)


Example of a query to be executed:-

select TABLE_NAME, TABLESPACE_NAME, DATA_RETENTION, DATA_TABLESPACE from PART_TABLES;


and samples of the obtained results:-

TABLE_NAME
TABLESPACE_NAME
DATA_RETENTION
DATA_TABLESPACE
SA_HST_KQIVALUE
SA_KQI_XXL_DATA
62
GPRS_GB_TEK_FT_CG
SA_CEM_TML_DATA
768
SA_CEM_GPRS_GB_DATA
CEM_GSM_VOICE_FT_CR
SA_CEM_TML_DATA
1344
SA_CEM_GSM_VOICE_DATA
GPRS_GB_TEK_FT_CR
SA_CEM_TML_DATA
768
SA_CEM_GPRS_GB_DATA
CEM_BES_LOG_FT_CG
SA_CEM_TML_DATA
768
A_CEM_BES_LOG_DATA


The value set in the DATA_RETENTION column is the maximum retention period settings for TNSQM Data.


Another method is by checking and using $WMCROOT/bin/part_admin command.
See usage below:-

> part_admin -listparams
Buildfile: /appl/sa/conf/part_maint/part_maint.xml

init:

run:
 ============================================================================
        Default Parameters
 ============================================================================

TABLE                  PERIOD        DATA        PAST     FUTURE     NUMBER
TYPE                                RETE'N      RETE'N    RETE'N     TABLES
 ============================================================================
BES_LOG_1.1               D           62          7          7           2                    
CEM                       D           62          7          7           1              
CEM_GPRS_GB_PRB_1.4       Q          2688        96         192          6                
CEM_GPRS_GN_PRB_1.4       Q          2688        96         192          6                
CEM_GSM_VOICE_PRB_1.2     Q          2688        96         192          6

CEM_UMTS_IUPS_PRB_1.3     Q          2688        96         192          6                
GPRS_RAN_PM_1.4           D            62         7           7          1                
GSM_MSC_PM_1.4            D            62         7           7          3                      
GSM_RAN_PM_1.4            D            62         7           7          1                        
SQM_HSPA_PRB_2.3          D            62         7           7          1                
SQM_HSPA_SGSN_PM_1.1      D            62         7           7          1                
SQM_MMS_PM_1.1            D            62         7           7          3                
SQM_UMTS_VOICE_CORE_2.1   D            62         7           7          3                
SQM_UMTS_VOICE_UTRAN_2.1  D            62         7           7          1                
SQM_WAP_PM_1.1            D            62         7           7          1                        
SUMDAILY                  D            62         7           7          2                
SUMMONTHLY                M            32         2           2          2                
SUMWEEKLY                 W           104         4           4          1                
TRAFFIC                   D            62         7           7          10              

BUILD SUCCESSFUL
Total time: 4 seconds


Kindly contact IBM Support for further inquiries or assistance.

Product Alias/Synonym

TNSQM

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Netcool Service Quality Manager


Software version:
4.1.2, 4.1.3, 4.1.4


Operating system(s):
AIX, Linux, Solaris


Reference #:
1585016


Modified date:
2013-03-08

Translate my page

Content navigation