Datafile error

hi i m using oracle 10.2.0.2
my datafile is in autoextend on...
datafile allocated size 8 gb and used size is 4 gb..
if i m trying to shring my datafile to 4 gb or 5gb it is giving me an error
ORA-03297: file contains used data beyond requested RESIZE value
actually i have created a user and imported objects into that.. datafiles is autoextend so it is extended to 8 gb ....later on i have drop that user and it becoms 4 gb now i dont have space on my mount point and i wanted to shring this datafile to 4.5 gb... but it is giving errror....
what is the workaround for this...

One way around this is to run
alter table <table_name> move tablespace <existing tablespace>
on all tables in that tablespace.
The other one is
export all users in that tablespace
drop them
recreate them
import your export.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Recover datafile error ora-00279,00289,00280

    alter database recover datafile 'xxx'
    error at line 1
    ora-00279 change 36xxxxx generated at x-x-x needed for thread1
    ora-00289 suggestion
    ora-00280 change 36xxxx for thread 1 is in sequence #76xx
    Please guide how can i resolve this issue

    Hi,
    Please see: https://community.oracle.com/thread/497955?start=0&tstart=0
    Thank you

  • ORA-00600: internal error code, arguments: [17183], [0x033134908], [], [],

    Hi Exports,
    I am getting the ORA-00600: internal error code, arguments: [17183], [0x033134908], [], [], [], [], [], []
    The temporary tablespace of the database is full and i am trying to do the following steps.
    SQL> select * from dba_temp_files;
    FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
    USER_BYTES USER_BLOCKS
    G:\ORADATA\TEMP01.DBF 1 TEMP 3.4359E+10 4,194,176 AVAILA 1 YES 3.4360E+10 4194302 80
    3.4358E+10 4194048
    J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
    103809024 12672
    J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
    9437184 1152
    J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
    679477248 82944
    J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
    103809024 12672
    5 rows selected.
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP 3.4359E+10 0
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    5 rows selected.
    SQL> CREATE TEMPORARY TABLESPACE MYTEMPFILE
    2 TEMPFILE 'G:\ORADATA\TEMP001.dbf'
    3 SIZE 1000M AUTOEXTEND ON NEXT 10M MAXSIZE 2000M;
    Tablespace created.
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
    Database altered.
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP 3.4359E+10 0
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    MYTEMPFILE 1048576 1047527424
    6 rows selected.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
    ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
    ERROR at line 1:
    ORA-25152: TEMPFILE cannot be dropped at this time
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    MYTEMPFILE 11534336 1037041664
    5 rows selected.
    SQL> select STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
    Etat ENABLED Etat BYTES/1024/1024
    OFFLIN READ WRITE OFFLIN 0
    ONLINE READ WRITE ONLINE 100
    ONLINE READ WRITE ONLINE 10
    ONLINE READ WRITE ONLINE 649
    ONLINE READ WRITE ONLINE 100
    ONLINE READ WRITE ONLINE 1000
    6 rows selected.
    SQL> desc v$tempfile;
    Name Null? Type
    FILE# NUMBER
    CREATION_CHANGE# NUMBER
    CREATION_TIME DATE
    TS# NUMBER
    RFILE# NUMBER
    STATUS VARCHAR2(7)
    ENABLED VARCHAR2(10)
    BYTES NUMBER
    BLOCKS NUMBER
    CREATE_BYTES NUMBER
    BLOCK_SIZE NUMBER
    NAME VARCHAR2(513)
    SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
    FILE# Etat ENABLED Etat BYTES/1024/1024
    1 OFFLIN READ WRITE OFFLIN 0
    5 ONLINE READ WRITE ONLINE 100
    2 ONLINE READ WRITE ONLINE 10
    3 ONLINE READ WRITE ONLINE 649
    4 ONLINE READ WRITE ONLINE 100
    6 ONLINE READ WRITE ONLINE 1000
    6 rows selected.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
    ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
    ERROR at line 1:
    ORA-25152: TEMPFILE cannot be dropped at this time
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
    Database altered.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
    ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
    ERROR at line 1:
    ORA-25152: TEMPFILE cannot be dropped at this time
    SQL> select * from dba_temp_files;
    FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
    USER_BYTES USER_BLOCKS
    G:\ORADATA\TEMP01.DBF 1 TEMP AVAILA
    J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
    103809024 12672
    J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
    9437184 1152
    J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
    679477248 82944
    J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
    103809024 12672
    G:\ORADATA\TEMP001.DBF 6 MYTEMPFILE 1048576000 128,000 AVAILA 1 YES 2097152000 256000 1280
    1047527424 127872
    6 rows selected.
    SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
    FILE# Etat ENABLED Etat BYTES/1024/1024
    1 OFFLIN READ WRITE OFFLIN 0
    5 ONLINE READ WRITE ONLINE 100
    2 ONLINE READ WRITE ONLINE 10
    3 ONLINE READ WRITE ONLINE 649
    4 ONLINE READ WRITE ONLINE 100
    6 ONLINE READ WRITE ONLINE 1000
    6 rows selected.
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
    Database altered.
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    MYTEMPFILE 28311552 1020264448
    5 rows selected.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
    Database altered.
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP 3.4359E+10 0
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    MYTEMPFILE 28311552 1020264448
    6 rows selected.
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
    Database altered.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
    ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
    ERROR at line 1:
    ORA-25152: TEMPFILE cannot be dropped at this time
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
    Database altered.
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
    ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
    ERROR at line 1:
    ORA-25152: TEMPFILE cannot be dropped at this time
    SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
    Database altered.
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
    Database altered.
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP 3.4359E+10 0
    TEMP_ORISSA_MASTER 4194304 6291456
    TEMP_ORISSA_BENCHMARK 680525824 0
    TEMP_ORISSA_TRANSACTION 37748736 67108864
    TIVOLIORTEMPTS 1048576 103809024
    MYTEMPFILE 32505856 1016070144
    6 rows selected.
    SQL> exit
    I am not able to drop the Temp file as it is used by some users.
    When i checked my Alert Log then i am getting the ora-600 error....
    When i check metalink for this argument i found that its a bug in 91 &10gR2
    Please suggest some solution of this problem.
    Is it a serious issue of database.

    Robert Geier wrote:
    If you kill the sessions using the tempfile, or restart the database you may be able to drop it. Or you could try to shrink the tempfile instead of drop.
    Not sure why you are doing that though ? If the temp tablespace is full, check what is using the space, or add another tempfile to the tablespace.No I am not killing the sessions... But i just checked using following query that some users are using the temp Tablespace at that time. But i did not kill any session.
    select 'alter system kill session '''||a.sid||','||a.serial#||''' immediate;'
    from
    v$session a,
    v$sort_usage b,
    v$process c,
    v$parameter d
    where
    d.name = 'db_block_size'
    and
    a.saddr = b.session_addr
    and
    a.paddr = c.addr
    and
    b.tablespace='TEMP'
    and
    a.status='ACTIVE'
    order by
    b.tablespace,
    b.segfile#,
    b.segblk#,
    b.blocks;

  • Instance does not open, because of corrupted datafile

    Hi
    I am running 10gR2.
    For a test I have corrupted the header of an test datafile of a non system tablespace when instance was closed.
    Now when I started the instance it does not open with an alert entry
    Errors in file c:\oracle\oracle\product\10.2.0\db_1\admin\orcl\bdump\orcl_dbw0_512.trc:
    ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
    ORA-01110: data file 11: 'C:\ORACLE\ORADATA\ORCL\DAMAGE_DATA.DBF'
    ORA-27046: file size is not a multiple of logical block size
    Now how to proceed?
    When I tried to set the tablespace offline I got:
    SQL> alter tablespace damage_data_ts offline;
    alter tablespace damage_data_ts offline
    ERROR at line 1:
    ORA-01109: database not open
    Can I just drop the datafile ?
    I forgot to include, that the datafile is the only file the tablespace got.
    But even the dropping the tablespace giving error, saying the database is not open
    SQL> DROP TABLESPACE damage_data_ts INCLUDING CONTENTS AND DATAFILES;
    DROP TABLESPACE damage_data_ts INCLUDING CONTENTS AND DATAFILES
    ERROR at line 1:
    ORA-01109: database not open
    Thanks

    Now I was able to drop the datafile with:
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250452 bytes
    Variable Size 247466860 bytes
    Database Buffers 360710144 bytes
    Redo Buffers 2940928 bytes
    Database mounted.
    SQL> alter database datafile 'C:\oracle\oradata\orcl\DAMAGE_DATA.DBF' offline drop;
    Database altered.

  • Error - Intialising Routing Engine

    I ve installed Oracle 10g spatial and now trying to istall the routing engine. Do u know what this Oracle Spatial Geocoder is ?? How can I check it is installed.
    I did the following steops to install the routing engine
    Made changes to the http-web-site.xml, server.xml file of OC4J.
    Started OC4J with the following command
    Java –server... . ..
    When opening the routeserver in the browser, index page of routeserver is opening with welcome note Routeserver Successfully Deployed.
    But not able to make proper changes to the file /routeserver/web/WEB-INF/web.xml for successful initialization of routeserver
    Importing sample Datafile
    Error coming while running the following command to import tablespace
    C:\pinellas-county>impdp adci DIRECTORY=adci_dump_dir DUMPFILE=tts.dmp TRANSPORT DATAFILES='C:\pinellas-county\adcidata.ora'
    Import: Release 10.1.0.2.0 - Production on Tuesday, 07 June, 2005 10:59
    Copyright (c) 2003, Oracle. All rights reserved.
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Starting "ADCI"."SYS_IMPORT_TRANSPORTABLE_01": adci/******** DIRECTORY=adci/********dumpdir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='C:\pinellas-county\adci/********_data.ora'
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-06550: line 2, column 2:
    PLS-00306: wrong number or types of arguments in call to 'BEGINIMPORT'
    ORA-06550: line 2, column 2:
    PL/SQL: Statement ignored
    Job "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" stopped due to fatal error at 10:59
    thnx
    deepthy

    Hi,
    You can download from metalink. You will need a metalink account to do this.
    I've just downloaded the sample data from adci.
    It did install for me.
    Can you post the exact steps you ran through?
    Also, what hardware platform are you running on?
    Thanks,
    Dan
    Here are the exact steps I ran through:
    sqlplus system/pass*****
    CREATE USER ADCI PROFILE "DEFAULT"
    IDENTIFIED BY "ADCI" DEFAULT TABLESPACE "USERS"
    TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
    GRANT "CONNECT" TO "ADCI";
    GRANT imp_full_database, create table, create sequence TO ADCI;
    CREATE or replace DIRECTORY adci_dump_dir AS 'C:\oracle\oradata\ora10g';
    GRANT READ, WRITE ON DIRECTORY adci_dump_dir TO adci;
    ALTER USER adci QUOTA UNLIMITED ON USERS;
    exit;
    ---Since I am running on windows I do not need to use RMAN convert
    impdp adci DIRECTORY=adci_dump_dir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='C:\oracle\oradata\ora10g\adci_data.ora'
    -- GOT OUTPUT LIKE THIS:
    --Import: Release 10.1.0.4.0 - Production on Wednesday, 15 June, 2005 14:13
    --Copyright (c) 2003, Oracle.  All rights reserved.
    --Password:
    --Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    --With the Partitioning, OLAP and Data Mining options
    --Master table "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    --Starting "ADCI"."SYS_IMPORT_TRANSPORTABLE_01":  adci/******** DIRECTORY=adci/***
    --*****dumpdir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='C:\oracle\oradata\ora10g\adci/********_data.ora'
    --Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    --Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
    --ORA-31684: Object type TYPE:"MDSYS"."SDO_ORDINATE_ARRAY" already exists
    --ORA-39083: Object type TYPE failed to create with error:
    --ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    --Failing sql is:
    ----ERRORS LIKE THE ABOVE CAN BE IGNORED
    sqlplus system/pass*****
    ALTER TABLESPACE ADCI_DATA READ WRITE;
    ALTER USER ADCI QUOTA UNLIMITED ON ADCI_DATA;
    connect adci/adci
    EXEC SDO_UTIL.INITIALIZE_INDEXES_FOR_TTS
    INSERT INTO USER_SDO_MAPS SELECT * FROM SDO_MAPS;
    INSERT INTO USER_SDO_THEMES SELECT * FROM SDO_THEMES;
    INSERT INTO USER_SDO_STYLES SELECT * FROM SDO_STYLES;
    COMMIT;
    exec dbms_stats.gather_schema_stats(ownname=>'ADCI',cascade=>TRUE,estimate_percent=>15);
    select SDO_gcdr.geocode('ADCI',
    SDO_keywordArray( '13359 Seminole Blvd','Largo, FL 33778'), 'US', 'DEFAULT')
    from dual ;
    SDO_GCDR.GEOCODE('ADCI',SDO_KEYWORDARRAY('13359SEMINOLEBLVD','LARGO,FL33778'),'U
    SDO_GEO_ADDR(0, SDO_KEYWORDARRAY(), NULL, 'SEMINOLE BLVD', NULL, NULL, 'LARGO',
    NULL, 'FL', 'US', '33778', NULL, '33778', NULL, '13359', 'SEMINOLE', 'BLVD', 'F'
    , 'F', NULL, NULL, 'R', .8975, 22864031, '????#ENUT?B281CP?', 1, 'DEFAULT',
    -82.78702, 27.8941784)

  • Recreate datafile(URGENT)

    Hello
    one datafile is removed by mistake and i am not having the backu up.i want to recreate that datafile now.How can i do this?
    Please provide me the step by step process to recreate the datafile
    Errors in file /oracle/home92/admin/tst/bdump/cbosstst_j001_22481.trc:
    ORA-12012: error on auto execute of job 191459
    ORA-01116: error in opening database file 9
    ORA-01110: data file 9: '/ocs/tst/maintbl03.dbf'
    ORA-27041: unable to open file
    SVR4 Error: 2: No such file or directory
    Thankx...

    Hi,
    aah.. one datafile is removed by mistake
    or Without backup you cann't recover your datafile unless if your database running on archivelog mode or you have store all ARCHIVELOG from datafile creation to till then it is possible to create new datafile and recover all data.
    or if it is testing database then perform below step.
    alter database datafile 9 offline drop
    alter database openregards
    Taj

  • Undable to drop tablespace ORA-01561: failed to remove all objects in the

    hi,
    i am unable to drop table tablespace how can i do that??
    please advise
    DROP TABLESPACE tbs_tp2 INCLUDING CONTENTS AND datafiles
    ERROR at line 1:
    ORA-01561: failed to remove all objects in the tablespace specified
    Thanks in advance
    siva
    chennai

    Have you tried dropping the objects individually? You can see which objects still belong to this tablespace by using the DBA_SEGMENTS view as shown below:
    SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME
    FROM DBA_SEGMENTS
    WHERE TABLESPACE_NAME=tbs_tp2;HTH!

  • AUTO-EXPANSION OF CONTROLFILE IN ORACLE 8.X

    제품 : ORACLE SERVER
    작성날짜 : 2004-06-17
    Oracle7.x에서는 재생성하지 않는 한 controlfile의 size는 변경되지 않았다.
    이는 controlfile이 생성되는 시점에 size와 관련되는 각 option 사항
    (maxdatafiles, maxloghistory 등)에 의해서 전체 size가 fix 되기 때문이며,
    이후에 controlfile의 size가 늘어나야만 하는 작업이 수행된다면(예를 들어
    maxdatafiles에 지정된 숫자 이상으로 datafile을 생성할 경우) error(예를
    들어 ORA-1118 'cannot add any more database files: limit of %s
    exceeded')를 유발하게 된다.
    이 경우 controlfile을 재생성해야만 문제를 해결할 수 있었다.
    Oracle8.x에서는 이와는 달리 필요할 경우 자동적으로 controlfile의 size가
    증가하게 된다.
    controlfile size가 자동적으로 증가하는 시점에 alert log file에는
    다음과 같은 형태의 log를 남기게 된다.
    kccrsz: expanded controlfile section 11 from 10 to 20 records
    requested to grow by 10 record(s); added 3 block(s) of records
    controlfile에 기록되는 정보는 다음의 두가지로 분류할 수 있다.
    1. Non-circular reuse (예: datafile record)
    만약 Oracle8.x에서 새로운 datafile을 추가하는 시점에, datafile에 대한
    정보를 기록하기 위한 빈 slot이 controlfile에 존재하지 않는다면
    자동적으로 datafile정보를 저장하는 section이 expand되어 새로운 정보를
    기록할 수 있게된다.
    이 type의 record(slot)은 자신이 정보를 담고있는 object(예: datafile)가
    database에서 제거되기 전에는 재사용이 불가능하다.
    2. Circular reuse (예: archivelog record)
    Circular reuse type의 record는 재사용(overwrite)이 가능하다.
    즉, 새로운 entry가 저장될 빈 slot이 없을 경우 가장 오래된 slot이
    overwrite된다.
    예를 들어, 새로운 archive log가 발생되었는데 archived log에 대한 정보를
    기록하는 controlfile의 section에는 비어있는 slot이 없을 경우, 가장
    오래된 archived log entry가 overwrite된다.
    조금더 자세한 예를 이용하여 Oracle7.x와 Oracle8.x의 차이점을 설명하면
    다음과 같다.
    가정1 : 매주 15개의 archive log file이 생성된다.
    가정2 : database를 생성하면서 controlfile의 archived log에 대한 slot을
    10개로 하였다. (maxloghistory)
    Oracle7.x를 사용하는 경우, 매주 5개의 archived log record들은 새로운
    record에 의해서 overwirte된다.
    Oracle8.x를 사용하면서 다음과 같은 parameter를 initSID.ora file에
    설정하였다면,
    control_file_record_keep_time=7
    모든 circurlar reuse type의 controlfile record들을 최소한 7일간은
    overwrite하지 않고 유지하겠다는 의미이다. (7일 이후에는 새로운 record에
    의해서 overwrite될 수 있도록 한다.)
    이렇게 controlfile record를 특정 기간동안 유지를 하기 위해서는 필요에
    따라서 새로운 record를 기록할 수 있는 slot를 자동으로 추가할 수가
    있어야 한다. 그리고 이 과정에 의해서 controlfile의 size가 자동으로
    증가할 수 있다.
    위의 예의 경우, archived log에 대한 각 record들을 1주일 동안은 유지를
    해야하기 때문에, 첫 주에 archived log를 위한 slot이 5개가 더 할당될
    것이다.
    controlfile의 각 record section에 대한 정보는
    v$controlfile_record_section을 참조한다.

    Did you apply any patches to Solaris 8? I have installed oracle on my Solaris 8 PC, but am having trouble getting the oracle univeral installer to install the sample database. I'm getting an ora-03113 end-of-file on communication chanel error.
    To help get answers, do a search for oracle in this forum. There were a few good postings that reveal some myths in the oracle install documentation.
    fyi... you could readup on the following apps in the on-line doc: lsnrctl, sqlplus, svrmgrl, netasst, dbassist.

  • Cannot drop old undo tablespace. Cause: active rollback segment

    dear all.
    db: oracle 10.2.0.1
    os: rhel as version 5 64 bits.
    This is a testing database. And my database is online and open. But i can free the external usb disk that contains my ols undotbs.
    I want to drop old undo tablespace but this is not possible.
    1.- In order to open my database i had my datafile( '/mnt/hdext/back_plelds/undotbs02.dbf') offline drop, and then i can to open my database.
    2.- When i try to delete my old undo tablespace im getting this error:
    SQL> drop tablespace undotbs1 including contents and datafiles;
    drop tablespace undotbs1 including contents and datafiles
    ERROR at line 1:
    ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping
    tablespace
    3.- My default undo_tablespace is another that i was created before step 1.
    SQL> sho parameter undo_ta
    NAME TYPE VALUE
    undo_tablespace string UNDOTMP
    SQL>
    Well i search in metalink ORA-01548 code error and in 18947.1 doc whows me that the solution is:
    Action: Shut down instances that use the active rollback segments in the
    tablespace and then drop the tablespace.
    4.- I try to shutdown but im getting:
    SQL> shutdown immediate;
    ORA-00376: file 10 cannot be read at this time
    ORA-01110: data file 10: '/mnt/hdext/back_plelds/undotbs02.dbf'
    SQL>
    This /mnt/hdext is an external USB disk and i have all permissions. I exported tables without any problem and i can read all files.
    i search un metalink again ora codes (ORA-00376 ORA-01110) and the doc id: 427801.1 shows in the solution:
    Drop the old undo tablespace instead of making it offline.
    but when i try to drop the tablespace it shows the error describe in the step 2.
    Facts:
    - my tablespace UNDOTBS1 is ONLINE. I put in offline and this is not the solution.
    - This is the status of my rollback segments:
    SQL> select segment_name, status from dba_rollback_segs where
    2 tablespace_name='UNDOTBS1';
    SEGMENT_NAME STATUS
    _SYSSMU1$                      NEEDS RECOVERY
    _SYSSMU2$                      NEEDS RECOVERY
    _SYSSMU3$                      NEEDS RECOVERY
    _SYSSMU4$                      NEEDS RECOVERY
    _SYSSMU5$                      NEEDS RECOVERY
    _SYSSMU6$                      NEEDS RECOVERY
    _SYSSMU7$                      NEEDS RECOVERY
    _SYSSMU8$                      NEEDS RECOVERY
    _SYSSMU9$                      NEEDS RECOVERY
    _SYSSMU10$                     NEEDS RECOVERY
    _SYSSMU11$                     OFFLINE
    SEGMENT_NAME STATUS
    _SYSSMU12$                     OFFLINE
    12 rows selected.
    SQL>
    - I have the note (Unable to drop und tablespace In this article describe the problem but this is not the same. The difference is that i cannot drop the rollback segment that describe in step 2.
    SQL> drop rollback segment "_SYSSMU1$";
    drop rollback segment "_SYSSMU1$"
    ERROR at line 1:
    ORA-30025: DROP segment '_SYSSMU1$' (in undo tablespace) not allowed
    in metalink the doc id: 173696.1 shows the solution:
    Action:     Check the undo segment name and reissue statement if necessary.
    i cannot drop the rollback_segment
    What can i do ???
    thanks a lot.

    in step 4 did you try with shutdown abort?
    If its still does not work then create another new table space with new file and then swtich to that tablespace http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm#sthref1504Khurram

  • Cannot drop undo tablespace with Active extents but no active sessions

    Hi all,
    I am running on 10gr2 oracle database in a Linux 32 bit environment.
    I have a corrupted undo datafile. I've been able to recover the datafile but still the alert logs is still showing that it is corrupted.
    Now what I'm trying to do is to drop the old undo tablespace like the one discussed here Change undo tablespace in Oracle - Switch Oracle's Undo tablespace.
    My problem is I have an Active extent but no active session corresponding to it:
    SYS@ccasdb AS SYSDBA > SELECT a.name,b.status
    FROM   v$rollname a,v$rollstat b
    WHERE  a.usn = b.usn
    AND    a.name IN (
                      SELECT segment_name
                      FROM dba_segments
                      WHERE tablespace_name = 'UNDOTBS1'
                     );  2    3    4    5    6    7    8
    NAME                           STATUS
    _SYSSMU18$                     PENDING OFFLINE
    SYS@ccasdb AS SYSDBA > SELECT a.name,b.status , d.username , d.sid , d.serial#
      2  FROM   v$rollname a,v$rollstat b, v$transaction c , v$session d
      3  WHERE  a.usn = b.usn
      4  AND    a.usn = c.xidusn
      5  AND    c.ses_addr = d.saddr
      6  AND    a.name IN (
      7               SELECT segment_name
      8               FROM dba_segments
      9               WHERE tablespace_name = 'UNDOTBS1'
    10              );
    no rows selected
    but still cannot drop the undotablespace.
    SYS@ccasdb AS SYSDBA > drop tablespace UNDOTBS1 including contents and datafiles;
    drop tablespace UNDOTBS1 including contents and datafiles
    ERROR at line 1:
    ORA-30013: undo tablespace 'UNDOTBS1' is currently in use
    Regards,
    Tim

    Yes i was able to recover the datafile but the alert_log kept on prompting that it is still corrupted. The datafile's status is online.
    I want to kill the session/s contributing to the PENDING OFFLINE status of the rollback segment so I can already drop the undotablespace and so
    that the alert log will stop prompting for that corrupted datafile in that UNDOTABLESPACE.
    Can i Just alter the tablespace's datafiles to offline drop then just drop it. Then I drop the tablespace?

  • Cannot drop undo tablespace

    Hello:
    I've created a new undo tablespace undotbs2. I've set it to the default undo tablespace. When I've tried to drop the old one, I get the following error:
    SQL> conn / as sysdba
    Connected.
    SQL> DROP TABLESPACE undotbs1 INCLUDING CONTENTS AND DATAFILES;
    DROP TABLESPACE undotbs1 INCLUDING CONTENTS AND DATAFILES
    ERROR at line 1: ORA-01548: active rollback segment '_SYSSMU7$' found, terminate dropping tablespace
    This is a production database. The service is down because the partition with the Oracle tablespaces: system, undo, temp, etc is full.
    After shutting down the database the problem persist: I cannot drop the old undo tablespace because of the same error.
    I've followed the note 1321093.1. Here the query results:
    Select segment_name, status, tablespace_name, rs.segment_id
    from dba_rollback_segs rs
    where status not in ('ONLINE','OFFLINE');
    _SYSSMU7$ PARTLY AVAILABLE UNDOTBS1 7
    SELECT KTUXEUSN, KTUXESLT, KTUXESQN, /* Transaction ID */ KTUXESTA Status, KTUXECFL Flags
    FROM x$ktuxe
    WHERE ktuxesta !='INACTIVE' AND ktuxeusn =7;
    7 47 382687 ACTIVE DEAD
    SELECT LOCAL_TRAN_ID,GLOBAL_TRAN_ID,STATE,MIXED,COMMIT# FROM DBA_2PC_PENDING;
    No rows
    SELECT LOCAL_TRAN_ID,IN_OUT,DATABASE,INTERFACE FROM dba_2pc_neighbors;
    No rows
    As you can see, there is no pending transactions. No application is connected to the database (service is down), however the database is appling rollbacks since 2 days.
    A lot of archivelogs are being created at rolling back (30 GB archivelogs per hour). Here a tail of the alertlog file:
    Wed Apr 17 06:19:53 2013
    Thread 1 advanced to log sequence 7382
    Current log# 5 seq# 7382 mem# 0: /ora2/origlogs/webfrbr/redo05_m1.log
    Current log# 5 seq# 7382 mem# 1: /ora3/mirrorlogs/webfrbr/redo05_m2.log
    Wed Apr 17 06:21:16 2013
    Thread 1 advanced to log sequence 7383
    Current log# 6 seq# 7383 mem# 0: /ora2/origlogs/webfrbr/redo06_m1.log
    Current log# 6 seq# 7383 mem# 1: /ora3/mirrorlogs/webfrbr/redo06_m2.log
    Wed Apr 17 06:22:41 2013
    Thread 1 advanced to log sequence 7384
    Current log# 4 seq# 7384 mem# 0: /ora2/origlogs/webfrbr/redo04_m1.log
    Current log# 4 seq# 7384 mem# 1: /ora3/mirrorlogs/webfrbr/redo04_m2.log
    Wed Apr 17 06:24:02 2013
    Thread 1 advanced to log sequence 7385
    Current log# 5 seq# 7385 mem# 0: /ora2/origlogs/webfrbr/redo05_m1.log
    Current log# 5 seq# 7385 mem# 1: /ora3/mirrorlogs/webfrbr/redo05_m2.log
    Wed Apr 17 06:25:24 2013
    Thread 1 advanced to log sequence 7386
    Current log# 6 seq# 7386 mem# 0: /ora2/origlogs/webfrbr/redo06_m1.log
    Current log# 6 seq# 7386 mem# 1: /ora3/mirrorlogs/webfrbr/redo06_m2.log
    Wed Apr 17 06:26:46 2013
    Thread 1 advanced to log sequence 7387
    Current log# 4 seq# 7387 mem# 0: /ora2/origlogs/webfrbr/redo04_m1.log
    Current log# 4 seq# 7387 mem# 1: /ora3/mirrorlogs/webfrbr/redo04_m2.log
    Oracle Database - Enterprise Edition 10.2.0.3
    Linux x86-64 Oracle Linux 5
    Please, consider the output of the following queries too:
    select * from V$FAST_START_TRANSACTIONS
    USN 7 -- Undo segment number of the transaction
    SLT 47 -- Slot within the rollback segment
    SEQ 382687 -- Incarnation number of the slot
    STATE RECOVERING --
    UNDOBLOCKSDONE 0 -- Number of undo blocks completed on the transaction
    UNDOBLOCKSTOTAL 2079151 -- Total number of undo blocks that need recovery
    PID 15 -- ID of the current server it has been assigned to
    CPUTIME 1153 -- Time for which recovery has progressed (in seconds)
    PARENTUSN 0 -- Undo segment number of the parent transaction in PDML
    PARENTSLT 0 -- Slot of the parent transaction in PDML
    PARENTSEQ 0 -- Sequence number of the parent transaction in PDML
    XID 07002F00DFD60500 -- Transaction ID
    PXID 0000000000000000 -- Parent transaction ID
    RCVSERVERS 1 -- Number of servers used in the last recovery
    select * from x$ktuxe where ktuxecfl = 'DEAD';
    ADDR 00002B3E808B9BD8
    INDX 145
    INST_ID 1
    KTUXEUSN 7
    KTUXESLT 47
    KTUXESQN 382687
    KTUXERDBF 2
    KTUXERDBB 2080076
    KTUXESCNB 424110769
    KTUXESCNW 0
    KTUXESTA ACTIVE
    KTUXECFL DEAD
    KTUXEUEL 3739
    KTUXEDDBF 0
    KTUXEDDBB 0
    KTUXEPUSN 0
    KTUXEPSLT 0
    KTUXEPSQN 0
    KTUXESIZ 2079151
    select * from v$fast_start_servers;
    RECOVERING 0 15 07002F00DFD60500
    IDLE 0 16 0000000000000000
    IDLE 0 17 0000000000000000
    IDLE 0 18 0000000000000000
    IDLE 0 19 0000000000000000
    IDLE 0 20 0000000000000000
    IDLE 0 21 0000000000000000
    IDLE 0 22 0000000000000000
    IDLE 0 25 0000000000000000
    IDLE 0 26 0000000000000000
    IDLE 0 27 0000000000000000
    IDLE 0 28 0000000000000000
    IDLE 0 29 0000000000000000
    IDLE 0 30 0000000000000000
    IDLE 0 31 0000000000000000
    IDLE 0 32 0000000000000000
    Any ideas to solve this issue?
    Thank you in advance
    Edited by: albrotar on Apr 17, 2013 1:48 AM
    Edited by: albrotar on Apr 17, 2013 1:49 AM
    Edited by: albrotar on Apr 17, 2013 1:51 AM
    Edited by: albrotar on Apr 17, 2013 1:52 AM
    Edited by: albrotar on Apr 17, 2013 1:54 AM

    I've found some errors in alert log file occurred at shutting down the database:
    +...+
    Control autobackup written to DISK device
    handle '/orabck/rman/webfrbr/ora_cfc-3587726327-20130414-00'
    Completed: CREATE UNDO TABLESPACE undotbs2 DATAFILE '/orabck/undo/undotbs02.dbf'
    SIZE 500M reuse autoextend ON NEXT 5M maxsize 32767M
    Sun Apr 14 15:46:43 2013
    Successfully onlined Undo Tablespace 5.
    Undo Tablespace 1 moved to Pending Switch-Out state.
    *** active transactions found in undo tablespace 1 during switch-out.
    Sun Apr 14 15:46:44 2013
    ALTER SYSTEM SET undo_tablespace='UNDOTBS2' SCOPE=BOTH;
    Sun Apr 14 16:11:42 2013
    ALTER ROLLBACK SEGMENT "_SYSSMU7$" offLINE
    Sun Apr 14 16:11:42 2013
    Completed: ALTER ROLLBACK SEGMENT "_SYSSMU7$" offLINE
    Sun Apr 14 16:12:36 2013
    DROP TABLESPACE undotbs1 INCLUDING CONTENTS AND DATAFILES
    Sun Apr 14 16:12:36 2013
    +...+
    Thread 1 advanced to log sequence 5107
    Current log# 4 seq# 5107 mem# 0: /ora2/origlogs/webfrbr/redo04_m1.log
    Current log# 4 seq# 5107 mem# 1: /ora3/mirrorlogs/webfrbr/redo04_m2.log
    Sun Apr 14 19:00:28 2013
    Stopping background process CJQ0
    Sun Apr 14 19:00:29 2013
    Stopping background process QMNC
    Sun Apr 14 19:00:31 2013
    Stopping background process MMNL
    Sun Apr 14 19:00:32 2013
    Stopping background process MMON
    Sun Apr 14 19:00:34 2013
    Shutting down instance (immediate)
    License high water mark = 31
    Sun Apr 14 19:00:34 2013
    Stopping Job queue slave processes
    Sun Apr 14 19:00:34 2013
    Job queue slave processes stopped
    All dispatchers and shared servers shutdown
    Sun Apr 14 19:00:42 2013
    ALTER DATABASE CLOSE NORMAL
    Sun Apr 14 19:04:28 2013
    +...+
    Thread 1 advanced to log sequence 5118
    Current log# 6 seq# 5118 mem# 0: /ora2/origlogs/webfrbr/redo06_m1.log
    Current log# 6 seq# 5118 mem# 1: /ora3/mirrorlogs/webfrbr/redo06_m2.log
    Sun Apr 14 20:11:21 2013
    Errors in file /ora1/admin/webfrbr/bdump/webfrbr_smon_4629.trc:
    +ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Invalid permissions for mapped object] [0x2B6B66003000] [] []+*
    Sun Apr 14 20:11:21 2013
    Errors in file /ora1/admin/webfrbr/bdump/webfrbr_smon_4629.trc:
    ORA-00600: internal error code, arguments: [999], [0x107C14015], [], [], [], [], [], []*
    +ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Invalid permissions for mapped object] [0x2B6B66003000] [] []+*
    Sun Apr 14 20:11:22 2013
    +...+
    Sun Apr 14 20:11:48 2013
    Errors in file /ora1/admin/webfrbr/bdump/webfrbr_pmon_4617.trc:
    ORA-00474: SMON process terminated with error
    Sun Apr 14 20:11:48 2013
    +...+
    The instance could start up, but after this, it is recovering undo and generating redo since 2 days

  • Cannot drop PDB - insufficient privileges

    I created a PDB, and then tried to drop it. I cannot drop it, I get "insufficient privileges" error.  Here is the SQL session :
    ==============================================
    -bash-4.1$ ./sqlplus system/manager1
    SQL*Plus: Release 12.1.0.1.0 Production on Thu Sep 18 07:28:53 2014
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    Last Successful login time: Thu Sep 18 2014 07:25:13 -07:00
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    SQL> create pluggable database test002 admin user test2 identified by test2 file_name_convert=('/u01/app/testuser/oradata/orcl/pdbseed', '/u01/app/testuser/oradata/orcl/test002');
    Pluggable database created.
    SQL> drop pluggable database test002 including datafiles;
    drop pluggable database test002 including datafiles
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ==============================================
    I gave sysdba privileges to user "system", as follows :
    SQL> grant sysdba to system;
    Grant succeeded.
    but still get the same error.
    However, if I login as "sysdba", I can drop the PDB. I cannot use "sysdba" user for a number of reasons. I need to login as some other user. Any ideas?

    2639137 wrote:
    I created a PDB, and then tried to drop it. I cannot drop it, I get "insufficient privileges" error.  Here is the SQL session :
    I gave sysdba privileges to user "system", as follows :
    SQL> grant sysdba to system;
    Grant succeeded.
    but still get the same error.
    Yes - as the exception says user 'system' does NOT have sufficient privileges to drop a PDB.
    That grant of sysdba is ONLY for the current container which is the root.
    Oracle 12c is NOT Oracle 11g - the multitenant architecture has SIGNIFICANT differences from previous versions in MANY areas especially in creating/managing users and granting privileges.
    The default container for grants is whatever the current container is. If you want the grant to cover ALL containers then you need to specify that.
    See the CONTAINER clause for the GRANT statement in the docs
    GRANT
    CONTAINER Clause
    If the current container is a pluggable database (PDB):
      Specify CONTAINER = CURRENT to locally grant a system privilege, object privilege, or role to a user or role. The privilege or role is granted to the user or role only in the current PDB.
    If the current container is the root:
      Specify CONTAINER = CURRENTto locally grant a system privilege, object privilege, or role to a common user or common role. The privilege or role is granted to the user or role only in the root.
      Specify CONTAINER = ALL to commonly grant a system privilege, object privilege on a common object, or role, to a common user or common role.
    If you omit this clause, then CONTAINER = CURRENT is the default.
    See that last statement?

  • Cannot drop tablespace

    I cannot drop the tablespace create earlier today by me. The tablespace have 2 files and they are empty. Here is the case.
    Thansk a lot,mj
    SQL> select tablespace_name from dba_tablespaces;
    TABLESPACE_NAME
    SYSTEM
    UNDOTBS1
    SYSAUX
    TEMP
    ADDR_IX2
    CFG_DATA
    CFG_IX
    TS_ATTR_IX
    TS_Nums_DT
    TS_NAME_DT
    TS_INSERT_ONLY_DT
    11 rows selected.
    Elapsed: 00:00:00.01
    SQL> drop tablespace TS_Nums_DT INCLUDING CONTENTS and datafiles;
    drop tablespace TS_Nums_DT INCLUDING CONTENTS and datafiles
    ERROR at line 1:
    ORA-00959: tablespace 'TS_NUMS_DT' does not exist

    As Aron says, there may be other, non-printing, characters in the name. You can check this by running:
    SELECT DUMP(tablespace_name)
    FROM dba_tablespaces
    WHERE tablespace_name like 'TS\_N%' ESCAPE '\'Which will give you the ascii values of the characters in the tablespace name like this:
    SQL> SELECT DUMP(tablespace_name)
      2  FROM dba_tablespaces
      3  WHERE tablespace_name = 'ONECALL';
    DUMP(TABLESPACE_NAME)
    Typ=1 Len=7: 79,78,69,67,65,76,76
                  O  N  E  C  A  L  LHTH
    John

  • Connect ORACLE database with sysdba privileges

    Hi Guru,
    I am connecting to my ORACLE database with my VB application.
    I have problem with connecting to the database with SYSDBA privileges. i.e it is not connecting to the database with SYSDBA privileges.
    If I connect my db from SQLPLUS. Its worked like this..
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> select Name from v$datafile;
    select Name from v$datafile
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> connect as sysdba;
    Enter user-name: user_1
    Enter password: ****
    Connected.
    SQL> select Name from v$datafile;
    NAME
    C:\NEW\ORADATA\ITPL\SYSTEM01.DBF
    C:\NEW\ORADATA\ITPL\UNDOTBS01.DBF
    C:\NEW\ORADATA\ITPL\CWMLITE01.DBF
    C:\NEW\ORADATA\ITPL\DRSYS01.DBF
    C:\NEW\ORADATA\ITPL\EXAMPLE01.DBF
    C:\NEW\ORADATA\ITPL\INDX01.DBF
    C:\NEW\ORADATA\ITPL\ODM01.DBF
    C:\NEW\ORADATA\ITPL\TOOLS01.DBF
    C:\NEW\ORADATA\ITPL\USERS01.DBF
    C:\NEW\ORADATA\ITPL\XDB01.DBF
    10 rows selected.
    SQL>
    Now in my VB application if I am using following string to connect the database.
    m_adoCnn.ConnectionString = Provider=MSDAORA;Password=pass;User ID=user_1;DBA Privilege=SYSDBA;Data Source=ITPL
    It will connect properly to the database but gives error while executing the query select Name from v$datafile;
    as,
    ORA-00942: table or view does not exist
    Can any body help me in this or provide me proper connection string.

    Hello,
    I am getting below error when i kust Clic k on Test Connection in SSMS:
    TITLE: Microsoft SQL Server Management Studio
    The test connection to the linked server failed.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
    OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    BUTTONS:
    OK
    Can you please guide is there any other setting i need to do after install Oracle Client ?
    Best Regards,
    Tushar Malvi

  • Unable to generate statistics for the table

    I have got a staging table of more than 600 columns which has got range portioning. Size of the table is 4GB. The average size of the row is around 3 MB. I have created a Functional index on one of the column ABC VARCHAR2(50) and it has only number values. Now when I try generating statistics for this table through ANALYZE or DBMS_STAT, it gives Invalid Number error but when I drop this index and try analyzing, it works.
    Executed TO_NUMBER(ABC) query on the table and it works fine.
    I have got Functional Indexes on other tables also but I don't get such problem with those tables. I tried dropping the index and re-creating it but it didn't work out.
    I was suspecting DATA BLOCK CORRUPTION so checked ALERT LOG and TRACE FILES but found nothing.
    So what is this magic called?

    I am using TO_NUMBER on the column.
    I have checked the MetaLink for the same problem but could not find anything on that. I still suspect datafile error which I am unable to get in ALERT LOG or TRACE FILES. So I am going to try it this way:
    1) Create new Tablespace with New Datafile
    2) Transfer the table from existing Tablespace to new Tablespace
    3) Create the functional index in the same new Tablespace
    4) Try generating the statistics.
    5) If it works then create seprate Tablespace for data and Index.
    Hope it works !!
    Thanks for the reply guys.

Maybe you are looking for

  • IDM 11G install error??

    Hi, I am trying to install IDM 11g 11.1.1.2 on Windows Server 2003 EE. The setup fails at "Create ASInstance". I see the following log in the install logs and out logs. Let me know if you have ever faced this issue. And if you know how to fix this on

  • Difficulty opening some files in PSCS4 from Bridge.

    Of late I've been having difficulty with trying to open some of my PSD and TIFF files from within Bridge. I have the same problem from the Open Recent sub menu under File. I get a notification that pops up saying it can't open the file "...due to pro

  • Operation number field not appearing in the billing document

    Team- Recently we have done EHP5 upgrade and after that operation number field is available in the sales document but operation number field is not available in the billing document. Any idea why ? Thanks

  • Wow - Is SMC 4.0 worth the effort? VERY unimpressed so far.

    Is Sun putting any serious effort into this product?? I just installed a 4.0 server and client and find it horribly buggy. Server installed on a Solaris 10 u8 system. Client installed on a u8 system. Show-stopper problems right out of the box: 1) Jav

  • Error occured when deploy portlet to portal server 6.3

    I was using pdeploy tool to deploy a portlet, in the commandline I received this message: errorStoreDP <sms-UNKNOWN_EXCEPTION_OCCURED>. checking the pdeploy.debug, here is the detailed message: SMSException Exception Code:5 Message:sms-UNKNOWN_EXCEPT