Database Parameter _ktb_debug_flags in 11.2.0.2

HI Folks,
Could  Anyone  Please explain the importance of  Database Parameter _ktb_debug_flags in 11.2.0.2 .  This parameter has been  recommended
Early Watch Report of ECC System.
Regards,
Sharma TVK

Hi Kamesh,
Please execute DBverfiy and check whether below message appear in the logs
ORA-1555 / ORA-600 [ktbdchk1: bad dscn] / ktbGetDependentScn / Dependent scn violations as the block ITL has higher COMMIT SCN than block SCN
If yes, then refer to SAP note 2005311 and set the parameter _ktb_debug_flags.
This is a dynamic parameter and can be set online using the command
alter system set "_ktb_debug_flags"=8; ( As per SAP note 1431798 - Oracle 11.2.0: Database Parameter Settings)
This is a known bug in Oracle 11.2.0.2 if you have Oracle data guard configured.
Hope this helps.
Regards,
Deepak Kori

Similar Messages

  • Best Practice For Database Parameter ARCH_LAG_TARGET and DBWR CHECKPOINT

    Hi,
    For best practice - i need to know - what is the recommended or guideline concerning these 2 Databases Parameter.
    I found for ARCH_LAG_TARGET, Oracle recommend to setup it to 1800 sec (30min)
    Maybe some one can guide me with these 2 parameters...
    Cheers

    Dear unsolaris,
    First of all if you want to track the full and incremental checkpoints, make the LOG_CHECKPOINT_TO_ALERT parameter TRUE. You will see the checkpoint SCN and the completion periods.
    Full checkpoint is being triggered when a log switch happens and checkpoint position in the controlfile is written in the datafile headers. For just a really tiny amount of time the database could be consistent eventhough it is open and in read/write mode.
    ARCH_LAG_TARGET parameter is disabled and set to 0 by default. Here is the definition for that parameter;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams009.htm
    If you want to set this parameter up the Oracle recommends it to be 1800 as you have said. This can subject to change from database to database and it is better for you to check it by experiencing it.
    Regards.
    Ogan

  • Pass non-database parameter from report to form

    (Portal 3.0.9) In short, how do I pass a non-database parameter into a form?
    I am calling a single form from multiple reports. On successful submission of the form, I want to return to the calling report. I have built the dynamic "go" statement in the success submission portion of the form:
    declare
    return_to_report varchar2(30);
    begin
    return_to_report := p_session.get_value_as_varchar2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_CALLING_REPORT');
    go('<portal_schema>.'||return_to_report||'.show');
    end;
    The problem is that I'm unable to populate the "calling_report" field in my form since it is non-database and does not appear in the list of available variables in my link.
    Also, it would be better to pass the value (report name) in a session parameter or global variable so that it is not tied to a specific record in the form, but I cannot find documentation for help.

    Hey,
    You could also create your own link in the SQL statement.
    SELECT
    display_link_update(asset_seq) as Update_Record,
    column2,
    column3,
    from table
    display_link_update is the function call and I'm passing one variable, asset_seq. Now the function can do the link creation and pass the link back to be displayed on the report.
    CREATE OR REPLACE FUNCTION "PROPERTY"."DISPLAY_LINK_UPDATE"
    (asset_seq1 in varchar2) return varchar2 is tag varchar2(4000);
    begin
    tag:='Update Link';
    return tag;
    end;
    I need to check out session variables. Do a Google search, there should be a few items about it. I'll look into in a few days beacuse I should learn this myself.
    Tom

  • Error in database parameter for star schema table in RSRV

    Hi Experts,
    In RSRV, I executed the following checks in my cube and it is showing me the following error:-
    1)  Check database parameter for star schema table for InfoCube ZMM_MVAL
    564971 units missing from fact table /BIC/FZMM_MVAL; see details
    Message no. RSRV134
    Diagnosis
    In the fact table /BIC/FZMM_MVAL records have been found that contain values other than zero for key figures that have units, but that have no value for the unit of the key figure. Since the value of the unit has to correspond to the value of the key figure, this inidicates an error when the data was loaded. The values of the units have not been loaded into BW correctly. Choose Details to display the incorrect records.
    2)  Consistency of time dimension of InfoCube ZMM_MVAL
    /BIC/FZMM_MVAL PARTITIONED 1878 ( 30 - 50 )
    Please advise me on this.
    Thanks in Advance.
    Aparna

    As mentioned in the log, check the Unit KFs in your cube and make sure that unit is populated for all such values.
    e.g. if Qty is 5 KG, then unit KF will have 5 and unit info object should have KF.
    Regards,
    Gaurav

  • How to supress prompt of database parameter in Crystal report schedule

    Hi,
    We are using Crystal Reports 2008. In a particular crystal report generated from some SAP WB query, has a parameter (prompt) on month. Now we need to schedule it for monthly execution. But we are still unable to manage the prompt for month automatically. We don,t have API license, so we can not use VBA .Net or Java programming.
    Can we manage this database level prompt using Crystal Report formulas. Please suggest how can we manage this prompt so that it can be executed automatically according to schedule.
    Thanks & Regards,
    Avijit

    Hi,
    Thanks for your reply.
    But I know the logic that I need to assign the current month date value to the parameter supplied by BW query in the Crystal Report formula. And I tried to write a new formula using "BeforeReadingRecords" under Formula field. But this formula is not assigning any  to the parameter and I am with no success.
    Can you please mention how and where shoul I write the formula. Looking forward for you answer.
    Regards,
    Avijit

  • New Database parameter settings

    I have a new Windows server with Oracle 11g, Windows 2008 R2, 4 CPU and 10 G of memory.
    I had another server that had 2 cpu and 5 G of memory but the Oracle database was not utilizing the memory appropriately (I am also New to Oracle)
    So I am setting up the new database to use 8G for the SGA and PGA this time on this new server. One thing I noticed in the last test of the application on the previos server was that the bottleneck appeared to be the Buffer cache hit ratio and shared pool....it also appeared to be extremely IO intesive however the network adapeter never spiked above 12%. So all of the contention was or seemed to be in the database.
    With the new server should I increase the db_block_buffer parameter? It is currently defaulted to 0?
    Any help would be appreciated. The application we are setting this up for is extremely cursor intensive and we cannot change the code.

    ofmdba wrote:I have a new Windows server with Oracle 11g, Windows 2008 R2, 4 CPU and 10 G of memory.
    I had another server that had 2 cpu and 5 G of memory but the Oracle database was not utilizing the memory appropriately (I am also New to Oracle)
    >
    How did you measure that oracle is not using the memory properly? Oracle is not supposed to use the complete physical memory anyways. It can use only what is going to be set for it.
    <font color="red"> I was watching spotlight for Oracle and the server perfmon counters and never saw any real work....Physical IO appeared high the total SGA area was 888MB and the appliation that goes against it is cursor intensive....at the time a tester was running a search and sort of 14,000 records and it took 18 minutes. My thought, however wrong I might be, was that the SGA could be sized much larger to take advantage of the memory on this server, and hopefully reduce the time it is taking </font>
    >
    So I am setting up the new database to use 8G for the SGA and PGA this time on this new server. One thing I noticed in the last test of the application on the previos server was that the bottleneck appeared to be the Buffer cache hit ratio and shared pool....it also appeared to be extremely IO intesive however the network adapeter never spiked above 12%. So all of the contention was or seemed to be in the database.
    >
    Using the hit ratios to tell that there was a contention or bad performance is not such a good idea. If hit ratio was the only criteria that you used or had , I wouldn't call it a right move to make.
    >
    With the new server should I increase the db_block_buffer parameter? It is currently defaulted to 0?
    >
    This parameter is obsoleted and not in the current release of 11g but since 9i. So you should not bother about this parameter at all.
    >
    Any help would be appreciated. The application we are setting this up for is extremely cursor intensive and we cannot change the code.
    >
    So if its creating lots of cursors , it is possible that the application is using lots of literals and constants which can be reduced using the parameter Cursor_sharing.

  • Oracle Database parameter

    Hi ,
    Setting oracle parameter according to note 1431798.
    In this not there  is parameter _FIX_CONTROL which is having values which need to be set.
    But in my initsid.ora file there is no  _FIX_CONTROL parameter .Do i need to set manually?
    How to calculate these two parameter weather these value is right or not?
    db_cache_size=9097067888
    shared_pool_size=9097067888
    Any other parameter which is important for performance of database?
    Regards
    Adil

    Hi Adil.
    Is very important to get some information to tuning you database. I strong recommend you to collect a EarlyWatchAlert Report and analyse it. After this you can determine the best way to tuning you environment. Changing only theses parameters may be not give you the expected results
    Change parameters to gain performance depends on each environment and individually issues and bottlenecks.
    If you have experienced a low performance with I/O may be you have to check the File System DB Block, distribution of datafiles an etc.
    db_cache_size depends of you available memory.
    Regards

  • Changes on Oracle Database Parameter when you increase your WP

    Hi,
    I need to know what oracle parameter do I need to change when I increase the number of WP.
    I know from note 124361, you need to increase the following:
    - PROCESS   -->  #SAP Work processes * 2 + 20
    - SESSIONS  --> >=PROCESS
    My question:
    1. Is there any other parameter? what do I miss?
    2. What is good number for session. Should it be 1 more or 10 more than the number of PROCESS?
    Thanks in advance.

    Hi,
    If you are using oracle 9i then in this case the parameter have following value corresponds to sap workprocess  number ( this values is not applied to SAP BW based system)
    PROCESSES  ->     (Total number of SAP WP * 2 ) + 20
    SESSIONS ->       >=  PROCESSES
    In case of Oracle 10g
    PROCESSES  ->   (Total number of SAP WP * 2 ) + (J2EE Server  processes *
    MAX_CONNECTIONS) +    PARALLEL_MAX_SERVERS + 40
    Where
    PROCESSES
    - Defines the maximum number of Oracle processes that exist in parallel
    - The component relating to ABAP work processes is only relevant in systems with ABAP stacks. The component relating to J2EE server processes is only relevant in systems with Java stacks.
    MAX_CONNECTIONS
    - indicates the maximum number of connections (also called pool size) of the J2EE system DataSource
    PARALLEL_MAX_SERVERS
    - Defines the maximum number of parallel query processes
    - Based on the number of CPU Cores of the database server
    - The number of CPU Cores generally corresponds to the default value for the Oracle parameter CPU_COUNT. Therefore, if you are unsure in individual cases, you can use the value of the parameter CPU_COUNT (for example, in transaction DB26).
    - If the database shares the server with other software (for example, SAP central instance, other Oracle instances), only the part of the CPU Cores that is mathematically available to the database should be considered in the calculation (for example, 8 CPU Cores, the SAP central instance and the Oracle database are to share resources 50:50 -> PARALLEL_MAX_SERVERS = 8 * 0.5 * 10 = 40).
    Reference Note :  830576 - Parameter recommendations for Oracle 10g
    If you are not using JAVA Stack then you can omit the Java stack related parameter.
    regards,
    kaushal

  • Database parameter in an ABAP program

    Hi Everyone,
    Can you tell me if we can set a DB parameter like the one below:
    ALTER SESSION SET "_B_TREE_BITMAP_PLANS" = FALSE
    in an ABAP program?
    if yes then do let me know.
    Regards,
    Sugopa

    Hi,
    Looks like you cannot use this statement at ABAP Program level but at OS Level only

  • BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX

    Hai Experts
    When I executes DBChek i am getting following error
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_COST_ADJ, value: 20 (<= 20)
    already checked the database parameter for OPTIMIZER_INDEX_COST_ADJ is 20,
    Thanks in advance
    KHS

    Hello,
    Please, read slowly the message you are getting:
    K Hari Shankar wrote:
    > BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_COST_ADJ, value: 20 (<= 20)
    Lets try to understand it.
    1.- It is telling you that your parameter is currently set to 20 (and that is a correct value as per relevant SAP note that you have checked)
    2.- it is telling you that the current value is lower or equal to a specified valued to be checked against (<=20)
    so, what could be the "problem", your parameter setting is OK, and the check is telling you the true, but you do not want the "warning"
    perhaps the check is not properly configured?
    of course 0.o
    it should be checking if the value is different than 20, not lower or equal to 20
    therefore, you have to change the check
    this is done with DB17, go to that transdaction and change the check (perhaps it is DB16, right now I'm not 100% sure which one is display and which one is for change)

  • Database Initialization Parameter Setting - extrapolation on Load Testing

    We have a new application going live, hence a new database instance need to be set. The oracle version is 10.2.0.5 (exisiting env. constraint)
    The load testing is conducted for approx. 2000 user load. As per the test results, during the peak load, number of database sessions opened are 450. The expected user load is 5500 in production, hence we are expecting approx 1100 database sessions at that time.
    Due to constraints in load testing environment, we cannot test for 6000 users in production. Hence, we have to extrapolate the database parameter settings and put in production.
    The SGA sizing & some other parameters in Load Testing is as below (with the following setting in load, the performance is acceptable)
    sga_max_size 7.5 GB
    sga_target 6 GB
    db_cache_size 3 GB
    shared_pool_size 1.5 GB
    shared_pool_reserved_size 150 MB
    java_pool_size 0.2 GB
    large_pool_size 0.5 GB
    sort_area_size 0.5 MB
    streams_pool_size 48 MB
    pga_aggregate_target 4 GB
    processes 1200
    db_block_size 8K
    db_file_multiblock_read_count 16
    db_keep_cache_size 134217728
    fast_start_mttr_target 600
    open_links 25
    Please let me know how to set the database size for production on extrapolation. Apart from processes and sessions, which are parameters I should be giving more focus.

    user8211187 wrote:
    We have a new application going live, hence a new database instance need to be set. The oracle version is 10.2.0.5 (exisiting env. constraint)
    The load testing is conducted for approx. 2000 user load. As per the test results, during the peak load, number of database sessions opened are 450. The expected user load is 5500 in production, hence we are expecting approx 1100 database sessions at that time.
    Due to constraints in load testing environment, we cannot test for 6000 users in production. Hence, we have to extrapolate the database parameter settings and put in production.
    The SGA sizing & some other parameters in Load Testing is as below (with the following setting in load, the performance is acceptable)
    sga_max_size 7.5 GB Upon which metrics was 7.5GB derived?

  • How  change NLS_NUMERIC_CHARACTERS parameter for load external table

    Hi,
    I use this version:
    OWB 11gR2
    Database 11gR2
    Parameter NLS_NUMERIC_CHARACTERS Database ., Instance ,.
    When I created database with wizard and in this moment I don't set spanish language, later I changed this parameters in instance parameters.
    Now I want load data from a file to external table, but I've an error when I try load data with decimal point.
    why does it use the database parameter instead of instance parameter?
    Is possible to change this parameter?
    Cheers
    Marisol

    At this moment , this is not possible . You can see metalink note ID 268906.1.
    It says:
    Currently, external tables always use the setting of NLS_NUMERIC_CHARACTERS
    +at the database level.+
    Cheers
    Marisol

  • ORA-01406 error encountered when using database link

    I am moving data between two different databases using a database link on Oracle 8.1.5. The database statement looks like:
    insert into TABLE@DATABASELINK
    (COLUMNS)
    select (COLUMNS) from TABLE
    One of the database columns is defined as varchar2(4000) on both the source and target database tables. When the data in this column on the source database is greater than 2000 characters, the database query generates the message:
    ORA-01406: fetched column value was truncated
    I have verified that the target column is defined as varchar2(4000), and have also verified that it is this varchar2(4000) column that is causing the problem. I have also tested out that this error only occurs when the varchar field is more than 2000 characters; if I remove characters so that the source field is less than or equal to 2000 characters, this error is no longer generated and the data is inserted to the target database table.
    Is this a limit with database links or some other database parameter that is not set up correctly?
    Thanks...Theresa Tucci

    Could you change the following entry in your 'sqlnet.ora' file and try?
    SQLNET.AUTHENTICATION_SERVICES = (NONE)

  • Enable-Mailbox: provisioning without -Database attribute (balance across mailbox databases)

    We have a 16 Exchange 2013 Mailbox Databases. Of those 16, 12 have been 'Excluded from Provisioning'. 
    We are trying to come up with a script or at least command to enable-mailbox for existing AD user accounts. 
    The question is, we want the enable-mailbox command to balance or randomly create mailboxes across databases and not just on one specific database. 
    Can this be done? 

    Hi,
    From your description, I would like to clarify the following thing:
    Automatic distribution is used when you don't specify the Database parameter on the Enable-Mailbox cmdlet. This process randomly distributes mailboxes across all of the suitable mailbox databases in your organization.
    If you also want the mailboxes to be distributed to the other 12 databases, you can run the cmdlet below to set the IsExcludedFromProvisioning to $false for them.
    Set-MailboxDatabase <database name> -IsExcludedFromProvisioning $false
    Hope my clarification can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • Oracle fail safe error "FS-10784" failed to register database with group

    Hi,
    I'm getting following error while registering database to FS manager group.
    Version is -
    1) Fail safe 3.4.2
    2) Database 11.2
    3) 64 bit windows
    I executed following steps in order to create FS.
    1)     Install 11.2 software on node 1
    2)     Install 11.2 software on node 2
    3)     Install OFS 3.4.2 on node 1
    4)     Install OFS 3.4.2 on node 2
    5)     Create cluster tree from FS manager
    Below is the complete error..
    Versions: client = 3.4.1 server = 3.4.2 OS =
    Operation: Adding resource "COMPACTOR" to group "dbclusterdtc"
    Starting Time: Dec 01, 2011 18:25:31
    Elapsed Time: 0 minutes, 3 seconds
    1 18:25:31 Starting clusterwide operation
    2 18:25:32 FS-10370: Adding the resource COMPACTOR to group dbclusterdtc
    3 18:25:32 FS-10371: CSIPLAPP1DB2 : Performing initialization processing
    4 18:25:32 FS-10371: CSIPLDB1APP2 : Performing initialization processing
    5 18:25:32 FS-10372: CSIPLAPP1DB2 : Gathering resource owner information
    6 18:25:32 FS-10372: CSIPLDB1APP2 : Gathering resource owner information
    7 18:25:32 FS-10373: CSIPLAPP1DB2 : Determining owner node of resource COMPACTOR
    8 18:25:33 FS-10374: CSIPLAPP1DB2 : Gathering cluster information needed to perform the specified operation
    9 18:25:33 FS-10374: CSIPLDB1APP2 : Gathering cluster information needed to perform the specified operation
    10 18:25:33 FS-10375: CSIPLAPP1DB2 : Analyzing cluster information needed to perform the specified operation
    11 18:25:33 >>> FS-10652: CSIPLAPP1DB2 has Oracle Database version 11.2.0.1 installed in OraDb11g_home2
    12 18:25:33 >>> FS-10652: CSIPLDB1APP2 has Oracle Database version 11.2.0.1 installed in OraDb11g_home2
    13 18:25:33 FS-10376: CSIPLAPP1DB2 : Starting configuration of resource COMPACTOR
    14 18:25:33 FS-10378: CSIPLAPP1DB2 : Preparing for configuration of resource COMPACTOR
    15 18:25:33 FS-10380: CSIPLAPP1DB2 : Configuring virtual server information for resource COMPACTOR
    16 18:25:33 ** ERROR : 0xEA: More data is available.
    17 18:25:33 > FS-10496: Generating the Oracle Net migration plan for COMPACTOR
    18 18:25:33 ** ERROR : FS-10990: The error 0x800400EA was reported as a system error, but the error message cannot be found
    19 18:25:33 ** ERROR : FS-10757: A COM error was returned when trying to send a work item to the worker
    20 18:25:33 ** ERROR : FS-10784: The Oracle Database resource provider failed to configure the virtual server for resource COMPACTOR
    21 18:25:33 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
    22 18:25:33 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
    23 18:25:34 FS-10488: CSIPLAPP1DB2 : Starting rollback of operation
    24 18:25:34 FS-10489: CSIPLAPP1DB2 : Completed rollback of operation
    25 18:25:34 ** ERROR : FS-10495: Clusterwide rollback of the operation has been completed
    26 18:25:34 Please check your Windows Application log using the Event Viewer for any additional errors
    27 18:25:34 The clusterwide operation failed !
    Inputs are appreciable.
    Regards

    After applying patch of 3.4.2.3, still i'm facing this problem. But however there are very less errors....I think the problem is with Listener.
    1 20:34:03 Starting clusterwide operation
    2 20:34:04 FS-10370: Adding the resource COMPACTOR to group dbclusterdtc
    3 20:34:04 FS-10371: CSIPLAPP1DB2 : Performing initialization processing
    4 20:34:04 FS-10371: CSIPLDB1APP2 : Performing initialization processing
    5 20:34:05 FS-10372: CSIPLAPP1DB2 : Gathering resource owner information
    6 20:34:05 FS-10372: CSIPLDB1APP2 : Gathering resource owner information
    7 20:34:05 FS-10373: CSIPLAPP1DB2 : Determining owner node of resource COMPACTOR
    8 20:34:05 FS-10374: CSIPLAPP1DB2 : Gathering cluster information needed to perform the specified operation
    9 20:34:05 FS-10374: CSIPLDB1APP2 : Gathering cluster information needed to perform the specified operation
    10 20:34:05 FS-10375: CSIPLAPP1DB2 : Analyzing cluster information needed to perform the specified operation
    11 20:34:05 >>> FS-10652: CSIPLAPP1DB2 has Oracle Database version 11.2.0.1 installed in OraDb11g_home2
    12 20:34:05 >>> FS-10652: CSIPLDB1APP2 has Oracle Database version 11.2.0.1 installed in OraDb11g_home2
    13 20:34:05 FS-10376: CSIPLAPP1DB2 : Starting configuration of resource COMPACTOR
    14 20:34:05 FS-10378: CSIPLAPP1DB2 : Preparing for configuration of resource COMPACTOR
    15 20:34:05 FS-10380: CSIPLAPP1DB2 : Configuring virtual server information for resource COMPACTOR
    16 20:34:06 > FS-10496: Generating the Oracle Net migration plan for COMPACTOR
    17 20:34:06 > FS-10490: Configuring the Oracle Net listener for COMPACTOR
    18 20:34:06 >> FS-10600: Oracle Net configuration file updated: D:\APP\ORACLE\PRODUCT\11.2.0\DBHOME_2\NETWORK\ADMIN\LISTENER.ORA
    19 20:34:06 >> FS-10606: Listener configuration updated in database parameter file: M:\Datafiles\compactor\spfilecompactor.ora
    20 20:34:13 >> FS-10605: Oracle Net listener Fsldbclusterdtc created
    21 20:34:14 ** ERROR : 0x426: The service has not been started.
    22 20:34:14 ** ERROR : FS-10066: Failed to start Windows service OracleOraDb11g_home2TNSListener for the Oracle Net listener
    23 20:34:14 ** ERROR : FS-10065: Error trying to configure the Oracle Net listener
    24 20:34:14 > FS-10090: Rolling back Oracle Net changes on node CSIPLAPP1DB2
    25 20:34:17 ** ERROR : FS-10784: The Oracle Database resource provider failed to configure the virtual server for resource COMPACTOR
    26 20:34:17 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
    27 20:34:17 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
    28 20:34:17 FS-10488: CSIPLAPP1DB2 : Starting rollback of operation
    29 20:34:17 FS-10489: CSIPLAPP1DB2 : Completed rollback of operation
    30 20:34:17 ** ERROR : FS-10495: Clusterwide rollback of the operation has been completed
    31 20:34:17 Please check your Windows Application log using the Event Viewer for any additional errors
    32 20:34:17 The clusterwide operation failed !

Maybe you are looking for