Question about ALTER TABLESPACE add datafile on/slide

Good afternoon

As an exercise, I created a STORETABS tablespace and added a data file using the command:
SQL> alter tablespace storetabs add datafile 'e:/storetabs3.dbf' size 50M;
This successful step. A new file was created at the root of e: as expected.

Following this command, I have published:
SQL> alter tablespace storetabs drop datafile 'e:/storetabs3.dbf';

Tablespace altered.
The command succeeded. However, the file * ' e:/storetabs3.dbf' * has not been deleted. After re-reading the documentation found at http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_3002.htm, I feel that deleting the operating system file itself is something that must still be done manually.

Question: Am I right that there is no option to cause 'alter tablespace < tablespace > drop datafile < datafilename >' remove it the o/s file? In other words, should the o/s file always be deleted manually as a separate step?

Thank you for your help,

John.

John,

Don't know what part of the documentation page you are referring to but on the same page to the following location
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_3002.htm#sthref5437,
He clearly staes

Specify DROP to drop from the tablespace an empty datafile or tempfile specified by filename or file_number.
This clause causes the datafile or tempfile to be removed from the data dictionary and deleted from the operating system.
The database must be open at the time this clause is specified

Tags: Database

Similar Questions

  • Question about Undo Tablespace?

    Hello;

    The necessary size of the undo tablespace is the number and size of the transactions that occur on the database. But I do not need to interview one of these transactions for a schema or table using flashback it is a way to disable transactions writing on a table or schema of undo tablespace?

    Published by: Ecimen on 04.Mar.2013 03:50

    Published by: Ecimen on 03:51 04.Mar.2013

    Ecimen wrote:

    Rob_J wrote:
    OK, it's fine, so what makes you say you build too UNDO? What is the problem you're trying to solve? Or you want to know if you could get back to CANCEL in writing?

    Our log tables generate too much to cancel because we need you connecting all these data (insert and update for the most part)... but we don't care about these log tables, we want to reduce the cancellation written for these tables logs so that we could use more flashback query timestamp older due to more space in the undo tablespace...

    I think I mentioned in my other two answers above that it is not possible to disable the generation of the cancellation, or at least I don't know that there is no way to do it! What you can do, if you are worried about the Undo tablespace grows, it is that make you a tablespace size Undo fixed by controlling the Undo data that are generated. You can use Cancel Advisor of the to do. With the Undo retention period of your proposed, she would like the size of the Undo tablespace tips and you can add about 20-30% extra size and you should be fine. But as I've already said too much, he has No way to stop generating cancellation.

    Aman...

  • Question about list tablespace temp of the oracle 12 c container

    Select con_id, name of the containers of v$.  -> 4 lines returned.

    1CBD$ ROOT
    2PDB$ SEEDS
    3PDBRED
    4

    PDBBLUE

    Select con_id, name from v$ tempfile;  -> 4 lines returned.

    1/U01/app/Oracle/oradata/cdb1/temp01.dbf
    2/U01/app/Oracle/oradata/cdb1/pdbseed/pdbseed_temp01.dbf
    3/U01/app/Oracle/oradata/cdb1/pdbred/temp01.dbf
    4

    /U01/app/Oracle/oradata/cdb1/pdbblue/pdbseed_temp01.dbf

    Select cdb_tablespaces TABLESPACE_NAME, CON_ID where nom_tablespace like '% TEMP;   -> 4 lines returned.

    4TEMP
    3TEMP
    2TEMP
    1

    TEMP

    Select * from v$ temp_space_header; <-why to return a row ?

    1

    TEMP

    12 c bug?

    Hello

    and here you have the answer. The dictionary table ts$ contains only the 'local' tablespaces (in your case, those of the CBD).

    FYI - the join condition of the view GV$ TEMP_SPACE_HEADER is based on the following clause:

    from ts$ ts, x$ktfthc hc where ts.contents$ = 1 and ts.bitmapped <> 0 and ts.online$ = 1 and ts.ts# = hc.ktfthctsn and hc.ktfthccval = 0
    

    The view V$ TABLESPACE is based on the control file, not the Oracle dictionary table (as mentioned in the official documentation here: http://docs.oracle.com/cd/E16655_01/server.121/e17615/refrn30277.htm#i1420852 - "V$ TABLESPACE contains an tablespace from the file of control."), but the control file (fixed table x$ kccts) lack the necessary block size information for the calculation. You can write your own query based on x$ kccts and x$ ktfthc, if you use a specific block size (in all environments and each time), but Oracle itself should be more generic, of course.

    Concerning

    Stefan

  • Question about backup validate command datafile

    DB version: 10 gr 2, 11 2 GR

    Is the following command intended to control block corruption in the original or data file is that he intended to check if this file rman backup is suitable for restoration?
    backup validate datafile 1;
    Is equivalent to the command above in 11g
    validate datafile 1;
    Right?

    The two are brought together.

    The command POST to check corrupt blocks and missing files, or to determine if a set of backups can be restored.
    If backup validation detects corrupted blocks, then RMAN updates the view DATABASE_BLOCK_CORRUPTION of V$ with lines that decry the corruptions. After that a corrupted block is fixed, the line identifier this block is removed from the view.

    Oracle 11g,

    The VALIDATE command options are semantically equivalent to the options for the BACKUP VALIDATE command.

    refer,
    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28273/rcmsynta053.htm

    Thank you

  • Alter tablespace name wrong when creating data file

    Hello

    While creating a data file, I used alter tablespace name wrong.
    For example,.
    I used:
    ALTER TABLESPACE ADD datafile APPS_TS_SEED ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    Correct one:
    ALTER TABLESPACE ADD datafile APPS_TS_TX_DATA ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    I have created a more a_txn_data06 with the correct STORAGE space...
    But, did anyone know how this can be corrected?


    Thanks in advance,

    As long as it has not at all affected in this data file, you can deposit with
    alter tablespace... datafile drop...

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • Question of Tablespace Temp datafile.

    Hi Oracle gurus,

    the problem occurred when my file temp01.dbf to increase the size of certain MBs to 30 GB! (Within weeks)
    without doing RnD on advice, datafile temp01.dbf has been deleted! ,
    now a text file has been created, I renamed it with the same name 'temp01.dbf '!

    now my tasks fail with the error:

    1157: 64000: java.sql.SQLException: ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
    ORA-01110: data file 201: ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01. DBF'

    I tried to add a data file over to the storage space according to the steps below:
    1. connect to sqlplus DBA (user sys)
    2. stop; -Removed database and Oracle Instance will stop.
    3. start; -Oracle instance started.
    4 run this query
    alter tablespace temp add datafile
    ' C:\oracle\product\10.2.0\oradata\orcl\TEMP02. DBF' SIZE 32 M;

    but still the error points to Temp01.

    The funny part, I wrote here that I don't get the name of the data file anywhere in the comic book.

    I've run this query below

    SELECT FILE_NAME IN DBA_DATA_FILES;

    and there is no name of data file with "Temp01" or "Temp02".

    I get the name 'TEMP' Tablespace when performing "SELECT TABLESPACE_NAME FROM DBA_TABLESPACES";

    to add more of what the above

    I tried to delete the file with the name 'TEMP01. DBF. "
    by running

    alter tablespace temp drop datafile
    ' C:\oracle\product\10.2.0\oradata\orcl\TEMP01. DBF';

    I get the following error:
    ORA-03219: Tablespace 'TEMP' is managed by dictionary, offline or temporary

    This storage space (TEMP) is temporary (Default) and his allocation_type is uniform


    I'm looking for

    1 remove the Temp01 data file and rename the temp02 with her.
    2 allow the name of auto extension datafile renamed as well as default data temp file features.

    I'm at the point of no return?..... .i am new to this level of work... I tried to solve the problem by taking the forumns References... somwhr but still missing...

    Need help to solve this problem.

    Hello

    4 run this query
    alter tablespace temp add datafile
    ' C:\oracle\product\10.2.0\oradata\orcl\TEMP02. DBF' SIZE 32 M;

    but still the error points to Temp01.

    the query should be as below

    ALTER TABLESPACE
    Add TEMPFILE '' SIZE M;
    example:
    ALTER TABLESPACE temp_new
    Add TEMPFILE ' / u02/oradata/tempnew02.dbf' SIZE 200 M;

    >

    The part funny, I noted here that I don't get the name of the file of data anywhere in the DB.

    I've run this query below

    SELECT FILE_NAME IN DBA_DATA_FILES;

    and there is no name of data file with "Temp01" or "Temp02".

    We are unable to display a temporary file in dba_data_files... It's funny...

    Use tempfile $ v and v$ temp_space_header to view a temporary file...

    to make offline / online
    ALTER DATABASE TEMPFILE '' offline / online;

    MAKE USE OF THE TEMPORARY TABLESPACE DEFAULT

    ALTER TABLESPACE TEMPORARY for executives from the DATABASE default;

    the use of thiese views

    SELECT *.
    FROM database_properties
    Property_name WHERE = 'DEFAULT_TEMP_TABLESPACE ';

    SELECT file_name, nom_tablespace
    FROM dba_temp_files;

    Kind regards
    Deepak

  • alter tablespace offline...

    Hello

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/tspaces005.htm

    just a quick question,
    alter tablespace....offline temporary
    A tablespace can be taken offline temporarily, even if there are error conditions for one or more files in the storage space. When you specify TEMPORARY offline, the database supports offline data files that are not already in offline mode, the control points as she does.
    If no file is offline, but you use the temporary clause, media recovery is not required to bring to the online storage space. However, if one or more files from the storage space are offline due to clerical errors, and you are taking the tablespace offline temporarily, the tablespace requires recovery before you can bring it online.

    Based on the explanation above, done means that these datafile (with the error condition) code with the storage space you want to use offline will not in offline mode.
    Oracle will be only offline these 'good' datafile associate with storage space?

    My confusiong early when he mentions:
    if one or more files of the tablespace are offline because of write errors,
    which make me feel that even in the midst of erros, all storage data files will be always taken offline.

    The documents also mention:
    Specify TEMPORARY only when you cannot take the tablespace offline normally. In this case, only the files taken offline because of errors need to be recovered before the tablespace can be brought online. Specify IMMEDIATE only after trying both the normal and temporary settings.
    In this case, based on my current knowledge, I mention since all data files are taken offline in the middle of the condition of erros, we just need to recover those files that have the condition of error on them. ???

    Published by: flaskvacuum on March 1, 2012 11:45

    >
    Oracle will be only offline these 'good' datafile associate with storage space?
    >
    Well, Yes, but it's because the files of data with errors will already be ordering offline offline will not be offline them.
    >
    that means the code of these datafile (with the error condition) with the tablespace you want to use offline will not be in offline mode
    >
    No - the doc says that data files wilth errors have been offline. And after ordering TEMPORARY if you try to put the storage space online, it will fail because it will try to put offline the with online also return errors.

    That's why the doc has this cautionary
    >
    Caution:

    If you take a tablespace offline, use the NORMAL clause (default) if possible. This setting ensures that the tablespace requires not coming online restore, even if after incomplete recovery, you reset the sequence of redo logs using an ALTER DATABASE OPEN RESETLOGS.
    >
    You should check the status of all data files before you use CONNECTION TEMPORARY offline, or if a data file is already offlilne because of a clerical error, you will find that what you thought was temporary will avoid you to bring online storage space unless you do a recovery.

  • Hello Mr President! I have a few questions about the Word report generation please.1.How can I add a border to a page in word? 2. How can I add gridlines to a table generated related word?. Can 3. how I add a border to a picture of the Word report?. Thank

    Hello!

    Sir, I have a few questions about generating word reports using (C language in labwindows) please.

    1. How can I add a border to a page in word?

    2. How do I add border lines and grid to a table generated in Word report (not "cvi control table"inserted from gui, I wonder about the table generated in Word report)?

    3. How can I fill a table cell of report word with the data type other than 'character '.

    And sir a question on the use of the timer in labwindows cvi please.

    Sir, I'm trying to set a time minimum interval timer to 1millisecond (0.001 s), that I have set, timer cares about the interval set by me he only meets the minimum default time interval which is, I think as 10milliseconds (I'm using windows xp service Pack 3 version 2002).

    Concerning

    Imran

    Pakistan

    Have you read this statement ? It explains how to set the registry value:

    If the REG_SZ useDefaultTimer does not already exist, you must create it under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\CVI Run-Time Engine\cvirte. "" This can be done navigate to the appropriate folder, and then click Edit "New" string value. Then, click on means the name of the new value created, select Rename, and then specify useDefaultTimer as the name. Finally, double click on the name and specify the value True or False.

  • Missing ALTER TABLESPACE syntax... STRATEGY TO ADD DEFAULT ILM

    Hi all

    I'm checking the syntax of the statement:

    ALTER TABLESPACE tbs1

    STRATEGY TO ADD DEFAULT ILM

    STORE COMPRESS ADVANCED SEGMENT LINE AFTER 30 DAYS OF ACCESS LOW;

    The statement of work, but I found this syntax in the SQL (version 12.1) reference.   The song 'ILM add POLICY' after the 'DEFAULT' keyword is not documented.

    Did I miss something or Iit s a lack of documentation?

    Thank you

    Best regards

    Angelo Della Penna

    John,

    The OP post "alter TABLESPACE.

    (The DEFAULT clause for ALTER TABLESPACE for the TABLESPACE points CREATE documenttion).

    There is no clause of ILM for default for CREATE TABLESPACE.

    https://docs.Oracle.com/database/121/SQLRF/statements_7003.htm

    Therefore, it is undocumented (or a bug in the documentation)

    MK

  • Question about slide show

    Hi all, I have a question about slide show. How can I make these sideshow with active text and the button. For example the homepage * .ebinger - canvas.co.UK

    Thank you.

    Sergiy salvation,

    You can select the target of a slide show window and make a hyperlink and resize it.

    Kind regards

    Akshay

  • Question about transition between slides

    Hello

    I have a question about transition between slides in Captivate 6.0.

    By default, the transition between slides is set with 3 dry. I would like to have the transition done manually, with the navigation, but not after a certain time.

    Is this possible? For the moment I insert a next button. But I prefer to do it through the navigation.

    Thanks for your help.

    Hello

    Currently, the ONLY way to do it is to have an object on every slide, causing the slide to pause. Buttons, click boxes, text entry boxes, and some widgets cause this problem.

    If you feel that it must operate differently, please consider submitting a form wishes to request the ability to be added to a future version. (Link to the form wants is in my signature)

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Question about AUTOALLOCATE and UNIFORM in the tablespace management

    Good afternoon

    I'm unclear as to if a UNIFORM extent allocation means that the data file must be manually extended or not.

    Documentation:

    >
    The following statement creates a managed tablespace locally named lmtbsb and specifies AUTOALLOCATE:
    Lmtbsb CREATE TABLESPACE DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 M
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE;

    AUTOALLOCATE causes tablespace system managed with a volume of minimum extent of 64K.

    The alternative to AUTOALLOCATE is UNIFORM. who says that the tablespace is managed with uniform size extents. You can specify the size of the uniform SIZE clause. If you omit the SIZE, the default size is 1 M.

    The following example creates a tablespace with uniform extents of 128 K. (In a database with 2 K blocks, each would amount to 64 blocks of data). Each measure 128K is represented by a bit in the bitmap extent for this file.
    Lmtbsb CREATE TABLESPACE DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 M
    EXTENT MANAGEMENT UNIFORM LOCAL 128K SIZE;
    >

    It is clear that the clause UNIFORM control the size of the scope which will be awarded, but doesn't really say if these will be assigned manually or automatically. In other words, I'm not clear as to whether or not the data in the second case file will be automatically extended.

    In my test environment, when I published the command:
    SQL> create tablespace largetabs datafile 'E:\Oracle\app\Private\oradata\dbca\largetabs.dbf' size 100M extent management local uniform size 16M;
    and only looked into the tablespace EM I had created above, there is no check mark in the box "Automatically extend datafile when full", which led to the doubt that I have now.

    Is: during the extended allocation is UNIFORM, this means that space must be allocated manually or can the renewed automatically datafile? If it can be automatically extended, I would appreciate an example of a create tablespace command that allows to achieve this result.

    Thank you for your help,

    John.

    John

    There is nothing relationship extended datafile and management extend way (autolallocate or manually-uniform). See below

    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Sep 12 22:47:15 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF
    
    SQL> create tablespace largetabs datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST
    \largetabs.dbf' size 100M extent management local uniform size 16M;
    
    Tablespace created.
    
    SQL> desc dba_data_files
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
    
     FILE_NAME                                          VARCHAR2(513)
     FILE_ID                                            NUMBER
     TABLESPACE_NAME                                    VARCHAR2(30)
     BYTES                                              NUMBER
     BLOCKS                                             NUMBER
     STATUS                                             VARCHAR2(9)
     RELATIVE_FNO                                       NUMBER
     AUTOEXTENSIBLE                                     VARCHAR2(3)
     MAXBYTES                                           NUMBER
     MAXBLOCKS                                          NUMBER
     INCREMENT_BY                                       NUMBER
     USER_BYTES                                         NUMBER
     USER_BLOCKS                                        NUMBER
     ONLINE_STATUS                                      VARCHAR2(7)
    
    SQL> select AUTOEXTENSIBLE from  dba_data_files where  TABLESPACE_NAME=upper('la
    rgetabs');
    
    AUT
    ---
    NO
    
    SQL> create tablespace largetabs1 datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TES
    T\largetabs1.dbf' size 100M extent management local AUTOALLOCATE ;
    
    Tablespace created.
    
    SQL> select AUTOEXTENSIBLE from  dba_data_files where  TABLESPACE_NAME=upper('la
    rgetabs1');
    
    AUT
    ---
    NO
    
    SQL>
    

    These parameter, then use to know how to extend automatically allocate size by oracle or manually size by before defined number. All these to sometimes as documentation written as

    If you are planning that the tablespace contains objects of various sizes, requiring many scopes with varying degrees > sizes, then AUTOALLOCATE is the best choice. AUTOALLOCATE is also a good choice if it is not important for > you have much control over the allocation of space and the deallocation, because it simplifies the management of the table space. A space may be wasted with this parameter, but the advantage of having the Oracle database manage your space > probably outweigh this disadvantage.
    If you want exact control on unused space, and you can predict exactly the space to allocate for a > object or objects and the number and size of extensions, and then UNIFORM is a good choice. This setting ensures > you'll ever unusable space in your tablespace.

  • Question about tablespace in Oracle 10 g

    In 10g, this view is used to store the State of a tablespace. I need to be able to check whether or not a tablespace is in read-only mode. I understand that I can EM used to show status, but EM tells me that the tablespace is in read/write mode, and users insist that the tablespace is in read-only mode.

    Thank you in advance for your help!

    Are you sure? I think that in READING-WRITING and ONLINE means the same thing.

    SQL> select tablespace_name from dba_tablespaces;
    
    TABLESPACE_NAME
    --------------------------------------------------------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    TEMP
    USERS
    TEST
    
    6 rows selected.
    
    SQL> alter tablespace test read only;
    
    Tablespace altered.
    
    SQL> select tablespace_name, status from dba_tablespaces;
    
    TABLESPACE_NAME
    --------------------------------------------------------------------------------
    STATUS
    ---------------------------
    SYSTEM
    ONLINE
    
    UNDOTBS1
    ONLINE
    
    SYSAUX
    ONLINE
    
    TABLESPACE_NAME
    --------------------------------------------------------------------------------
    STATUS
    ---------------------------
    TEMP
    ONLINE
    
    USERS
    ONLINE
    
    TEST
    READ ONLY
    
    6 rows selected.
    
    SQL> alter tablespace test read write;
    
    Tablespace altered.
    
    SQL> 
    

    Edited by: P. Forstmann may 28, 2009 18:36

  • tablespaces or datafile

    Hi if we have a tablespace as a user with all the 4 datafile datafile size 500 MB and unlimited extended auto. My question is how oracle facing datafile. how he fill the data file to move a second if first datafile reaches 500 MB what oracle passes in second mode or extent to which one. If after 500 MB he spends 2nd and 3rd away when I come at first how it measures and the second crossing.
    If we already know our data is so huge and take as much space in the datafile 100 GB or more. What is the size, we have upgraded the datfile. or we used big file of large databases

    Oracle Studnet wrote:
    Hi if we have a tablespace as a user with all the 4 datafile datafile size 500 MB and unlimited extended auto. My question is how oracle facing datafile. how he fill the data file to move a second if first datafile reaches 500 MB what oracle passes in second mode or extent to which one. If after 500 MB he spends 2nd and 3rd away when I come at first how it measures and the second crossing.
    If we already know our data is so huge and take as much space in the datafile 100 GB or more. What is the size, we have upgraded the datfile. or we used big file of large databases

    Adeel,
    Oracle allocates the data in files in the round-robin way. Means that when the extensions will be allocated, it will be alternately among all the data files. Both files will extend simultaneously by Oracle and if it cannot develop any, it throws the error. See a demo

    Rem--I am creating a tablespace with 2 datafiles which are intially of 5m in size and can grow till 10m.I shall create a big table and I shall move the table into it.
    SQL> create tablespace test_t1 datafile 'd:\test1.dbf' size 5m autoextend on next 1m maxsize 10m;
    
    Tablespace created.
    
    SQL> alter tablespace test_t1 add datafile 'd:\test2.dbf' size 5m autoextend on next 1m maxsize 10m;
    
    Tablespace altered.
    
    SQL> create table t as select * from aman.t;
    
    Table created.
    
    SQL> insert into t select * from t;
    
    68036 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> insert into t select * from t;
    
    136072 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> insert into t select * from t;
    
    272144 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> insert into t select * from t;
    
    544288 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> alter table t move tablespace test_t1;
    alter table t move tablespace test_t1
                *
    ERROR at line 1:
    ORA-01652: unable to extend temp segment by 128 in tablespace TEST_T1
    
    SQL>
    

    In another session, I have the tablespace files listed with the blocks and the bytes in them. You can see that when I moved my table in it, the number of busy blocks is the same in both files. And he went to increase a parallel way. When I got the error, I got it for the entire tablepsce that is mentioned above.

    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> select blocks, bytes,file_id from dba_data_files where tablespace_name='TEST_T1';
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           640    5242880          8
           640    5242880          9
    
    SQL> /
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
           896    7340032          8
           896    7340032          9
    
    SQL> /
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
          1152    9437184          8
          1152    9437184          9
    
    SQL> /
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
          1280   10485760          8
          1280   10485760          9
    
    SQL> /
    
        BLOCKS      BYTES    FILE_ID
    ---------- ---------- ----------
          1280   10485760          8
          1280   10485760          9
    
    SQL>
    

    On the anticipation of the significant increase of the database and file, it actually depends on how you want to manage. In one about 50 TB of data, I had seen the space allocated manually by administrators. They have no use Bigfile. If you want to make things simple, surely, you can go ahead and use it.
    HTH
    Aman...

  • Simple question about Append hint

    ORACLE-BASE - title

    The link above, I have just a basic question about add suspicion...

    How the APPEND Hint affects the performance

    The APPEND tip tells the optimizer to perform an access direct-path insert, which improves the performance of INSERT .. SELECT operations for several reasons:

    • Data are added at the end of the table, instead try to use the free space in the table.
    • Data is written directly to the data files, passing the buffer cache.
    • Referential integrity constraints are ignored.

    I wanted to just understand to what extent is the third correct point

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

    CREATE TABLE emp
    (
    emp_id a PRIMARY KEY/NUMBER
    emp_name VARCHAR2 (100),
    dept_id NUMBER
    );

    CREATE TABLE dept
    (
    dept_id NUMBER PRIMARY KEY,
    dept_name VARCHAR2 (100)
    );

    ALTER TABLE ADD FOREIGN KEY (Dept_id) emp made REFERENCE to Department (Dept_id);


    INSERT / * + append * /.
    IN emp
    Select 1, 'King', 100 from dual;

    COMMIT;

    The insert will definitely give an error

    ORA-02291: integrity constraint (SCOTT. SYS_C0013725324) violated - parent not found key

    Am I missing something here?

    See you soon,.

    Manik.

    sqlldr can and does ignore referential integrity / triggers and same uniqueness in a load path direct, insert / * + append * / doesn't - you do not direct path when they (constraints) exist.


    parallel is always a direct route, if you go in parallel, you add.

    https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:no:P11_QUESTION_ID:1211797200346279484

Maybe you are looking for