Data files to the tablespace sysaux listed several times v $ datafile

When I run the query - select name, number of status from v$ datafile;

the data files for system tablespaces are included several times.

For example, for sysaux, output a below entries. Why is this?

It is the same with the space of system tables and users.

The configuration is Oracle 12 c

I've used this in earlier versions of oracle, but this is something new that I am observing with 12 c.

+ ASM_DG/gdb/DataFile/SYSAUX.269.838407323, 3

+ ASM_DG/gdb/DD7C48AA5A4404A2E04325AAE80A403C/DataFile/SYSAUX.273.838407639, 7

+ ASM_DG/gdb/F159D742BCE602C0E0438B59D10A581B/DataFile/SYSAUX.258.838409993, 10

When I use the query-

SELECT FILE_NAME, BLOCKS, NOM_TABLESPACE

FROM DBA_DATA_FILES;

Then only the single entry appears

+ ASM_DG/gdb/DataFile/SYSAUX.269.838407323, 108800, SYSAUX

Any help will be great.

Hello

It's the new architecture shared in action.

You get a sysaux/system for each plug-in database data file, but the views dba only show data for the current container.

This is probably the biggest architectural change I've seen in oracle (and I worked with her since 7.2...)

I recommend you to read the oracle documentation (and then read them again when it totally confuses you until you get it).

See you soon,.

Rich

Tags: Database

Similar Questions

  • When OMF add the data file in the tablespace

    Hi friends,

    We use oracle 11.2 with CMS (oracle managed file) for the database on the linux platform. the parameter - DB_CREATE_FILE_DEST had been set. at the present time, we received a message from global warming this tablespace criterion is 85% full.

    According to the document of the oracle, OMF auto will add a data file in the tablespace tast. more than a week, I do not see any data file has been added by OMF.

    I want to know when OMF adds the data file in the tablespace? 85% or 95% or some (parameter) setting this action?

    Thank you

    newdba

    OMF does not automatically add a new data file.  You must explicitly add a new data file with the ALTER TABLESPACE ADD DATAFILE command tbsname.

    What is OMF is to provide a Unique name and a default size (100 MB) for the data file.  That is why the ALTER TABLESPACE... Command ADD DATAFILE that you run didn't need to specify the file size or file name.

    Hemant K Collette

  • Increase the size of the tablespace: which of the data file for the tablespaces ine that I have to increase?

    Hello

    I need to increase the size of the tablespaces in EBS R12 Database 11.2.0.3.0:

    APPS_TS_TX_IDX

    APPS_TS_SEED

    APPS_TS_TX_DATA

    But they all have multiple datafiles:

    Example for APPS_TS_SEED:

    [data oracle@ebs122dev] $ of the hs - a_ref0 *.

    1, 5G a_ref01.dbf

    1, 2G a_ref02.dbf

    508M a_ref03.dbf

    2, 0G a_ref04.dbf

    2, 0G a_ref05.dbf

    2, 0G a_ref06.dbf

    Many of the datafiles should I resize to increase the size?

    Thank you

    Luis

    Hello

    It does not matter what file you resize.

    Personally, I prefer to start with the first file and reach the largest file size and resize then the following.

    In addition, having the files with a size that is a multiple of 1 GB is a good practice for me.

    Another option is to activate the autoextend for data files option.

    You can set the maximum size of 4 GB for example all files in storage areas that are growing rapidly.

    Kind regards

    Bashar

  • data file update the header by various processes

    Hi master,

    It is certainly not a question any. I just wanted to clear some doubts in my mind. We all know SNA are generated and updated in the controlfiles and datafile headers by various oracle process.

    System change number are updated by DBWr in the header of the data files and of ckpt in controlfiles... Please correct me if I'm wrong.


    I am little confuse on when the database writer writes dirty blocks in the data files update the header of this particular data file or updated all the header of data file in the tablespace or all the headers of data file?

    and it is, but it is obvious that if the instance crash, then database will be inconsistent state and application of recovery of incompatible data files as YVERT in the control file does not match the data file header...

    treat means only when good checkpoint with CKPT then only the database will be a consistent state after reboot... it means making ckpt YVERT in all the datafile header match with in controlfiles?

    dealing with writing or update YVERT in other than CKPT controlfiles? at the time, only respective datafile is updated with the new change number or all in this tablespace data files are updated?

    Although many change of system is not timed... It may often happen and it does... but how to find change number perfect if we want to recover a file of data or database with incomplete recovery until the sequence or YVERT? I tried to find the list for the smon_scn_time , but don't know how to use...

    I'm looking also for document on this point of view I have Google, but have not found anything successful.


    any suggestions would be much appreciated...

    Thanks and greetings
    VD

    Published by: vikrant dixit on April 2, 2009 12:05 AM

    gurantee Oracle with CKPT SNA who wrote to datafile is completed and will be contradicted with system files, tablespace and other
    tabelspace load datafiles, each tablespace datafiles CKPT SNA is circumscribed in controlfile is why when you take line/hot
    Save then your backup is inconsistent on recovery makes inconsistent backups consistent oracle by applying all archived and online
    redo logs, oracle makes the recovery by reading more early/more former SNA to one of the headers of data file (media recovery) and apply the
    changes of newspapers in the data file.

    After the completion of checkpoint process CKPT process increment header controlfile CKPT SNA and broad cast than SNA CKPT to others
    header data file. This SNA CKPT is not individual for alls datafile within the database or tablespace datafiles, each CKPT SNA data file is the same.
    You can verify this behavior.

    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327957              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327957              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327957              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327957              ONLINE<---
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327957              ONLINE<---
    
    SQL> alter system checkpoint
      2  /
    
    System altered.
    
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327960              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327960              ONLINE
    
    SQL> alter system checkpoint
      2  /
    
    System altered.
    
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327965              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327965              ONLINE
    

    Khurram

  • accidentally create data file with the same name but different location

    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF? the data inside/u03/datafile/REKON65. DBF went?


    Thank you

    Indra says:
    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF?

    nothing

    the data inside/u03/datafile/REKON65. DBF went?

    not gone

  • How to move the tablespace SYSAUX ASM file system when the database is opened?

    OS: RHEL 5.9 with UEK

    Database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    On a stand-alone server network infrastructure.

    According to me, that if I put the database in montage mode or disconnect SYSAUX, I can move the ASM filesystem SYSAUX tablespace by issuing the following instructions:

    • format of backup as copy tablespace SYSAUX "+ SYSTEM";
    • tablespace SYSAUX switch copy;

    But I want to know how I can move the ASM filesystem SYSAUX tablespace when the database is opened.

    Thank you.

    The two doc tells how to move sysaux when the database is opened:

    How do I move the TABLESPACE SYSAUX (Doc ID 301186.1)

    http://Paul.CLAESSEN.org/?p=79

    This method may not work if any process uses sysaux. You will need to stop car he like sb said.

  • When loading, error: field in the data file exceeds the maximum length

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Solaris: 11.2.0.3.0 - Production Version

    NLSRTL Version 11.2.0.3.0 - Production

    I am trying to load a table, small size (110 lines, 6 columns).  One of the columns, called NOTES is less error when I run the load.  That is to say that the size of the column exceeds the limit max.  As you can see here, the column of the table is equal to 4000 bytes)

    CREATE TABLE NRIS. NRN_REPORT_NOTES

    (

    Sys_guid() NOTES_CN VARCHAR2 (40 BYTE) DEFAULT is NOT NULL.

    REPORT_GROUP VARCHAR2 (100 BYTE) NOT NULL,

    POSTCODE VARCHAR2 (50 BYTE) NOT NULL,

    ROUND NUMBER (3) NOT NULL,

    VARCHAR2 (4000 BYTE) NOTES,

    LAST_UPDATE TIMESTAMP (6) WITH ZONE SCHEDULE systimestamp NOT NULL default

    )

    TABLESPACE USERS

    RESULT_CACHE (DEFAULT MODE)

    PCTUSED 0

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    80K INITIAL

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    PCTINCREASE 0

    DEFAULT USER_TABLES

    DEFAULT FLASH_CACHE

    DEFAULT CELL_FLASH_CACHE

    )

    LOGGING

    NOCOMPRESS

    NOCACHE

    NOPARALLEL

    MONITORING;

    I did a little investigating, and it does not match.

    When I run

    Select max (lengthb (notes)) in NRIS. NRN_REPORT_NOTES

    I got a return of

    643

    .

    Which tells me that the larger size of this column is only 643 bytes.  But EACH insert is a failure.

    Here is the header of the file loader and first couple of inserts:

    DOWNLOAD THE DATA

    INFILE *.

    BADFILE '. / NRIS. NRN_REPORT_NOTES. BAD'

    DISCARDFILE '. / NRIS. NRN_REPORT_NOTES. DSC"

    ADD IN THE NRIS TABLE. NRN_REPORT_NOTES

    Fields ended by '; '. Eventually framed by ' |'

    (

    NOTES_CN,

    REPORT_GROUP,

    Zip code

    ALL ABOUT NULLIF (R = 'NULL'),

    NOTES,

    LAST_UPDATE TIMESTAMP WITH TIME ZONE ' MM/DD/YYYY HH24:MI:SS. FF9 TZR' NULLIF (LAST_UPDATE = 'NULL')

    )

    BEGINDATA

    | E2ACF256F01F46A7E0440003BA0F14C2; | | DEMOGRAPHIC DATA |; A01003; | 3 ; | demographic results show that 46% of visits are made by women.  Among racial and ethnic minorities, the most often encountered are native American (4%) and Hispanic / Latino (2%).  The breakdown by age shows that the Bitterroot has a relatively low of children under 16 (14%) proportion in the population of visit.  People over 60 represent about 22% of visits.   Most of the visitation comes from the region.  More than 85% of the visits come from people who live within 50 miles. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    | E2ACF256F02046A7E0440003BA0F14C2; | | DESCRIPTION OF THE VISIT; | | A01003; | 3 ; | most visits to the Bitterroot are relatively short.  More than half of the visits last less than 3 hours.  The median duration of visiting sites for the night is about 43 hours, or about 2 days.  The average Wilderness visit lasts only about 6 hours, although more than half of these visits are shorter than the duration of 3 hours.   Most of the visits come from people who are frequent visitors.  Over thirty percent are made by people who visit between 40 and 100 times a year.  Another 8% of visits from people who say they visit more than 100 times a year. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    | E2ACF256F02146A7E0440003BA0F14C2; | | ACTIVITIES |. A01003; | 3 ; | most often reported the main activity is hiking (42%), followed by alpine skiing (12%) and hunting (8%).  More than half of the report visits participating in the relaxation and the display landscape. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    Here's the full start of log loader, ending after the return of the first row.  (They ALL say the same error)

    SQL * Loader: Release 10.2.0.4.0 - Production Thu Aug 22 12:09:07 2013

    Copyright (c) 1982, 2007, Oracle.  All rights reserved.

    Control file: NRIS. NRN_REPORT_NOTES. CTL

    Data file: NRIS. NRN_REPORT_NOTES. CTL

    Bad File:. / NRIS. NRN_REPORT_NOTES. BAD

    Discard File:. / NRIS. NRN_REPORT_NOTES. DSC

    (Allow all releases)

    Number of loading: ALL

    Number of jump: 0

    Authorized errors: 50

    Link table: 64 lines, maximum of 256000 bytes

    Continuation of the debate: none is specified

    Path used: classics

    NRIS table. NRN_REPORT_NOTES, loaded from every logical record.

    Insert the option in effect for this table: APPEND

    Column Position Len term Encl. Datatype name

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

    FIRST NOTES_CN *;  O (|) CHARACTER

    REPORT_GROUP NEXT *;  O (|) CHARACTER

    AREA CODE FOLLOWING *;  O (|) CHARACTER

    ROUND                                NEXT     *   ;  O (|) CHARACTER

    NULL if r = 0X4e554c4c ('NULL' character)

    NOTES                                NEXT     *   ;  O (|) CHARACTER

    LAST_UPDATE NEXT *;  O (|) DATETIME MM/DD/YYYY HH24:MI:SS. FF9 TZR

    NULL if LAST_UPDATE = 0X4e554c4c ('NULL' character)

    Sheet 1: Rejected - error in NRIS table. NRN_REPORT_NOTES, information ABOUT the column.

    Field in the data file exceeds the maximum length.

    I don't see why this should be failed.

    Hello

    the problem is bounded by default, char (255) data... Very useful, I know...

    you need two, IE sqlldr Hat data is longer than this.

    so change notes to notes char (4000) you control file and it should work.

    see you soon,

    Harry

  • What happens if AUTOEXTEND is turned on and the data file reaches the limit?

    Hello

    I m using Oracle 11 g. I created a tablespace by using the following command:

    CREATE TABLESPACE MYTABLESPACE
    DATAFILE '< PATH > '.
    SIZE 1 G AUTOEXTEND ON MEASUREMENT OF LOCAL MANAGEMENT AUTOALLOCATE;


    The data file is almost full. The question is: given that AUTOEXTEND is enabled, a new data file will automatically create the original data file reaches the limit? (data file is PETIT_FICHIER)


    I would appreciate your help.


    Thank you

    998043 wrote:
    Hello

    I m using Oracle 11 g. I created a tablespace by using the following command:

    CREATE TABLESPACE MYTABLESPACE
    DATAFILE ''.
    SIZE 1 G AUTOEXTEND ON MEASUREMENT OF LOCAL MANAGEMENT AUTOALLOCATE;

    The data file is almost full. The question is: given that AUTOEXTEND is enabled, a new data file will automatically create the original data file reaches the limit? (data file is PETIT_FICHIER)

    I would appreciate your help.

    Thank you

    File stops growing & error is thrown.

  • How do I reduce the data file after the moving images to another data file

    All,

    I did a test of simepl to see how should I reduce my data file after the transfer of the objects thereof.

    I had an image in my data file USER_image, which is about 9 GB in size. I created the new data under the new tablpespace file and moved all the images in this new space of tables. So my old tablespace of image with its data file is now empty. At least there is not all user objects.

    Now I tried to resize the old datafile (USER_image) to a smaller value, but I keep this error
    "ORA-03297: file contains data beyond the value required to RESIZE.

    The file size is 9 GB and I tried to resize to 8 GB but it still does not allow me.

    Is it possible to resize a data file after moving all its purpose?
    I'm something wrong or missing something?

    Thanks in advance.

    If you old image tablespace is indeed empty (you need to run a statement against DBA_SEGMENTS to check) then you can bring it, data files included.
    After this, you can create a 'new' tablespace with the old name and desired data file sizes.

  • where is the location of the files in the tablespace and control

    Hi all

    where is the location of the files of the tablespace and control? TKS

    For data files, ask DBA_DATA_FILES V$ DATAFILE
    For TempFiles, ask DBA_TEMP_FILES or V$ TEMPFILE
    For online redo logs, query v$ LOGFILE
    For archived Redo Logs, query v$ ARCHIVED_LOG
    for Controlfiles, query v$ CONTROLFILE

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

  • How can I re - attach the data files for the programs?

    Original title:

    reconnection of the files

    BONE had to be reinstalled.  All data is saved but lost programs.  Programs now reinstalled, but how can I re - attach the data files for the programs?

    Hello

    You copy the data on your computer (Documents, Photos, etc.) and file extensions should be automatically associated with programs they have written in.

    Otherwise:

    "Changing programs by default by using Set Program Access and defaults of the computer"

    http://Windows.Microsoft.com/en-us/Windows/set-program-access-computer-defaults#1TC=Windows-7

    "How to change file Associations in Windows 7 and Windows 8.

    http://www.7tutorials.com/how-associate-file-type-or-protocol-program

    See you soon.

  • ORA-19846: cannot read the header of the data file of the remote site 21

    Hello

    I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).

    Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.

    After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.

    Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:

    RMAN > recover database service prim noredo using backupset compressed;

    To go back to November 8, 15

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 70 = device = DISK stby type instance

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015

    ORA-19846: cannot read the header of the data file of the remote site 21

    The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.

    Thank you.

    I tried like below:

    1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.

    2 copy the backup of the watch parts, catalogged them on the day before.

    3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.

    OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.

    Make it like:

    1. take incremental backup of primary SNA, also ensures the backup controlfile format.

    2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.

    3. Since you are using OMF, the path of primary and standby data file will be different. (/). If you require catalog data from the database files pending.

    (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.

    4. turn the database copy by RMAN. (RMAN > switch database to copy ;))

    5 Catalog backup items that you copied in step 2.

    6. recover the standby database using 'noredo' option.

    7. finally start the MRP. This should solve your problem.

    The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.

    In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.

    HTH

    -Jonathan Rolland

  • Field in the data file exceeds the maximum length - CTL file error

    Hello

    I load data into the new system using the CTL file. But I get the error message 'field in the data file exceeds the maximum length "for few records, other records are processed successfully." " I checked the length of the error record in the extracted file, it is less than the length of the target table, VARCHAR2 (2000 bytes). Here is an example of error data,


    Hi Rebecca ~ I just talk to our Finance Department and they agreed that ABC payments can be allocated to the outstanding invoices, you can send all future invoices directly to me so that I could get paid on time. ~ hope it's okay ~ thank you ~ Terry ~.

    This error is caused because of the special characters in the string?

    Here is the ctl file that I use,

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    < nom_de_colonne >,

    < nom_de_colonne >,

    COMMENTS,

    < nom_de_colonne >,

    < nom_de_colonne >

    )

    Thanks in advance,

    Aditya

    Hello

    I suspect it's because of the construction in default length of character in sqldr data types - char (255) must take no notice of what the definition of the current table is by default.

    Try adding CHAR (2000), to your controlfile so you end up with something like this:

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    ,

    ,

    COMMENTS TANK (2000).

    ,

    )

    See you soon,.

    Harry

  • sqlldr question: field in the data file exceeds the maximum length

    Hello friends,

    I am struggling with a load of simple data using sqlldr and hoping someone can guide me.

    Ref: I use Oracle 11.2 on Linux 5.7.
    ===========================
    Here is my table:
    SQL> desc ntwkrep.CARD
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- ------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     *REALIZES                                                                   VARCHAR2(4000)*
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    When I try to load a text file data using sqlldr, I get the following errors on some files that do not charge.

    Example:
    =======
    Sheet 1: Rejected - error on the NTWKREP table. CARD, column REALIZES.
    Field in the data file exceeds the maximum length

    Looking at the actual data and count the characters for the data of the "CONSCIOUS" column, I see that it is basically a little more of 1000 characters.

    So try various ideas to solve the problem, I tried to change to "tank" nls_length_semantics and re-create the table, but this does not always helped and always got the same errors of loading data on the same lines.


    Then, I changed back to byte nls_length_semantics and recreated the table again.
    This time, I have changed the table manually as:
    SQL> ALTER TABLE ntwkrep.CARD MODIFY (REALIZES VARCHAR2(4000 char));
    
    Table altered.
    
    SQL> desc ntwkrep.card
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- --------------------------------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     REALIZES                                                                   VARCHAR2(4000 CHAR)
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    Yet once, loading data failed with the same error on the same lines.

    So, this time, I thought that I would try to change the data type of column in a clob (navigation), and again, it is still impossible to load on the same lines.
    SQL> desc ntwkrep.CARD
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- -----------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     REALIZES                                                                   CLOB
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    Any ideas?

    Here's a copy of the first line of data that fails to load each time any how to change the column 'TRUE' in the table.
    other(1)`CARD-mes-fhnb-bldg-137/1`  `other(1)`CARD-mes-fhnb-bldg-137/1 [other(1)]`HwVersion:C0|SwVersion:12.2(40)SE|Serial#:FOC1302U2S6|` Chassis::CHASSIS-mes-fhnb-bldg-137, Switch::mes-fhnb-bldg-137 ` Port::PORT-mes-fhnb-bldg-137/1.23, Port::PORT-mes-fhnb-bldg-137/1.21, Port::PORT-mes-fhnb-bldg-137/1.5, Port::PORT-mes-fhnb-bldg-137/1.7, Port::PORT-mes-fhnb-bldg-137/1.14, Port::PORT-mes-fhnb-bldg-137/1.12, Port::PORT-mes-fhnb-bldg-137/1.6, Port::PORT-mes-fhnb-bldg-137/1.4, Port::PORT-mes-fhnb-bldg-137/1.20, Port::PORT-mes-fhnb-bldg-137/1.22, Port::PORT-mes-fhnb-bldg-137/1.15, Port::PORT-mes-fhnb-bldg-137/1.13, Port::PORT-mes-fhnb-bldg-137/1.18, Port::PORT-mes-fhnb-bldg-137/1.24, Port::PORT-mes-fhnb-bldg-137/1.26, Port::PORT-mes-fhnb-bldg-137/1.17, Port::PORT-mes-fhnb-bldg-137/1.11, Port::PORT-mes-fhnb-bldg-137/1.2, Port::PORT-mes-fhnb-bldg-137/1.8, Port::PORT-mes-fhnb-bldg-137/1.10, Port::PORT-mes-fhnb-bldg-137/1.16, Port::PORT-mes-fhnb-bldg-137/1.9, Port::PORT-mes-fhnb-bldg-137/1.3, Port::PORT-mes-fhnb-bldg-137/1.1, Port::PORT-mes-fhnb-bldg-137/1.19, Port::PORT-mes-fhnb-bldg-137/1.25 `Serial#:FOC1302U2S6`mes-fhnb-bldg-137`other(1)
    Finally, for reference, here's the controlfile I use.
    load data
    infile '/opt/EMC/data/out/Card.txt'
    badfile '/dbadmin/data_loads/logs/Card.bad'
    append
    into table ntwkrep.CARD
    fields terminated by "`"
    TRAILING NULLCOLS
    (
    CIM_DESCRIPTION,
    CIM_NAME,
    COMPOSEDOF,
    DESCRIPTION,
    DISPLAYNAME,
    LOCATION,
    PARTOF,
    REALIZES,
    SERIALNUMBER,
    SYSTEMNAME,
    TYPE,
    STATUS,
    LASTMODIFIED "sysdate"
    )

    The default data in sqlldr type is char (255)

    Modify your control file following which I think should work with VARCHAR2 (4000) REALIZES:

    COMPOSEDOF char(4000),
    DESCRIPTION char(4000),
    LOCATION char(4000),
    REALIZES char(4000),
    
  • Automatic extension of a data file with the complete file system

    We are working on a database of Oracle10g 10.2.0.4 on HP - UX 11.31 (Itanium |) PA - RISC)

    We would create our database by activating the automatic Extension of our data files
    (defining the maximum size limit or unlimited)

    Our question is:
    What happens to the database in the event of complete file system when one of the data files should be automatically extended?
    The extended data file has become corrupted or the db cease its activity?


    Marco

    No data corruption should occur. If Oracle is trying to develop, OS it will send the message that it is not possible. That's all.

Maybe you are looking for