Recyclebin off

Hi all

11.2.0.3

AIX 6

I checked our database of prod, and I discovered that recyclebin is off.

Is this really a critical parameter? We did not really use his goal eversince.

Have effect on performance during stop or?

Thank you all,

pK

Try this query:

SELECT THE OWNER, SUM (SPACE) AS TOTAL_BLOCKS

OF DBA_RECYCLEBIN

GROUP BY OWNER

ORDER OF OWNER;

Concerning

Tags: Database

Similar Questions

  • RECYCLEBIN stays on once I have it disabled.

    Hello

    I'm trying to disable our recyclebin in our 11 g database. Before turning off, I checked the dba_recyclebin and user_recyclebin recycebin check that there are no rows returned. I ran the command ALTER SYSTEM SET recyclebin = OFF DELAY; and then to see the recyclebin parameter and he said again it's on.

    NAMETYPEVALUE

    ------------------------------------ ----------- ------------------------------

    Recyclebinstringon

    Any help will be much appreciated. Thank you

    Daniel

    From the Manual:

    ALTER SYSTEM

    "The DEFERRED keyword sets or changes the value of the parameter for future sessions that connect to the database. Current sessions retain the old value. »

    Try to reconnect and then check the value of the parameter.

  • All parameter RECYCLEBIN.

    Hello

    ORACLE: 11 GR 2
    OS: Fedora 14

    Book's RECYCLEBIN synamic initialization parameter. If you can change it using
    SQL > alter system set recyclebin = off scope = both;




    But when I do that, I get the error like...
    ----------
    SQL > alter system set recyclebin = off scope = mΘmoire;
    change system recyclebin set = off scope = mΘmoire
    *
    ERROR on line 1:
    ORA-02096: specified initialization parameter is not editable with this
    option
    ---------
    SQL > alter system set recyclebin = off scope = both;
    change system recyclebin set = off scope = both
    *
    ERROR on line 1:
    ORA-02096: specified initialization parameter is not editable with this
    option
    ---------


    But when I run as follows
    ------------
    SQL > alter system set recyclebin = off scope = spfile;

    Modified system.
    ---------


    Can someone please tell me why I might be faced with problems when you perform the scop = memory and scope = both. When it comes to a dynamic parameter.

    With thanks...
    Nishya...

    Published by: 937499 on May 30, 2012 12:45 AM

    Book's RECYCLEBIN synamic initialization parameter.

    What book?

    You could (and should) have looked through a quick and simple search @ http://www.oracle.com/pls/db112/homepage

    "Enable you and disable the Recycle Bin by changing the recyclebin initialization parameter. * This setting is not dynamic, so a restart of the database is required when change you it with an ALTER SYSTEM statement *. »
    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/tables011.htm#ADMIN11680

    Published by: Hoek on May 30, 2012 09:57

  • Problems with special characters with Apex5

    Hello together,

    I hope, I'm right on this forum with this problem, I have found no other best match.

    I have a single database called apex12D on 12.1.0.2 it's my database of the 5 Apex develompent. Apex 5.0.2 is installed, also the German language of Apex. The OS is Oracle Linux 6.

    On a second machine that I have configured the Oracle Data Service remains with tomcat (installed from the repositories) and apache (also installed deposits), running on the Oracle Linux 7 operating system. This machine is my "http server" to connect to my Apex environment. Everything is very well workung, but when I go on my Apex Admin Backend all special characters in German (A, U, O,...) are displayed incorrectly. Which looks very good.

    What makes that I made:

    To the database (apex12D), I put all the nls paramereters the installation of the database of German letters:

    SYS@apex12D> select * from nls_database_parameters;
    
    
    PARAMETER VALUE
    ---------------------------------------------------------
    NLS_RDBMS_VERSION 12.1.0.2.0
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_LENGTH_SEMANTICS BYTE
    NLS_COMP BINARY
    NLS_DUAL_CURRENCY ?
    NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_SORT GERMAN
    NLS_DATE_LANGUAGE GERMAN
    NLS_DATE_FORMAT DD.MM.RR
    NLS_CALENDAR GREGORIAN
    NLS_NUMERIC_CHARACTERS ,.
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_CHARACTERSET AL32UTF8
    NLS_ISO_CURRENCY GERMANY
    NLS_CURRENCY ?
    NLS_TERRITORY GERMANY
    NLS_LANGUAGE GERMAN
    
    
    20 rows selected.
    

    SPFILE parameters tells a different story, I tried to put them with "change the database < parameter > = < value > scope = spfile" and if a database has restarted, nothing changes.

    SYS@apex12D> show parameter nls
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    nls_calendar                         string      GREGORIAN
    nls_comp                             string      BINARY
    nls_currency                         string      $
    nls_date_format                      string      DD-MON-RR
    nls_date_language                    string      AMERICAN
    nls_dual_currency                    string      $
    nls_iso_currency                     string      AMERICA
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string      .,
    nls_sort                             string      BINARY
    nls_territory                        string      AMERICA
    nls_time_format                      string      HH.MI.SSXFF AM
    nls_time_tz_format                   string      HH.MI.SSXFF AM TZR
    nls_timestamp_format                 string      DD-MON-RR HH.MI.SSXFF AM
    nls_timestamp_tz_format              string      DD-MON-RR HH.MI.SSXFF AM TZR
    SYS@apex12D>
    

    Interestingly, it is that when I write a pfile to the bottom of my spfile and open it with vi, everything looks great. But OK.

    apex12D.__data_transfer_cache_size=0
    apex12D.__db_cache_size=2030043136
    apex12D.__java_pool_size=50331648
    apex12D.__large_pool_size=385875968
    apex12D.__oracle_base='/usr/local/oracle'#ORACLE_BASE set from environment
    apex12D.__pga_aggregate_target=536870912
    apex12D.__sga_target=3221225472
    apex12D.__shared_io_pool_size=150994944
    apex12D.__shared_pool_size=570425344
    apex12D.__streams_pool_size=16777216
    *.audit_file_dest='/usr/local/oracle/admin/apex12D/adump'
    *.audit_trail='db'
    *.compatible='12.1.0.2.0'
    *.control_files='+DATA_QUM169/APEX12D/CONTROLFILE/current.505.898513523','+FRA_QUM169/APEX12D/CONTROLFILE/current.2094.898513525'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA_QUM169'
    *.db_create_online_log_dest_1='+DATA_QUM169'
    *.db_create_online_log_dest_2='+FRA_QUM169'
    *.db_domain=''
    *.db_name='apex12D'
    *.db_recovery_file_dest='+FRA_QUM169'
    *.db_recovery_file_dest_size=10240m
    *.diagnostic_dest='/usr/local/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=apex12DXDB)'
    *.local_listener='LISTENER_APEX12D'
    *.log_archive_dest_1='LOCATION=+FRA_QUM169'
    *.log_archive_dest_2='LOCATION=+DATA_QUM169'
    *.log_archive_format='%t_%s_%r.dbf'
    *.nls_currency='$'
    *.nls_date_language='GERMAN'
    *.nls_dual_currency='$'
    *.nls_iso_currency='GERMANY'
    *.nls_language='GERMAN'
    *.nls_territory='GERMANY'
    *.open_cursors=300
    *.pga_aggregate_target=512m
    *.processes=600
    *.recyclebin='OFF'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=3072m
    *.undo_tablespace='UNDOTBS1'
    

    The server' http' ADR is configured under the orards user, so I've put this in the .bash_profile:

    NLS_LANG=GERMAN_GERMANY.AL32UTF8
    
    
    export NLS_LANG
    

    The same I did for the root, just for test user, because only root can start tomcat and apache systemctl. Apache and tomcat user/bin/nologin as Bash, so I think that their bash_profile will not if I create a.

    But nothing really worked. Can anyone help please?

    Thank you and best regards,
    David

    Hello

    good German special characters are agree on the first server in ther, but not the second? I have this behavior when I set NLS_LANG = GERMAN_GERMANY. AL32UTF8 when I install the extension of the German language.

    Best regards

    Thomas

    (Grussle aus Böblingen)

  • Selection of understanding... from the query timestamp

    Hello

    I'm stuck with this scenario where we offer production data the developer to achieve a purpose test by altering the critical columns of the company by an arbitrary value continues the update statement.

    Now the problem is when we fire select... from the timestamp request, we are able to display the old corrupted data. I created an example test case scenario:

    CREATE TABLE test1 (identification number);

    added values:

    SQL > select * from test1;

    ID

    ----------

    1

    2

    3

    4

    5

    5

    5

    5

    5

    5

    10 selected lines.

    SQL > update test1 ID = 3 where id = 5;

    6 lines to date.

    SQL > commit;

    Validation complete.

    Now the data in the table are:

    SQL > select * from test1;

    ID

    ----------

    1

    2

    3

    4

    3

    3

    3

    3

    3

    3

    10 selected lines.

    Now when I fire from the timestamp query I am able to see old data:

    SQL > select * from test1 from sysdate timestamp - 5/1440;

    ID

    ----------

    1

    2

    3

    4

    5

    5

    5

    5

    5

    5

    10 selected lines.

    SQL > select flashback_on from database v$.

    FLASHBACK_ON

    ------------------

    NO.

    SQL > show parameter recyclebin;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    Recyclebin OFF string

    Now, I would like to know where oracle recover old data. According to my knowledge, it's going to be fetch these data to undo tablespace If yes then I would like to know is possible to stop this because this could expose the old data of the contracting authority.

    Note:-this isn't a good way to hide the data, but it is a call from management for not no opt data tool because of the license of masking

    You could do a DOF that is not actually change anything:

    orclz > dept desc;

    Name                                                        Null?    Type

    ----------------------------------------------------------- -------- ----------------------------------------

    DEPTNO NOT NULL NUMBER (2)

    DNAME                                                                VARCHAR2(14)

    LOC                                                                  VARCHAR2(13)

    orclz > alter table dept change (dname varchar2 (14));

    Modified table.

    orclz > select * from the Department as of timestamp(systimestamp-1/24);

    Select * from the Department as of timestamp(systimestamp-1/24)

    *

    ERROR on line 1:

    ORA-01466: unable to read data - table definition has changed

    orclz >

    --

    John Watson

    Oracle Certified MAster s/n

  • Reduce memory Oracle settings?

    I have an Oracle database installed on a Windows Server 2003 with 16 GB of RAM. I need to copy this database to a Windows 2008 box that has only 4 GB of RAM. Here are the current init params, but I'm confused on the memory settings. 9 first params seem to be sga and pga components but I see sga_target and pga_aggregate_target shown twice.

    Not sure what params to reduce to get this database to work with only 4 GB. Thanks for any input.

    test.__db_cache_size = 956301312

    test.__java_pool_size = 33554432

    test.__large_pool_size = 16777216

    test.__oracle_base='d:\app\oracle'#ORACLE_BASE the value of the environment

    test.__pga_aggregate_target = 1879048192

    test.__sga_target = 3489660928

    test.__shared_io_pool_size = 285212672

    test.__shared_pool_size = 2147483648

    test.__streams_pool_size = 16777216

    * ._gby_hash_aggregation_enabled = FALSE

    * .aq_tm_processes = 0

    * .audit_file_dest = a: \APP\ORACLE\ADMIN\TEST\ADUMP'

    * .audit_sys_operations = FALSE

    * .audit_trail = "NONE".

    * full = '11.2.0.3'

    * .control_files ='D:\APP\ORACLE\ORADATA\TEST\CONTROL01. CTL',: \APP\ORACLE\ORADATA\TEST\CONTROL02. CTL',: \APP\ORACLE\ORADATA\TEST\CONTROL03. CTL'

    * .db_block_size = 8192

    * .db_domain = "

    * .db_name = 'TEST '.

    * .db_recovery_file_dest = "G:\Oracle\flash_recovery_area".

    * .db_recovery_file_dest_size = 21474836480

    * .db_securefile = "ALLOWED."

    * .diagnostic_dest = a: \APP\ORACLE'

    *. Dispatchers ='(Protocol=TCP) (SERVICE = TESTXDB)"

    * .enable_ddl_logging = FALSE

    * .event = "

    * .fixed_date = "NONE".

    * .global_names = TRUE

    * .java_pool_size = 0

    * .job_queue_processes = 1000

    * .license_max_users = 300

    * .log_archive_dest_1 = "LOCATION = G:\Oracle\flash_recovery_area\TEST\ARCHIVELOG'"

    * .memory_target = 5368709120

    * .nls_length_semantics = "BYTE".

    * .open_cursors = 300

    * .os_authent_prefix = '0'

    * .pga_aggregate_target = 209715200

    * runoff = 150

    * .recyclebin = "OFF".

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .resource_limit = TRUE

    * .resource_manager_plan = "

    * .sec_case_sensitive_logon = TRUE

    * .sec_max_failed_login_attempts = 3

    * .sec_protocol_error_further_action = 'drop', '3'

    * .sga_target = 0

    * .shared_pool_size = 2147483648

    * .sql92_security = TRUE

    * .undo_retention = 900

    * .undo_tablespace = "UNDOTBS1.

    The key parameter for the allocation of memory in your case is memory_target.

    Try to reduce this say 3 GB (after backing up everything of course):

    ALTER SYSTEM SET memory_target = 3G SCOPE = both;

    Other settings related to the memory should adjust accordingly.

  • Dropped the curiously named table in the schema table sheets

    I use Oracle XE and I'm not logged as an administrator. Just as a user called 'hr '.

    I dropped an empty table called "Date_tine_demo" (sic) to help

    DROP TABLE date_tine_demo;
    

    But when I checked the tables in my diagram to help

    SELECT * FROM tab;
    

    the 'date_tine_demo' table was missing, but there was a table with a really weird name

    Before:

    TNAME                          TABTYPE  CLUSTERID                               
    ------------------------------ ------- ----------                                                                        
    COUNTRIES                      TABLE 
    DATE_TINE_DEMO           TABLE                                          
    DEPARTMENTS                TABLE                                            
    EMPLOYEES                    TABLE                                            
    EMP_DETAILS_VIEW       VIEW                                             
    JOBS                                 TABLE                                            
    JOB_HISTORY                  TABLE                                            
    LOCATIONS                      TABLE                                            
    PROMOTIONS                  TABLE                                            
    REGIONS                         TABLE  
    

    After:

    TNAME                          TABTYPE  CLUSTERID                               
    ------------------------------ ------- ----------                               
    BIN$zP+eIjJ7ShCOnQb4EGVHig==$0 TABLE                                            
    COUNTRIES                                             TABLE                                            
    DEPARTMENTS                                       TABLE                                            
    EMPLOYEES                                             TABLE                                            
    EMP_DETAILS_VIEW                                VIEW                                             
    JOBS                                                            TABLE                                            
    JOB_HISTORY                                          TABLE                                            
    LOCATIONS                                             TABLE                                            
    PROMOTIONS                                         TABLE                                            
    REGIONS                                                  TABLE                              
    

    If anyone can offer advice on what this table is and how to get rid of, I would be grateful

    What is in the garbage?

    And if you don't want table to go to the basket when you drop, either disable the trash with ALTER SESSION/SYSTEM SET RECYCLEBIN = OFF or use DROP TABLE table_name PURGE. And to get rid of what is currently used to recycle bin PURGE RECYCLEBIN.

    SY.

  • Write performance issues.

    Hello
    Oracle: 11.2.0.2.0 EA.
    Linux: Rhel 5.6.

    Reference Dell R720:
    Storage EMC VNX SAN:

    Here's the scenario:
    Dell server is connected to the San. We have 2 instances on the same server. When we create a tablespace on a case, it takes twice as long set up bases on the 2nd instance. Storage spaces are created on the san.
    At this point, we have eliminated any material / SAN problems. Given that the two databases are on the same server and hardware, connect to the same lun on the san.

    Any help would be appreciated.
    Here is information the init.ora parameters and scripts of creation.

    Tablesapace creation Script for ORCL1 (notice the 8 k size block corresponding to the db_block_size on PB).
    LOGGING to CREATE BIGFILE TABLESPACE TEST_IO BLOCKSIZE 8 k
    DATAFILE ' / uP01/oracle/oradata/orcl1/TEST_IO_01.dbf'
    256G AUTOEXTEND SIZE LARGE
    MANAGEMENT UNIFORM LOCAL 256K SIZE MEASURE
    SEGMENT SPACE MANAGEMENT AUTO
    PERMANENT ONLINE;


    14 minutes to create

    Create tablespace for orcl script 2 (notice the 32 k size block corresponding to the db_block_size on PB).


    LOGGING to CREATE BIGFILE TABLESPACE TEST_IO BLOCKSIZE 32 k
    DATAFILE ' / uP01/oracle/oradata/orcl2/TEST_IO_01.dbf'
    256G AUTOEXTEND SIZE LARGE
    MANAGEMENT UNIFORM LOCAL 256K SIZE MEASURE
    SEGMENT SPACE MANAGEMENT AUTO
    PERMANENT ONLINE;

    30 minutes to create


    Init.ora on orcl1:
    orcl1.__db_cache_size = 494927872
    orcl1.__java_pool_size = 4194304
    orcl1.__large_pool_size = 4194304
    orcl1.__oracle_base='/opt/app/Oracle/ora11g'#ORACLE_BASE the value of the environment
    orcl1.__pga_aggregate_target = 536870912
    orcl1.__sga_target = 1073741824
    orcl1.__shared_io_pool_size = 0
    orcl1.__shared_pool_size = 515899392
    orcl1.__streams_pool_size = 25165824
    * ._optimizer_extend_jppd_view_types = FALSE
    * ._optimizer_group_by_placement = FALSE
    * ._replace_virtual_columns = FALSE
    *.audit_file_dest='/opt/app/Oracle/ora11g/Admin/orcl1/adump '
    * .audit_trail = "none".
    * full = '11.1.0.0.0'
    * .db_block_size = 8192
    * .db_domain = "
    * .db_name = "orcl1".
    *.diagnostic_dest='/opt/app/Oracle/ora11g '
    * .local_listener = "
    * .open_cursors = 1000
    * .pga_aggregate_target = 536870912
    * runoff = 500
    * .recyclebin = "OFF".
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .sec_case_sensitive_logon = FALSE
    * Once = 555
    * .sga_target = 1073741824
    * .undo_tablespace = "UNDOTBS1.



    orcl2
    * .db_block_size = 32768
    * .db_cache_size = 23068672000
    * .db_domain = "
    * .db_file_multiblock_read_count = 32
    * .db_files = 10000
    * .db_flashback_retention_target = 0
    * .db_keep_cache_size = 134217728
    * .db_name = "orcl2".
    * .db_unique_name = "ORCL2".
    *.diagnostic_dest='/opt/app/Oracle/ora11g '
    * .fast_start_mttr_target = 1200
    * .filesystemio_options = "SETALL".
    * .java_pool_size = 268435456
    * .job_queue_processes = 4
    * .large_pool_size = 134217728
    * .log_buffer = 134217728
    * .log_checkpoint_timeout = 0
    * .log_checkpoints_to_alert = TRUE
    * .open_cursors = 1000
    * .pga_aggregate_target = 31457280000
    * runoff = 300
    * .query_rewrite_integrity = "STALE_TOLERATED".
    * .recyclebin = "OFF".
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .resource_limit = TRUE
    * .resumable_timeout = 7200
    * Once = 335
    * .shared_pool_reserved_size = 134217728
    * .shared_pool_size = 2147483648
    * .star_transformation_enabled = 'TRUE '.
    * .trace_enabled = FALSE
    * .undo_retention = 36000
    * .undo_tablespace = "UNDOTBS1.

    Hello - possibly your setting of filesystemio_options slows things on orcl2. I learned to be very careful with this setting, I believe it can often do more harm that of well if appriopriately is not set for the SAN and file system mount options.

    I can't test it on your balance, but I don't think that the block size is relevant in itself (and of course you can not set db_32k_cache_size, because 32K is your standard block size).

  • suspect the work of database with user in syn

    3. prepare the database to support ddl replication (optional).

    (a) turn off recyclebin for the database...
    SQL > alter system set recyclebin = off scope = spfile;
    However it is not necessary for 11g and beyond.
    ... and bounce.

    (b) create a schema for ddl replication is supported...

    SQL > create user ggate identified by temp temporary tablespace default qwerty tablespace users;

    ... and grant privileges to the new user...
    [oracle@db1 gg] $ cd $GGATE

    SQL > grant connect, resources, unlimited tablespace to ggate;
    SQL > grant execute on utl_file to ggate;


    (c) execution of scripts to create all the necessary objects for replication ddl is supported:

    SQL > @$ GGATE/marker_setup.sql
    SQL > @$ GGATE/ddl_setup.sql
    SQL > @$ GGATE/role_setup.sql
    SQL > grant GGS_GGSUSER_ROLE to ggate;
    SQL > @$ GGATE/ddl_enable.sql

    Create diagrams of test for replication. I have created a replication between sender receiver schematic diagram (the receiver schema can be on the same database or on another).

    (a) data source:

    SQL > create user sender identified by temp temporary tablespace default qwerty tablespace users;
    SQL > grant connect, resources, unlimited tablespace to sender;

    (b) destination database:

    SQL > create user receiver identified by temp temporary tablespace default qwerty tablespace users;
    SQL > grant connect, resource, unlimited tablespace to receiver;

    SNA. What a sender in a case on the receiver in one case known to me.

    Published by: 891982 on November 2, 2011 02:27

    This is only a warning. You can fix by corresponding GoldenGate and the database regarding NLS parameters. For example, the syntax is (use what you need for the actual value):

    SETENV (NLS_LANG = AMERICAN_AMERICA. AL32UTF8)

    This is in the extracted parameter file, and replicate as needed.

  • ORA-12505 error ensures

    I tried to create the day before without the DG broker. However, I get this error in the primary alert log which I am not able to solve.
    Heartbeat PING [ARC6]: Unable to connect to the day before "to_standby". The error is 12505.
    Mon Jul 04 12:41:35 2011
    Logging of 12505 errors received on the eve
    Mon Jul 04 12:41:35 2011
    Errors in the d:\oracle\p11\saptrace\background\p11_arc6_1904.trc file:
    ORA-12505: TNS:listener is not currently of SID given in connect descriptor

    Heartbeat PING [ARC6]: Unable to connect to the day before "to_standby". The error is 12505.

    The primary server pFile
    * ._B_TREE_BITMAP_PLANS = FALSE
    * ._IN_MEMORY_UNDO = FALSE
    * ._INDEX_JOIN_ENABLED = FALSE
    * ._OPTIM_PEEK_USER_BINDS = FALSE
    * ._OPTIMIZER_MJC_ENABLED = FALSE
    * ._SORT_ELIMINATION_COST_RATIO = 10
    * ._TABLE_LOOKUP_PREFETCH_SIZE = 0
    * .archive_lag_target = 0
    * .background_dump_dest = a: \oracle\P11\saptrace\background'
    * full = '10.2.0'
    * .control_file_record_keep_time = 30
    *.control_files='d:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','d:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','d:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf '
    * .core_dump_dest = a: \oracle\P11\saptrace\background'
    * .db_block_size = 8192
    * .db_cache_size = 260938137
    * .db_files = 254
    * .db_name = "P11".
    * .db_unique_name = "P11_primary".
    * .dml_locks = 4000
    * .event = 10191 trace the context of name forever, level 1'
    *. FAL_Client = "to_primary."
    *. FAL_Server = "to_standby."
    *. FILESYSTEMIO_OPTIONS = "setall".
    * .job_queue_processes = 1
    * .local_listener ='(ADRESSE = (PROTOCOL = TCP) (HOST = 10.0.1.104)(PORT = 1521))'
    * .log_archive_config = 'dg_config = (P11_disaster, P11_primary)'
    *. Log_archive_dest_1 = 'LOCATION = C:\oracle\P11\oraarch\P11arch VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = P11_primary'
    * .log_archive_dest_2 = "SERVICE = to_standby LGWR ASYNC DELAY = 5 VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = P11_disaster'"
    * .log_archive_dest_state_1 = 'enable '.
    * .log_archive_dest_state_2 = 'ENABLE '.
    * .log_archive_max_processes = 10
    * .log_archive_min_succeed_dest = 1
    * .log_buffer = 1048576
    * .log_checkpoint_interval = 0
    * .log_checkpoints_to_alert = true
    * .open_cursors = 800
    * .parallel_execution_message_size = 16384
    * .pga_aggregate_target = 347917516
    * runoff = 80
    * .query_rewrite_enabled = "false".
    * .recyclebin = "off".
    * .remote_login_passwordfile = "exclusive."
    * .remote_os_authent = true
    * .replication_dependency_tracking = false
    * Once = 96
    * .sga_max_size = 521876275
    * .shared_pool_reserved_size = 26093813
    * .shared_pool_size = 300938137
    * .sort_area_retained_size = 0
    * .sort_area_size = 2097152
    * .standby_file_management = "AUTO".
    * .star_transformation_enabled = 'true '.
    * .undo_management = "AUTO".
    * .undo_retention = 43200
    * .undo_tablespace = "PSAPUNDO".
    * .user_dump_dest = a: \oracle\P11\saptrace\usertrace'

    Standby server pFile

    * ._B_TREE_BITMAP_PLANS = FALSE
    * ._IN_MEMORY_UNDO = FALSE
    * ._INDEX_JOIN_ENABLED = FALSE
    * ._OPTIM_PEEK_USER_BINDS = FALSE
    * ._OPTIMIZER_MJC_ENABLED = FALSE
    * ._SORT_ELIMINATION_COST_RATIO = 10
    * ._TABLE_LOOKUP_PREFETCH_SIZE = 0
    * .background_dump_dest = a: \oracle\P11\saptrace\background'
    * full = '10.2.0'
    * .control_file_record_keep_time = 30
    *.control_files='d:\oracle\P11\origlogA\cntrl\control01.ctl','d:\oracle\P11\origlogB\cntrl\control02.ctl','d:\oracle\P11\sapdata1\cntrl\control03.CTL '
    * .core_dump_dest = a: \oracle\P11\saptrace\background'
    * .db_block_size = 8192
    * .db_cache_size = 155870822
    * .db_files = 254
    * .db_name = "P11".
    * .db_unique_name = "P11_disaster".
    * .dml_locks = 4000
    * .event = 10191 trace the context of name forever, level 1'
    *. FAL_Client = "to_standby."
    *. FAL_Server = "to_primary."
    *. FILESYSTEMIO_OPTIONS = "setall".
    * .job_queue_processes = 1
    * .local_listener ='(ADRESSE = (PROTOCOL = TCP) (HOST = 10.0.1.102)(PORT = 1521))'
    * .log_archive_config = 'DG_CONFIG = (P11_primary, P11_disaster)'
    *. Log_archive_dest_1 = 'LOCATION = C:\oracle\P11\oraarch\P11arch VALID_FOR =(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME = P11_disaster'
    * .log_archive_dest_2 = "SERVICE = to_primary LGWR ASYNC DELAY = 5 VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = P11_primary'"
    * .log_archive_dest_state_1 = 'enable '.
    * .log_archive_dest_state_2 = 'enable '.
    * .log_archive_max_processes = 10
    * .log_buffer = 1048576
    * .log_checkpoint_interval = 0
    * .log_checkpoints_to_alert = true
    * .open_cursors = 800
    * .parallel_execution_message_size = 16384
    * .pga_aggregate_target = 207827763
    * runoff = 80
    * .query_rewrite_enabled = "false".
    * .recyclebin = "off".
    * .remote_login_passwordfile = "exclusive."
    * .remote_os_authent = true
    * .replication_dependency_tracking = false
    * Once = 96
    * .sga_max_size = 311741644
    * .shared_pool_reserved_size = 15587082
    * .shared_pool_size = 300870822
    * .sort_area_retained_size = 0
    * .sort_area_size = 2097152
    * .standby_file_management = "AUTO".
    * .star_transformation_enabled = 'true '.
    * .undo_management = "AUTO".
    * .undo_retention = 43200
    * .undo_tablespace = "PSAPUNDO".
    * .user_dump_dest = a: \oracle\P11\saptrace\usertrace'

    Primary file TNSnames

    ################
    # File...: tnsnames.ora
    # Created...: created by SAP AG, R/3 rel. > = 6.10
    # Name...:
    # Date of...:
    # @(#) $Id: / / bc/700-1_REL/src/ins/SAPINST/impl/NPT/ora/ind/TNSNAMES. ORA #4 $
    ################
    P11. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11. WORLD)
    )
    )
    TO_STANDBY. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_DISASTER. WORLD)

    )

    )
    TO_PRIMARY. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY. WORLD)

    )

    )

    LISTENER_P11. WORLD = (address = (protocol = tcp (port = 1527))(host=10.0.1.104))

    Primary listener.ora
    ################
    # File...: listener.ora
    # Created...: created by SAP AG, R/3 rel. > = 6.10
    # Name...:
    # Date of...:
    # @(#) $Id: / / bc/700-1_REL/src/ins/SAPINST/impl/NPT/ora/ind/LISTENER. ORA #4 $
    ################
    ADMIN_RESTRICTIONS_LISTENER = we
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11. WORLD)
    )
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11)
    )
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = prod104)
    (PORT = 1527)
    )
    )
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF


    Tnsnames.ora standby
    ################
    # File...: tnsnames.ora
    # Created...: created by SAP AG, R/3 rel. > = 6.10
    # Name...:
    # Date of...:
    # @(#) $Id: / / bc/700-1_REL/src/ins/SAPINST/impl/NPT/ora/ind/TNSNAMES. ORA #4 $
    ################
    ################
    # File...: tnsnames.ora
    # Created...: created by SAP AG, R/3 rel. > = 6.10
    # Name...:
    # Date of...:
    # @(#) $Id: / / bc/700-1_REL/src/ins/SAPINST/impl/NPT/ora/ind/TNSNAMES. ORA #4 $
    ################
    P11. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11. WORLD)
    )
    )
    TO_STANDBY. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_STANDBY. WORLD)

    )

    )
    TO_PRIMARY. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.104)
    (PORT = 1527)
    )
    )
    (CONNECT_DATA =
    (SID = P11)
    (GLOBAL_NAME = P11_PRIMARY. WORLD)

    )

    )


    LISTENER_P11. WORLD = (address = (protocol = tcp (port = 1527))(host=10.0.1.102))



    Standby listener.ora

    ################
    # File...: listener.ora
    # Created...: created by SAP AG, R/3 rel. > = 6.10
    # Name...:
    # Date of...:
    # @(#) $Id: / / bc/700-1_REL/src/ins/SAPINST/impl/NPT/ora/ind/LISTENER. ORA #4 $
    ################
    ADMIN_RESTRICTIONS_LISTENER = we
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11. WORLD)
    )
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11)
    )
    (ADDRESS =
    (= SAP COMMUNITY. WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    )
    )
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF

    Please advice.

    Concerning

    Published by: dharm.singh on July 4, 2011 12:33 AM

    As you can see on the lsnrctl status output doesn't support any service

    Try adding the SID_LIST_LISTENER parameter in listener.ora file

    Check out this link and SID_LIST_LISTENER parameter

    http://www.Oracle-base.com/articles/9i/DataGuard.php

  • Flashback table does not work in 10.2?

    I thought that you can cancel a water drop and retrieve any table with FLASHBACK TABLE feature that comes with default 10.2 (i.e. no special set-up is required). But I get this error when I try to do.

    ORA-00439: feature not enabled: Flashback Table

    I've used FLASHBACK TABLE < table name > before dropping.

    Ahmer Mansoor says:
    Dear David,

    Please make sure the recyclebin parameter is on, if it is not, then follow these steps.

    SQL > ALTER SYSTEM SET RECYCLEBIN = SCOPE = BOTH;

    Well, you should check before posting a statement that if its working or not. Your answer will not actually in any way. First, the parameter is a static parameter and cannot be changed by the option TOGETHER. It must be spfile and will ask for a restart of the db. Please see below,

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> alter system set recyclebin=off;
    alter system set recyclebin=off
                                  *
    ERROR at line 1:
    ORA-02096: specified initialization parameter is not modifiable with this
    option
    
    SQL> alter system set recyclebin=off scope=both;
    alter system set recyclebin=off scope=both
                                    *
    ERROR at line 1:
    ORA-02096: specified initialization parameter is not modifiable with this
    option
    
    SQL> alter system set recyclebin=off scope=spfile;
    
    System altered.
    
    SQL> startup force
    ORACLE instance started.
    
    Total System Global Area  263639040 bytes
    Fixed Size                  1373964 bytes
    Variable Size             205523188 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                6410240 bytes
    Database mounted.
    Database opened.
    
    SQL> show parameter recyclebin
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- -----------------------------
    recyclebin                           string      OFF
    SQL>
    

    Secondly, there is no relationship between the value of the start parameter and the message that receives the OP. If the parameter is set to OFF, it would be the message,

    SQL> conn aman/aman
    Connected.
    SQL> create table test_tab(a number);
    
    Table created.
    
    SQL> drop table test_tab;
    
    Table dropped.
    
    SQL> flashback table test_tab to before drop;
    flashback table test_tab to before drop
    *
    ERROR at line 1:
    ORA-38305: object not in RECYCLE BIN
    
    SQL> show parameter recyclebin
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- --------------------------
    recyclebin                           string      OFF
    SQL> select * from V$version;
    
    BANNER
    ---------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL>
    

    HTH
    Aman...

  • Database standby manual (10.2.0.2.0) under Windows 2003 R2

    Hello

    We are developing a database of Eve at a remote site for a simple oracle DB. As we already have a standby/master for another Oracle DB (from SAP) we want to stay as close as possible to what already exists.
    For SAP Oracle standby, we manually copy all archived on the stand-by and apply them with brarchive. Everything works very well.
    For new standby, we cannot use brarchive as there is no SAP installation on the eve, but we stay with the 'manual' copy of the archive from the master to the waiting (via robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).
    The creation of the DB in waiting seems to be OK I open it, but I can't seem to apply redo logs.

    I am quite new to oracle, so maybe it's a very basic question, but I already spent 3 days on this subject...

    To start the DB, we throw a bat script:
    sqlplus/nolog @c:\backup\standby.sql
    pause

    the standby.sql:
    connect /@TECDB01 as sysdba
    startup nomount;
    ALTER database base_de_donnees eve of Mount;
    "exit";

    Can I connect to sqlplus and enter:
    change recover managed standby database;

    In another sqlplus session:
    SELECT PROCESS, STATUS, THREAD #, SEQUENCE #, BLOCK #, BLOCKS FROM V$ MANAGED_STANDBY;
    which give me:
    STATUS OF PROCESS THREAD # SEQUENCE # BLOCK # BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    Mr (FG) 1 45400 WAIT_FOR_GAP 0 0
    RFS IDLE 0 0 0 0

    45400 sequence seems to be ok about the time of the backup that is restored on the eve.
    Archive is on the server, but it will not be applied.

    The Alert_TECDB01.log:
    Fri 29 Oct 11:03:43 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SNA system picked latch-free 3
    Undo retention Autotune is turned on.
    IMODE = BR
    ILAT = 121
    LICENSE_MAX_USERS = 0
    SYS audit is disabled
    ksdpec: called to the event 13740 before initialization of the event group
    Commissioning ORACLE RDBMS Version: 10.2.0.2.0.
    Parameters of the system with default values:
    process = 999
    SGA_TARGET = 7214202880
    control_files = I:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, J:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, K:\ORACLE\ORADATA\CNTRL\STANDBY. CTL
    DB_BLOCK_SIZE = 8192
    compatible = 10.2.0.2.0
    Log_archive_dest_1 = RENTAL = K:\oracle\oradata\archive
    LOG_ARCHIVE_DEST_2 = SERVICE = TECDB01
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_STATE_2 = enable
    standby_archive_dest = K:\oracle\oradata\archive
    ARCHIVE_LAG_TARGET = 1800
    db_file_multiblock_read_count = 16
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = RBS
    UNDO_RETENTION = 10800
    Recyclebin = OFF
    Remote_login_passwordfile = EXCLUSIVE lock
    db_domain = EVERYONE
    dispatchers = (ADDRESS = (PROTOCOL = tcp) (HOST = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (CONNECTIONS = 1000)
    SHARED_SERVERS = 100
    LOCAL_LISTENER = (ADDRESS = (PROTOCOL = TCP)(HOST=xxx.xxx.xxx.92) (PORT = 1521))
    session_cached_cursors = 300
    UTL_FILE_DIR = \\srvuniway.vrithoff.srwt.tec-wl.be\hotspots
    JOB_QUEUE_PROCESSES = 10
    audit_file_dest = I:\ORACLE\ADMIN\TECDB01\ADUMP
    background_dump_dest = I:\ORACLE\ADMIN\TECDB01\BDUMP
    user_dump_dest = I:\ORACLE\ADMIN\TECDB01\UDUMP
    core_dump_dest = I:\ORACLE\ADMIN\TECDB01\CDUMP
    db_name = TECDB01
    open_cursors = 3000
    pga_aggregate_target = 1086324736
    PMON started with pid = 2, OS id = 4012
    PSP0 started with pid = 3, OS id = 3856
    MA started with pid = 4, OS id = 3580
    DBW0 started with pid = 5, OS id = 1084
    LGWR started with pid = 6, OS = 576 id
    CKPT started with pid = 7, OS id = 3516
    SMON started with pid = 8, OS = 508 id
    RECCE has started with pid = 9, OS id = 3068
    CJQ0 started with pid = 10, OS id = 2448
    MMON started with pid = 11, OS id = 2840
    MMNL started with pid = 12, OS id = 3024
    Fri 29 Oct 11:03:44 2010
    commissioning 4 dispatcher (s) for '(ADDRESS =(PROTOCOL=tcp) (HOST = xxx.xxx.xxx.92))' network address...
    commissioning or servers shared 100...
    Fri 29 Oct 11:03:45 2010
    change the basis of mountain rescue
    Fri 29 Oct 11:03:51 2010
    Definition of embodiment of recovery target 2
    ARK: START OF THE ARCH PROCESS
    Arc0 started with pid = 118, OS id = 3584
    Fri 29 Oct 11:03:51 2010
    Arc0: Started archiving
    Arc1 started with pid = 119, OS id = 3688
    Fri 29 Oct 11:03:51 2010
    Arc1: Started archiving
    ARCH: FROM PROCESS ARCH COMPLETE
    Fri 29 Oct 11:03:51 2010
    Arc0: become the "no FAL' ARCH
    Fri 29 Oct 11:03:51 2010
    Mount of redo thread 1, with mount id 3987142355
    Fri 29 Oct 11:03:51 2010
    Arc0: become the "no SRL" ARCH
    Fri 29 Oct 11:03:51 2010
    Arc1: Become the heartbeat ARCH
    Fri 29 Oct 11:03:51 2010
    Physical Standby Database mounted.
    Completed: alter database mount standby
    Fri 29 Oct 11:04:06 2010
    change recover managed standby database
    Fri 29 Oct 11:04:06 2010
    Managed Standby recovery not using real time applies
    parallel recovery started with 7 process
    Media, recovery waiting for thread 1 sequence 45400
    Pick up the empty sequence in thread 1, 45400-45499 gap sequence
    + FAL [client]: error recovery gap sequence, no specified FAL server +.
    Fri 29 Oct 11:04:37 2010
    + FAL [client]: could not ask gap sequence.
    GAP - thread 1 sequence 45400-45499
    3776455083 670241032 DBID branch
    + FAL [client]: all defined FAL servers have been tried. +
    -------------------------------------------------------------
    Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME
    parameter is set to a value large enough
    enough to keep adequate record switch information to solve
    ARCHIVELOG gaps.
    -------------------------------------------------------------
    Fri 29 Oct 11:04:51 2010
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [1]: assigned to the RFS 3452 process
    «RFS [1]: Type of database called a ' standby' physical «»
    Fri 29 Oct 11:04:51 2010
    LogMiner RFS: Disabled Client of the another view

    The tecdb01_arc1_3688.trc:
    I:\oracle\admin\tecdb01\bdump\tecdb01_arc1_3688.TRC dump file
    Fri 29 Oct 11:03:51 2010
    ORACLE V10.2.0.2.0 - Production of 64-bit vsnsta = 0
    vsnsql = 14 vsnxtr = 3
    Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options
    Windows NT Version V5.2 Service Pack 2
    UC: 8 - type 8664, 2 physical cores
    Process affinity: 0 x 0000000000000000
    Memory (success/Total): Ph: 7467 M / 9215 M, Ph PgF:2454 M / 10796 +.
    Instance name: tecdb01

    Redo thread mounted by this instance: 1

    Oracle process number: 119

    Windows thread ID: 3688, image: ORACLE. EXE (ARC1)


    NAME OF THE SERVICE :() 11:03:51.177 2010-10-29
    SESSION ID: (1088.1) 2010-10-29 11:03:51.177
    kcrrwkx: nothing to (early)
    11:04:51.129 2010-10-29
    Repeat customer shipping performing a pending connection
    2010-10-29 11:04:51.176 64529 kcrr.c
    Connected mode standby successfully
    Customer logon and security successful trading!
    kcrrwkx: nothing to (end)
    11:05:51.285 2010-10-29
    kcrrwkx: nothing to (end)
    11:06:51.300 2010-10-29
    kcrrwkx: nothing to (end)

    The initTECDB01.ora:
    ##############################################################################
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    ##############################################################################

    ###########################################
    # Archive
    ###########################################
    ARCHIVE_LAG_TARGET = 1800
    Log_archive_dest_1 =' LOCATION = K:\oracle\oradata\archive'

    ###########################################
    IO and cache memory #.
    ###########################################
    DB_BLOCK_SIZE = 8192
    db_file_multiblock_read_count = 16

    ###########################################
    # The library Cache and sliders
    ###########################################
    open_cursors = 3000
    session_cached_cursors = 300

    ###########################################
    # Identification of the database
    ###########################################
    db_domain = EVERYONE
    db_name = TECDB01

    ###########################################
    # Diagnostic and statistical
    ###########################################
    background_dump_dest = I: \oracle\admin\TECDB01\bdump
    core_dump_dest = I: \oracle\admin\TECDB01\cdump
    user_dump_dest = I: \oracle\admin\TECDB01\udump

    ###########################################
    # Configuration file
    ###########################################
    control_files = ("I:\oracle\oradata\cntrl\standby.ctl", "J:\oracle\oradata\cntrl\standby.ctl", "K:\oracle\oradata\cntrl\standby.ctl")

    ###########################################
    # Work queue
    ###########################################
    JOB_QUEUE_PROCESSES = 10

    ###########################################
    # Various
    ###########################################
    compatible = 10.2.0.2.0
    Recyclebin = OFF

    ###########################################
    # Process and Sessions
    ###########################################
    process = 999

    ###########################################
    # SGA memory
    ###########################################
    SGA_TARGET = 6880M

    ###########################################
    # Pools
    ###########################################
    #java_pool_size = 150 M

    ###########################################
    # Security and audit
    ###########################################
    audit_file_dest = I: \oracle\admin\TECDB01\adump
    Remote_login_passwordfile = EXCLUSIVE lock

    ###########################################
    # Shared server
    ###########################################
    SHARED_SERVERS = 100
    Dispatchers = "(Address = (Protocol = TCP) (Host = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (Connections = 1000)" "
    #dispatchers = "(PROTOCOL=TCP) (SERVICE = TECDB01XDB)" "

    ###########################################
    # Sort, hash joins, index Bitmap
    ###########################################
    pga_aggregate_target = 1036M

    ###########################################
    # System managed Undo and Rollback Segments
    ###########################################
    UNDO_MANAGEMENT = AUTO
    UNDO_RETENTION = 10800
    undo_tablespace = RBS

    LOCAL_LISTENER = "(Address = (Protocol = TCP)(Host=xxx.xxx.xxx.92) (port = 1521))" "

    # NIDA - 28.10.2010 - repeat applies
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_2 = "SERVICE = TECDB01'"
    LOG_ARCHIVE_DEST_STATE_2 = enable
    standby_file_management # = auto
    standby_archive_dest = K:\oracle\oradata\archive

    And the TNSNAMES.ora:

    tnsnames.ora # Network Configuration file: C:\oracle\102\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    #this is switched to standby
    TECDB01. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.92) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = TECDB01)
    )
    )

    #
    # This file is written by Oracle Services For MSCS
    # Sat Nov 08 10:44:27 2008
    #

    #this is the master
    PRIMARY. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.246) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = TECDB01)
    )
    )

    EXTPROC_CONNECTION_DATA. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = TECDB01))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = TECDB01)
    )
    )

    Hope you have all the information to get back me in the right way.

    Kind regards

    Nicolas

    but we stay with the 'manual' copy of the archive from the master to the expectation (using robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).

    In this case, you should not use the keyword MANAGED in get it BACK... DATABASE PENDING.

    MANAGED applies when Eve is part of an 'Oracle Standby' infrastructure where the primary ships archivelogs (by ARCH or LGWR) and a processs RFS on the eve receives files, update the local controlfile (on standby).

    If you do manual shipping you use RECOVER STANDBY DATABASE (interactive mode) or RECOVER AUTOMATIC STANDBY DATABASE (automatic mode that stops when it cannot see any archivelogs more). These modes are not based on the controlfile Eve know what archivelogs are available but in fact search archivelogs (similar to the DATABASE with the HELP of BACKUP CONTROLFILE RECOVERY what who is not aware of the "later" archivelogs, but seeks only to the log_archive_dest expected).

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Why there is only a single process RFS in v$ managed_standby?

    We build a backup using Oracle Dataguard 10 g server.
    Steps to start this server are:
    SQL > STARTUP NOMOUNT;
    SQL > ALTER DATABASE MOUNT STANDBY DATABASE;
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM the SESSION.

    When we show the process using v$ managed_standby
    SQL > SELECT PROCESS, STATUS, THREAD #, SEQUENCE #, BLOCK #, BLOCKS FROM V$ MANAGED_STANDBY;
    the result is

    STATUS OF PROCESS THREAD # SEQUENCE # BLOCK # BLOCKS
    --------- ------------ ---------- ---------- ---------- ----------
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    MRP0 WAIT_FOR_LOG 1 81 0 0
    RFS IDLE 0 0 0 0

    There is only a single process RFS. Whereas, when I read articles on the GDO, they mention that there are two methods of RFS.

    How to create the RFS another process? Should be to identify what are the parameters?

    Thank you very much

    Kind regards
    May


    Notes: init.ora
    SID.__db_cache_size = 2231369728
    * ._B_TREE_BITMAP_PLANS = FALSE
    * ._bloom_filter_enabled = FALSE
    * ._fix_control = 4728348: OFF ',' 5705630: WE '
    * ._IN_MEMORY_UNDO = FALSE
    * ._INDEX_JOIN_ENABLED = FALSE
    * ._OPTIM_PEEK_USER_BINDS = FALSE
    * ._OPTIMIZER_MJC_ENABLED = FALSE
    * ._SORT_ELIMINATION_COST_RATIO = 10
    * ._table_lookup_prefetch_size = 0
    *.background_dump_dest='/Oracle/SID/saptrace/arriere-plan '
    * full = '10.2.0'
    * .control_file_record_keep_time = 30
    *.control_files='/Oracle/SID/origlogA/Cntrl/cntrlSID.dbf','/Oracle/SID/origlogB/Cntrl/cntrlSID.dbf','/Oracle/SID/sapdata1/Cntrl/cntrlSID.dbf '
    *.core_dump_dest='/Oracle/SID/saptrace/arriere-plan '
    * .db_block_size = 8192
    * .db_cache_size = 3383296000
    * .db_files = 354
    * .db_name = "SID".
    * .dml_locks = 4000
    * .event = ' 10027 trace name forever, context level 1', ' 10028 trace the context name forever, level 1', 'trace 10162 name context forever, level 1', ' name of the trace 10183
    context forever, level 1,' 10191 trace the context name forever, level 1', 'trace 10629 name context forever, level 32', ' trace 10891 context name forever, level
    1', 14532 trace context name forever, level 1', 'trace 38068 name context forever, level 100',' 38087 trace context name forever, level 1,' 44951 trace name co
    ntext forever, level 1024'
    *. FILESYSTEMIO_OPTIONS = "setall".
    * .job_queue_processes = 1
    #*.log_archive_dest='/oracle/SID/oraarch/SIDarch '
    * .log_buffer = 1048576
    * .log_checkpoint_interval = 0
    * .log_checkpoints_to_alert = true
    * .max_dump_file_size = "20000".
    * .open_cursors = 800
    * .optimizer_index_cost_adj = 20
    * .parallel_execution_message_size = 16384
    * .parallel_threads_per_cpu = 1
    * .pga_aggregate_target = 3435973837
    * runoff = 160
    * .query_rewrite_enabled = "false".
    * .recyclebin = "off".
    * .remote_login_passwordfile = "exclusive."
    * .remote_os_authent = true
    * .replication_dependency_tracking = false
    * Once = 320
    * .sga_max_size = 5670000000
    * .shared_pool_size = 2228685373
    * .sort_area_retained_size = 0
    * .sort_area_size = 2097152
    * .star_transformation_enabled = 'true '.
    * .undo_management = "AUTO".
    * .undo_retention = 43200
    * .undo_tablespace = "PSAPUNDO".
    *.user_dump_dest='/Oracle/SID/SAPTRACE/usertrace '

    #DATA GUARD STANDBY DATABASE CONFIGURATION
    *. Log_archive_dest_1 = 'LOCATION = / Oracle/sid/oraarch/SIDarch'
    * .log_archive_dest_state_1 = enable
    *.log_archive_format=SIDarch%t_%s_%r.dbf
    *.standby_archive_dest=/Oracle/SID/oraarch/SIDarch
    * .fal_server = prim-server
    * .fal_client = stan-server

    Jin

    The listener on the standby site generates the RFS process depending on connection received. What is the max process archive of the newspaper? This isn't just two RFS process, we can see a lot...

    SQL> SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    
    PROCESS   STATUS          THREAD#  SEQUENCE#     BLOCK#     BLOCKS
    --------- ------------ ---------- ---------- ---------- ----------
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    MRP0      APPLYING_LOG          2      56362      17111     601526
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  1      60056          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  0          0          0          0
    
    12 rows selected.
    

    Baskar.l

  • flashback to OFFSHORE

    Hello

    We use the Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0 - 64 bit on HP - UX

    We didn't need to use the flashback feature, so we put the recyclebin = OFF and db_flashback_retention_target = 0 parameters.

    but during the creation of tablespace and omitting the clause of blowback, Oracle automatically put flasback WE on the tablespace.
    Is there a disadvantage to have some tablespaces with active flashback? Y at - it any internal action Oracle will be if fllashback is defined on IT for tablespace? Is it better to explicitly set the flashback OFF when we create a tablespace?

    Thank you!

    >
    We didn't need to use the flashback feature, so we put the recyclebin = OFF and db_flashback_retention_target = 0 parameters.

    but during the creation of tablespace and omitting the clause of blowback, Oracle automatically put flasback WE on the tablespace.
    Is there a disadvantage to have some tablespaces with active flashback? Y at - it any internal action Oracle will be if fllashback is defined on IT for tablespace? Is it better to explicitly set the flashback OFF when we create a tablespace?
    >

    If you have not put the database in view of back to back, the flashback_on column in v$ tablespace is meaningless. In other words: If Select flashback_on v database $; returns No. , then forget all columns in v$ tablespace flashback_on. No reason to act, because no newspaper flashback is written in any case. You could exempt a tablespace of the writing of flashback records only if you are using the flashback on the database level. It is something, totally independent of the RECYCLEBIN parameter, in the way.

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • Problems with cloning a database using copies of the image

    I use Oracle 10.2.0.4 on a 64-bit RHEL 4 Linux configuration.

    The problem that I am trying to solve is to copy the database to production on a local machine for development and quality assurance. I tried to include as much detail as possible.

    The environment:

    I have a production system that replicates physical expectations.
    We take incremental backups on the database of relief, which are applied to copies of the image, every night. We use a recovery catalog.
    Archive logs and a backup control files are stored in the same directory as the copies of the image.

    The process:

    We copied all files in this directory of backup on the local computer.
    At this point, I tried several methods to recover the database:

    1 clone:
    -J' copied the initialization file of the main machine to the local computer. I modified the creation of paths and memory settings.
    -J' did a trace of the control file and copied to the local computer.
    -After making the necessary adjustments to creative writing, I created the new control file
    -J' I then issued:
    recover database using backup controlfile until cancel;
    -After receiving the following:
    ORA-00279: change 313748229 generated at 09/14/2008 00:30:55 needed for thread 1
    ORA-00289: suggestion :
    /u02/app/oracle/flash_recovery_area/SWD1ORACLE1/archivelog/2008_09_18/o1_mf_1_22304_%u_.arc
    ORA-00280: change 313748229 for thread 1 is in sequence #22304
    Specify log: {=suggested | filename | AUTO | CANCEL} 
    -I then entered CANCEL
    -A my next message: {codeORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error}
    ORA-01194: file 4 recovery needs more match
    ORA-01110: data file 4:
    ' / u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1.
    ORA-01112: media recovery not started {code}
    -Out of pure hope and prayer, I have published:
    alter database open resetlogs;
    -Made me the following error:
    ERROR at line 1:
    ORA-01194: file 4 needs more recovery to be consistent
    ORA-01110: data file 4:
    '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1'
    Then, I moved to the possibility 2: RMAN

    2 RMAN restore:
    -J' first tried
    run { allocate channel ch1 device type disk; restore database; }
    -He gave me the following:
    allocated channel: ch1
    channel ch1: sid=1643 devtype=DISK
    Starting restore at 18-SEP-08
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 13:24:27
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    - Then I started cross-checking files:
    -datafile 1:
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1643 devtype=DISK
    -datafile 2 on:
    using channel ORA_DISK_1
    -J' I then issued:
    list incarnation of database;
    -Which gave me:
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    ------- ------- -------- ---------------- --- ---------- ----------
    1       1       DATATRAK 3742967129       CURRENT 18136361   26-NOV-07
    -J' tried these two
    restore datafile 1;
    restore datafile '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1151_s 1'
    which gave me the same results:
    Starting restore at 18-SEP-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1643 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 13:49:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    -J' then went back at the beginning and tried to restore the controlfile instead of using the newly created controlfile
    -J' wrote:
    restore controlfile from '/u02/app/oracle/oradata/datatrak/cf_D-DATATRAK_i d-3742967129_i6jqcmaq';
    -Which gave me:
    Starting restore at 18-SEP-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 14:02:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    -After learning that we use autobackup to save our controlfile, now, I am faced with the proverbial wall.

    Excerpt from data pump and duplicate RMAN are possibilities, but we really want to do those.

    Any help on this issue would be greatly appreciated.

    For completeness, the initialization
    aq_tm_processes = 0
    audit_file_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/adump
    background_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/bdump
    core_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/cdump
    db_file_multiblock_read_count = 16
    db_unique_name = SWD1ORACLE1
    disk_asynch_io = TRUE
    dispatchers = '(PROTOCOL=TCP) (SERVICE=datatrakXDB)'
    event = '10235 trace name context forever, level 2'
    filesystemio_options = ASYNCH
    job_queue_processes = 10
    nls_length_semantics = BYTE
    plsql_code_type = INTERPRETED
    plsql_native_library_dir = /u01/app/oracle/ncomplibs/
    plsql_native_library_subdir_count = 150
    recyclebin = OFF
    resource_manager_plan = ''
    service_names = SWD1ORACLE1
    session_cached_cursors = 400
    session_max_open_files = 20
    sga_max_size = 4000M
    smtp_out_server = swd1oracle1
    standby_file_management = AUTO
    streams_pool_size = 50M
    undo_retention = 900
    user_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/udump
    compatible = 10.2.0.1.0
    control_files = ('/u02/app/oracle/product/10.2.0/db_1/dbs/cf_D-DATATRAK_id-3742967129_i6jqcmaq')
    db_block_size = 8192
    db_create_file_dest = '/u02/app/oracle/oradata/datatrak'
    db_domain = ''
    db_name = datatrak
    db_recovery_file_dest = '/u02/app/oracle/flash_recovery_area'
    db_recovery_file_dest_size = 150G
    log_archive_dest_1 = 'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=DATATRAK'
    log_archive_dest_state_1 = ENABLE
    open_cursors = 6000
    pga_aggregate_target = 250M
    processes = 1500
    remote_login_passwordfile = EXCLUSIVE
    sessions = 1655
    sga_target = 4000M
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    And the creation of control file:
    CREATE CONTROLFILE REUSE DATABASE "DATATRAK" RESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 2336 LOGFILE GROUP 1 ( '/u02/app/oracle/oradata/datatrak/redo01.log' ) SIZE 50M, GROUP 2 ( '/u02/app/oracle/oradata/datatrak/redo02.log' ) SIZE 50M DATAFILE '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1151_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1149_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1150_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1146_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1147_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1148_s1' CHARACTER SET WE8ISO8859P1;
    Sincerely,
    Derek

    Hello

    Now try:

    recover database using backup controlfile until cancel and when the message asking an archive appears, enter the good patch and name and press on enter, repeat it until the last archive you have, then enter Cancel.

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

Maybe you are looking for

  • Qosmio G10 map dead mother

    Hello I have a 2.5 years quosmio G10.It won't start more (black screen, no more sound at startup...)I have seen a lot of post on the web, it seems that my motherboard is dead!...The cost to fix ix unaffortable (above the price of laptop!...)Do you ha

  • I have an email stuck in my Outbox and it doesn't allow me to delete

    I tried to send a video attachment from an application. The email is now stuck in my Outbox (iCloud) on my iPhone and I can't remove it. It will not slide to display the tab remove red. How can I remove and stop "spinning" away? Thank you

  • Where can I get the version 2.05 for my T430s Thinkpad BIOS

    Currently, I have the old version 2.02 of the BIOS on my Thinkpad s 430. The version of the lenova site is not desirable for me because it prevents roll to an earlier version if needed by me. Older versions of BIOS are the 7 digits and upgrade to any

  • About T3I EF lenses

    I just want to know if my calculations are correct on this point. This is the focal point of equavalent of some privileged lenses EF on the T3i. I multiply by 1.6 x culture right? 24mm EF would be 38mm30mm EF would be 48 mm85mm EF would be 136mm Is t

  • The Vista Task Manager will not close

    I opened the Task Manager, but after use I can not close it. It doesn't have an end IE X box and when I click on the task bar it does not give me an option close,. Help please TIA Snorkell