ORA-03217: invalid option for alter of TEMPORARY TABLESPACE

Hi all
I have a database with 300 Users approximantely.
Suddenly I was reported about slowly connection and looked to my database. And I saw that Temporary tablespace with name MUVTEMP is 0% used and in it there is no .dbf file
Then I do ls on my data files directory and saw there MUVTEMP01.dbf!
But it's not using it. Then I want to add another .dbf file. It created this file physically but not joined it to my temporary tablespace.
Then I did it with Oracle EM, clicked on "Show SQL" and there was written
ALTER TABLESPACE "MUVTEMP"
ADD
DATAFILE '/home/oracle/OraHome1/oradata/linux/test.dbf' SIZE
5M
I run it from EM it gave this error
ORA-03217: invalid option for alter of TEMPORARY TABLESPACE
Then I run this SQL in sqlplus
ALTER TABLESPACE "MUVTEMP"
ADD
TEMPFILE '/home/oracle/OraHome1/oradata/linux/test.dbf' SIZE
5M
it created file physically, but I can't see this file as temporary tablespace's file. It's not using....
Where is my mistake???
Thanks...

Hi,
try this query:
select s.sid || ',' || s.serial# sid, s.username, u.tablespace, substr(a.sql_text, 1, (instr(a.sql_text, ' ')-1)) sql_text,
  round(((u.blocks*p.value)/1024/1024),2) size_mb
from v$sort_usage u, v$session s, v$sqlarea a, v$parameter p
where s.saddr = u.session_addr
  and a.address (+) = s.sql_address
  and a.hash_value (+) = s.sql_hash_value
  and p.name = 'db_block_size'
group by s.sid || ',' || s.serial#, s.username, substr(a.sql_text, 1, (instr(a.sql_text, ' ')-1)), u.tablespace, round(((u.blocks*p.value)/1024/1024),2);

Similar Messages

  • ORA-02248: invalid option for ALTER SESSION when logging in from client

    Hi,
    I am a junior dba and I was hoping if someone could help me out with a problem I am having. I recently installed on oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix box but I am getting the below error when trying to connect from the client.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I've done some digging around on this and I think it might be something to do with the NLS_LANG setting maybe. I'm not sure though and to be honest I'm a bit lost on this.
    Any help would be greatly appreciated. Cheers.
    Rgs,
    Rob

    Please see below
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • Error ORA-02248 invalid option for ALTER SESSION

    Hi All,
    I'm using windows vista.I have installed oracle database 11g.Now, SQL Developer is working fine in this.I gave the sid as orcl and gave my username and password in sqldeveloper and it works.
    But the host string is not working in forms and sql plus.How do i know which host string i should give??I came to know that the tnsnames.ora which is present in the oracle home directory should be copied to forms directory also.I did that too but still forms,reprorts and sql plus are not working.I get two errors namely ORA-02248 invalid option for ALTER SESSION and TNS could not resolve service name .Pls suggest how to proceed.Thanks in advance....
    Regards,
    Gowtham

    Unfortunately you forgot to mention forms/reports version. Currently only one Developer Suite version is certified on Vista running 11g,don't ignore software/hardware requirements.
    It's 10.1.2.0.2 and that package requires additionally patch 6153263.
    Werner

  • "ORA-02248: invalid option for ALTER SESSION" -- Urgent request

    Hi All,
    We use Discoverer 3.1.36.06 and are in middle of a 3i to 10g upgrade for Discoverer for a data warehouse setup. Our databases where upgraded to 10g from 9i and now we get the error message saying:
    "ORA-02248: invalid option for ALTER SESSION"
    I got some very helpful info abt the prob from the link below.
    Discoverer 3i Issue with 10.2.0.3 - ORA-02248
    We are mid way through the 3i to 10g upgrade and just need a quick fix for the next 2-3 weeks while the upgrade is finished.
    Does any one know if changing the NLS language and applying the post longon trigger on Database id's would help in resolving this connection issue temporarily.
    Any advice is deeply appreciated.
    Thanks.
    Edited by: Paul S on Dec 15, 2008 3:01 PM Corrected the link

    Hi,
    There are two types of trigger you can use: database triggers and discoverer triggers. You probably want to use a database trigger.
    If you are using an APPS mode EUL (ie. logging using Applications username/passwords) then you will be logging in as the APPS database user and the syntax is:
    create or replace trigger APPS.disco_logon_trigger after logon ON APPS.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    If it is a database EUL and the database user is gl_inq then the syntax would be
    create or replace trigger gl_inq.disco_logon_trigger after logon ON gl_inq.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    Rod West

  • ORA-02248: invalid option for ALTER SESSION

    I deploy application in OC4J 10.1.3, it use Oracle 8.0.5.0.0, but when I try connect DB, it gives me error:
    ORA-00604 Error occured at recursive SQL Level 1
    ORA-02248 Invalid Option for Alter Session
    Can someone please help me with this.

    From which version of Designer/SCM are you exporting and to which version are you importing? Please give the complete version number as shown in the Help->About dialog. For example, Oracle SCM 9i (9.0.2.10) and Oracle SCM 10g (9.0.4.6).
    - Suresh

  • Form6i connecting to DB11g, ORA-02248: invalid option for ALTER SESSION

    when i am try to connect forms6 to database 11G then receiving this error:
    ORA-02248: invalid option for ALTER SESSION ,
    any one can help.
    Regard
    MK

    I believe Forms 6i issues this:
    ALTER SESSION SET REMOTE_DEPENDENCIES_MODE = SIGNATURE
    See if it is valid in Oracle 11.
    If that is not the problem, run your form with trace on, and view the SQL statements passed. From my notes, trace is :
    In C:\Orant\Net80\admin\SQLNET.ORA, set:
    trace_level_client = 16
    then run the form. File produced is named in:
    trace_directory_client = C:\ORANT\NET80\TRACE
    trace_file_client = C:\ORANT\NET80\TRACE\cli.trc
    Please report back what you find.

  • Deployment Error ORA-02248: invalid option for ALTER SESSION

    While trying to deploy application on oc4j standalone 10.1.2, I receive the following error:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    Any ideas?

    Hello,
    Which kind of application are you deploying?
    What the application is doing with the database during deployment? (what j2ee components are you using that could access the DB during deployment)
    Regards
    Tugdual Grall

  • EA2 - invalid option for ALTER SESSION when logging in to 9i DB via EA2

    When logging in to a 9i DB(9.2.0.7.0) i recieve the following error in the Logging Window:
    SEVERE     48     16     ORA-02248: invalid option for ALTER SESSION
    Edited by: Trotty on Nov 10, 2009 10:37 AM
    Does anyone else get this logging message when accessing a 9i DB
    Edited by: Trotty on Nov 10, 2009 10:37 AM

    Trotty wrote:
    When logging in to a 9i DB(9.2.0.7.0) i recieve the following error in the Logging Window:
    SEVERE     48     16     ORA-02248: invalid option for ALTER SESSION
    Edited by: Trotty on Nov 10, 2009 10:37 AM
    Does anyone else get this logging message when accessing a 9i DBI use 10g but have never seen that message even on 9i.
    See if you have any on-login triggers that could be issuing an incorrect alter session command. Also see if the error occurs as other users (if possible)
    If this was SQL*PLUS I'd also check the login.sql and glogin.sql files but I don't think sql*developer uses those.
    Edited by: riedelme on Nov 10, 2009 6:18 AM

  • Error During Installation: ORA-02180: invalid option for CREATE TABLESPACE

    Hi all,
    This is our enviroment,
    Windows 2000 Service Pack 4
    We are installing SAP R/3 Enterprise 4.7 Ext. 200 SR1
    First we installed:
    Oracle: 9.2
    Patch: 9.2.0.7
    SAP Central Instance
    Now we are installing the DB Instance, but it gives this error:
    INFO 2007-11-22 16:58:20
    Working directory changed to C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\NUC\DB.
    ERROR 2007-11-22 16:58:21
    CJS-00084  SQL statement or script failed.DIAGNOSIS: Error message: ORA-02180: invalid option for CREATE TABLESPACE
    We are in the step 19 of 34
    Create Tablespaces
    Please some tips.
    Regards,
    Erick

    Hi! Thanks a lot for the reply.
    This is our <b>ora_sql_results.log</b>
    ================================================================================
    2007-11-23, 07:31:09 SAPINST ORACLE start logging for
    connect  /  as sysdba ;
    set newpage 0
    set space 0
    set pagesize 0
    set linesize 32767
    set markup HTML off
    set heading off
    set verify off
    set feedback off
    set trimspool on
    set sqlprompt SQL>
    set termout on
    set verify off
    set echo off
    spool ora_query3_tmp0_1.res
    SELECT STATUS FROM V$INSTANCE;
    spool off
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 9.2.0.7.0 - Production on Fri Nov 23 07:31:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    OPEN
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SAPINST: End of output of SQL executing program D:\oracle\TVD\920/bin/sqlplus.
    2007-11-23, 07:31:10 SAPINST ORACLE stop logging
    ================================================================================
    2007-11-23, 07:31:10 SAPINST ORACLE start logging for
    connect  /  as sysdba ;
    CREATE TABLESPACE PSAP@SCHEMAID@ DATAFILE 'E:\oracle\TVD\sapdata4\psap@schemaid@_1\psap@[email protected]' SIZE 2000M  REUSE  AUTOEXTEND  ON NEXT 20M MAXSIZE 10000M  LOGGING ONLINE PERMANENT  EXTENT MANAGEMENT  LOCAL  AUTOALLOCATE  SEGMENT SPACE MANAGEMENT AUTO ;
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 9.2.0.7.0 - Production on Fri Nov 23 07:31:10 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    CREATE TABLESPACE PSAP@SCHEMAID@ DATAFILE 'E:\oracle\TVD\sapdata4\psap@schemaid@_1\psap@[email protected]' SIZE 2000M  REUSE  AUTOEXTEND     ON NEXT 20M MAXSIZE 10000M  LOGGING ONLINE PERMANENT  EXTENT MANAGEMENT  LOCAL     AUTOALLOCATE  SEGMENT SPACE MANAGEMENT AUTO
    ERROR at line 1:
    ORA-02180: invalid option for CREATE TABLESPACE
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SAPINST: End of output of SQL executing program D:\oracle\TVD\920/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2007-11-23, 07:31:10 SAPINST ORACLE stop logging
    And this is <b>our alert_SID.log</b>
    Dump file d:\oracle\tvd\saptrace\background\alert_tvd.log
    Thu Nov 22 16:27:45 2007
    ORACLE V9.2.0.7.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Thu Nov 22 16:27:45 2007
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      shared_pool_size         = 251658240
      sga_max_size             = 546906620
      shared_pool_reserved_size= 24363663
      enqueue_resources        = 8000
      control_files            = E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf, E:\oracle\TVD\sapdata1\system_1\cntrl\cntrlTVD.dbf, D:\oracle\TVD\saparch\cntrl\cntrlTVD.dbf
      db_block_size            = 8192
      db_cache_size            = 251658240
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = D:\oracle\TVD\oraarch\TVDarch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 254
      fast_start_mttr_target   = 900
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 4000
      transaction_auditing     = FALSE
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      remote_os_authent        = TRUE
      hash_join_enabled        = FALSE
      background_dump_dest     = D:\oracle\TVD\saptrace\background
      user_dump_dest           = D:\oracle\TVD\saptrace\usertrace
      core_dump_dest           = D:\oracle\TVD\saptrace\background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = TVD
      open_cursors             = 800
      pga_aggregate_target     = 324848844
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Nov 22 16:27:48 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC1 started with pid=9
    Thu Nov 22 16:27:48 2007
    ARC0: Archival started
    Thu Nov 22 16:27:48 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Nov 22 16:27:48 2007
    ARC1: Archival started
    Thu Nov 22 16:27:48 2007
    ARC0: Becoming the 'no FAL' ARCH
    Thu Nov 22 16:27:48 2007
    ARC1: Becoming the heartbeat ARCH
    Thu Nov 22 16:27:48 2007
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Thu Nov 22 16:27:48 2007
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Thu Nov 22 16:27:49 2007
    alter database mount exclusive
    Thu Nov 22 16:27:49 2007
    ORA-00202: controlfile: 'E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Thu Nov 22 16:27:50 2007
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 1
    Instance terminated by USER, pid = 1768
    Thu Nov 22 16:28:05 2007
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      shared_pool_size         = 251658240
      sga_max_size             = 546906620
      shared_pool_reserved_size= 24363663
      enqueue_resources        = 8000
      control_files            = E:\oracle\TVD\origlogA\cntrl\cntrlTVD.dbf, E:\oracle\TVD\sapdata1\system_1\cntrl\cntrlTVD.dbf, D:\oracle\TVD\saparch\cntrl\cntrlTVD.dbf
      db_block_size            = 8192
      db_cache_size            = 251658240
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = D:\oracle\TVD\oraarch\TVDarch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      db_files                 = 254
      fast_start_mttr_target   = 900
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 4000
      transaction_auditing     = FALSE
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      remote_os_authent        = TRUE
      hash_join_enabled        = FALSE
      background_dump_dest     = D:\oracle\TVD\saptrace\background
      user_dump_dest           = D:\oracle\TVD\saptrace\usertrace
      core_dump_dest           = D:\oracle\TVD\saptrace\background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = TVD
      open_cursors             = 800
      pga_aggregate_target     = 324848844
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Thu Nov 22 16:28:08 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC0: Archival started
    ARC1 started with pid=9
    Thu Nov 22 16:28:08 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Nov 22 16:28:08 2007
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Thu Nov 22 16:28:09 2007
    ARC1: Archival started
    Thu Nov 22 16:28:09 2007
    ARC1: Becoming the heartbeat ARCH
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Thu Nov 22 16:28:11 2007
    CREATE DATABASE TVD CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET WE8DEC NATIONAL CHARACTER SET UTF8 DATAFILE 'E:\oracle\TVD\sapdata1\system_1\system.data1' SIZE 550M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE 'E:\oracle\TVD\sapdata3\temp_1\temp.data1' SIZE 540M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE 'E:\oracle\TVD\sapdata2\undo_1\undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('E:
    oracle/TVD/origlogA/log_g11m1.dbf',
    'D:
    oracle/TVD/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,
    GROUP 2 ('E:
    oracle/TVD/origlogB/log_g12m1.dbf',
    'D:
    oracle/TVD/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,
    GROUP 3 ('E:
    oracle/TVD/origlogA/log_g13m1.dbf',
    'D:
    oracle/TVD/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,
    GROUP 4 ('E:
    oracle/TVD/origlogB/log_g14m1.dbf',
    'D:
    oracle/TVD/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSE
    Thu Nov 22 16:28:12 2007
    Database mounted in Exclusive Mode.
    Thu Nov 22 16:28:29 2007
    Successful mount of redo thread 1, with mount id 1434613531
    Assigning activation ID 1434613531 (0x5582771b)
    Thread 1 opened at log sequence 1
    Thu Nov 22 16:28:30 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:28:31 2007
      Current log# 1 seq# 1 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G11M1.DBF
      Current log# 1 seq# 1 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G11M2.DBF
    Successful open of redo thread 1
    Thu Nov 22 16:28:31 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:28:31 2007
    SMON: enabling cache recovery
    Thu Nov 22 16:28:32 2007
    WARNING: Default passwords for SYS and SYSTEM will be used.
             Please change the passwords.
    Thu Nov 22 16:28:32 2007
    create tablespace SYSTEM datafile  'E:\oracle\TVD\sapdata1\system_1\system.data1' SIZE 550M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL online
    Thu Nov 22 16:28:51 2007
    Completed: create tablespace SYSTEM datafile  'E:\oracle\TVD\
    Thu Nov 22 16:28:51 2007
    create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Thu Nov 22 16:29:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:29:10 2007
    CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  'E:\oracle\TVD\sapdata2\undo_1\undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Thu Nov 22 16:29:35 2007
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  'E:\orac
    Thu Nov 22 16:29:36 2007
    CREATE TEMPORARY TABLESPACE PSAPTEMP TEMPFILE  'E:\oracle\TVD\sapdata3\temp_1\temp.data1' SIZE 540M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Completed: CREATE TEMPORARY TABLESPACE PSAPTEMP TEMPFILE  'E:
    Thu Nov 22 16:29:36 2007
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE PSAPTEMP
    Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE PSAPTE
    Thu Nov 22 16:29:39 2007
    SMON: enabling tx recovery
    Thu Nov 22 16:29:39 2007
    Beginning local checkpoint up to RBA [0x1.538b.10], SCN: 0x0000.000019d9
    Completed checkpoint up to RBA [0x1.538b.10], SCN: 0x0000.000019d9
    kwqplbsc: open notifier exception err 604
    replication_dependency_tracking turned off (no async multimaster replication found)
    Completed: CREATE DATABASE TVD CONTROLFILE REUSE  MAXLOGFILES
    Thu Nov 22 16:30:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:28 2007
    Beginning log switch checkpoint up to RBA [0x2.2.10], SCN: 0x0000.00006489
    Thread 1 advanced to log sequence 2
    Thu Nov 22 16:31:28 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:31:29 2007
      Current log# 2 seq# 2 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G12M1.DBF
      Current log# 2 seq# 2 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G12M2.DBF
    Thu Nov 22 16:32:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:33:08 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:33:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:33:16 2007
    Completed checkpoint up to RBA [0x2.2.10], SCN: 0x0000.00006489
    Thu Nov 22 16:33:26 2007
    Beginning log switch checkpoint up to RBA [0x3.2.10], SCN: 0x0000.00009227
    Thread 1 advanced to log sequence 3
    Thu Nov 22 16:33:26 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:33:26 2007
      Current log# 3 seq# 3 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G13M1.DBF
      Current log# 3 seq# 3 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G13M2.DBF
    Thu Nov 22 16:34:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:19 2007
    Completed checkpoint up to RBA [0x3.2.10], SCN: 0x0000.00009227
    Thu Nov 22 16:35:28 2007
    Beginning log switch checkpoint up to RBA [0x4.2.10], SCN: 0x0000.0000b0ac
    Thread 1 advanced to log sequence 4
      Current log# 4 seq# 4 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G14M1.DBF
    Thu Nov 22 16:35:28 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:35:28 2007
      Current log# 4 seq# 4 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G14M2.DBF
    Thu Nov 22 16:36:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:37:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:38:08 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:38:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:38:51 2007
    Completed checkpoint up to RBA [0x4.2.10], SCN: 0x0000.0000b0ac
    Thu Nov 22 16:38:59 2007
    Beginning log switch checkpoint up to RBA [0x5.2.10], SCN: 0x0000.0000e12b
    Thread 1 advanced to log sequence 5
    Thu Nov 22 16:38:59 2007
      Current log# 1 seq# 5 mem# 0: E:\ORACLE\TVD\ORIGLOGA\LOG_G11M1.DBF
      Current log# 1 seq# 5 mem# 1: D:\ORACLE\TVD\MIRRLOGA\LOG_G11M2.DBF
    Thu Nov 22 16:39:00 2007
    ARC0: Media recovery disabled
    Thu Nov 22 16:39:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:40:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:41:08 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:41:09 2007
    Completed checkpoint up to RBA [0x5.2.10], SCN: 0x0000.0000e12b
    Thu Nov 22 16:41:18 2007
    Beginning log switch checkpoint up to RBA [0x6.2.10], SCN: 0x0000.0000ee94
    Thread 1 advanced to log sequence 6
      Current log# 2 seq# 6 mem# 0: E:\ORACLE\TVD\ORIGLOGB\LOG_G12M1.DBF
      Current log# 2 seq# 6 mem# 1: D:\ORACLE\TVD\MIRRLOGB\LOG_G12M2.DBF
    Thu Nov 22 16:41:18 2007
    ARC1: Media recovery disabled
    Thu Nov 22 16:42:08 2007
    Fri Nov 23 07:38:10 2007
    ARC1: Media recovery disabled
    Regards,
    Erick

  • Ora-02065:Illegal option for alter system.

    Hi Dba's,
    I want to setup my database oracle 9i to use "FlashBack".
    My database is running in archivelog mode.
    First I've shutdown the DB and start it in mount mode.
    Then I tried:
    SQL> alter system set DB_FLASHBACK_RETENTION_TARGET=1800;
    But it doesn't work, I always got the same error:
    ora-02065:illegal option for alter system.
    I tried to connect as SYS,SYSTEM, everyone, the same error. The users must have FlashBack Privilege and Execute
    DBMS_FlashBack privileges. They're OK.
    I don't know how to solve this problem?!
    If someone could help me. Tks a lot.
    Marcello

    Marcello:
    See this:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=275083.1
    to make sure you have other parameters setup correctly.
    Tom Best

  • ORA-02065: illegal option for ALTER SYSTEM with "_mutex_wait_scheme"

    Hello,
    I have the Oracle version 11.2.0.2.0 in Windows. I'm trying to set starting parameter "_mutex_wait_scheme".
    I am trying with the following command:
    ALTER SYSTEM SET "_mutex_wait_scheme" = 1 SCOPE = SPFILE;
    But I have the following error:
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    Could tell me what is the command that I use to change that parameter?
    Best regards!

    Hello,
    The syntax you used is correct,
    alter system set "_MUTEX_WAIT_SCHEME" = 1 scope = spfile sid='*';
    but it seems that there is a problem with this parameter in version 12.2.0.2
    Check if you have installed patch 12431716
    %ORACLE_HOME%\Opatch\opatch lsinventory -all | find "12431716"
    If it is not installed you can install the latest bundle patch (Windows Patch Bundle 27 - 11/2013) that should contain that fix.
    Regards
    1588876 - Oracle Enhancement to add different "Mutex" wait schemes
    This fix is included in 11.2.0.2.2 PSU but there is a problem with the parameters in that release. If using 11.2.0.2.2 PSU then it is advisable to get the patch for bug 12431716 to allow this fix to be controlled by the _mutex_* parameters as documented above.

  • 2248ORA - 02248: invalid option for ALTER SESSION

    Hi,
    I have an application running for years (written in ORACLIP) without any change.
    The application runs fine against Oracle 8 and 9, and now I am trying to run against Oracle 11gR2.
    The Oracle11gR2 installation looks fine, I can sucessfully connect to instance using SQLPLUS SYSTEM/MANAGER.
    But my old oraclip application, (that are working fine in Oracle 8 and 9), fails to connect to the Oracle11gR2 instance with the error: 2248ORA - 02248: invalid option for ALTER SESSION.
    The error occurs in a ORACLIP function (I believe that this function try to execute the ALTER SESSION), but I have not access to the source code.
    I want to know if something have changed in Oracle 11gR2 about ALTER SESSION sintax or behaviour.
    If not, any idea about some missing or wrong configuration in the Oracle 11gR2 that cause this problem?
    How can I get ( to capture / to trace) the exactly ALTER SESSION that fails?
    There is a way to make ORACLE 11gR2 to ignore this error and continuing without return a error? Maybe the "ALTER SESSION" is not important to the program.
    There is a way to make ORACLE 11gR2 works like an ORACLE 9 or 10 (in order to verify if this problems is about the version or some wrong configuration).
    I will apreciate any idea or help.
    Thanks in advance,
    Luigggye

    880676 wrote:
    I have an application running for years (written in ORACLIP) without any change.From what I could find, Oraclip refers to a set of dev tools/libraries that has not been updated in over ten years. One version seem to have required 8.0.x Client (oci and sql net libs).
    The application runs fine against Oracle 8 and 9, and now I am trying to run against Oracle 11gR2.If this app "runs fine", why do you want or need to try that?
    The error occurs in a ORACLIP function (I believe that this function try to execute the ALTER SESSION), but I have not access to the source code.There's no support from vendor?
    I want to know if something have changed in Oracle 11gR2 about ALTER SESSION sintax or behaviour.Let's say Oraclip was designed with Oracle7 and SQL*Net v2 in mind. Yes, I think it is fairly easy to think that something has changed since then...
    How can I get ( to capture / to trace) the exactly ALTER SESSION that fails?Trace the session. Either client/oracle net side or SQL Trace (lookup dbms_monitor and session tracing).

  • Problem with ORA-24372 invalid object for describe

    I have unresolved problem with oracle message: ORA-24372 invalid object for describe. There is the client-server application which installed on users PCs. Client application is program on Delphi 7 that installed on several users PCs which works with Oracle DB 10g server (clients on users side 8.1.7) by means ODAC 5.7. Each user by means this application works with data on Oracle server. Each group of users uses its own schema. Each of this schema has grants to select data and execute procs in the main schema. During the time of operation I modified and compiled some procs in the main schema. As the result I found some depended Invalid objects in main schema. I recompiled them. There is no invalid objects in all schemas. But when I starts application in one user place (he uses for example schema X1) I see oracle message: ORA-24372 invalid object for describe. Other users in group which uses schema X1 works without this problem. There is finite aggregate of users of schema Х1 which has this message but some users of schema Х1 has no problem. All users has identical software and there is no any invalid objects in schemas! I try to start application on my PC using schema X1 and finds ORA-24372 then I try to start application on neighbors PC and it is all ok! It happened after I recompiled main schema in the time of users operation. What should I do to resolve this problem? Where to find the source of the problem: in client or in server?

    To Mr. Sven Weller
    The purpose of creation X1 (X2, Х3…) was restriction of users to access objects in the Main Schema. X1 has no any objects except function that returns her name for internal purposes. X1 has many synonyms for objects in the Main schema. There is no invalid objects in X1!

  • Invalid option for MAP: MAP.

    Hi ,
    My replication file is running fine with below contents
    MAP PROD.f0911, TARGET PROD.f0911, &
    REPERROR (21000, EXCEPTION), &
    SQLEXEC (ID lookup, ON UPDATE, &
    QUERY "select count(*) conflict from PROD.f0911 where ID_NO = :p1 and &
    UPDT_DT > :p2", &
    PARAMS ( p1 = ID_NO, p2 = UPDT_DT ), BEFOREFILTER, ERROR REPORT, &
    TRACE ALL),&
    FILTER (lookup.conflict = 0, ON UPDATE, RAISEERROR 21000);
    MAP PROD.f0911, TARGET PROD.f0911_EI, EXCEPTIONSONLY, &
    INSERTALLRECORDS, &
    COLMAP (USEDEFAULTS ,
    dberr = @GETENV ("lasterr", "dberrnum");
    REPERROR (-1403, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911_EI,
    EXCEPTIONSONLY,
    INSERTALLRECORDS,
    COLMAP (USEDEFAULTS,
    dberr = @GETENV ("lasterr", "dberrnum");
    But when I am adding
    MACRO #exception_handler
    BEGIN
    ,TARGET PROD.f0911
    ,UPDATEINSERTS
    ,EXCEPTIONSONLY
    END;
    REPERROR (-1, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911;
    MAP PROD.f0911 #exception_handler()
    It is throwing error ---- ERROR OGG-00212 Invalid option for MAP: MAP.
    Can somebody please help how can I proceed with all the conditions.
    Thanks

    As per our requirement if there is "0001 -unique constraint violated" error while replication the insert record should be update in target table .So I have used
    UPDATEINSERT statement iin macro and it goes to the same main table but for others it has mapped to EXCEPTION table prodf0911_EI , so the record will go to exception table .But we need the record should go to main table and insert record should update in target table only in case of 0001 - unique key constraint violated error.

  • Error -ORA-01483: invalid length for DATE or NUMBER bind variable

    In discoverer plus, attempt to save a discoverer workbook into the database fails with the error:
    ORA-01483 invalid length for DATE or NUMBER bind variable
    The same workbook can be safely saved in "My Computer".
    Any idea why and what is the solution.

    Why: not quite sure, probably the code is validating the workbook when it saves it to the db and you've got an error in the sql. What happens when you run the workbook that you saved to the file system? Does it show the same error when run?
    Solution: Can you post the sql in the workbook? In the meantime try the following: Replace any to_char statements around dates with to_date statements instead. For example:
    Replace:
    where to_char(mydate, 'dd-mon-yyyy') = '05-apr-2009'
    With:
    where mydate = to_date('05-APR-2009','DD-MON-YYYY')

Maybe you are looking for