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...

Tags: Database

Similar Questions

  • 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
    
  • Create tablespace with datafile

    Hello

    We have consistent backup of cold (managed by the user) of 10.2.0.1 on our usb drive. Now I want to create a new tablespace using this data file (there is only one file of data in the previous db tablespace) in my current 11.2.0.1 db running. Please tell me how to create the new tablespace using the saved data file. Operating system is windows xp for both the database.

    Thanking you.

    Hello

    This seems quite difficult... The easiest way is to start an instance of 10g, export data (using exp/expdb) and then import it into the running instance of 11 g...
    I found a similar thread here, it might give you some help import a Datafile (.dbf) in 11 g 10 g tablespace

    HtH

    Johan

  • 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

  • Is it possible to create a new tablespace including datafile will be on a filesystem instead of ASM?

    All our data files are located in the ASM disks (we have only an ASM diskgroup). Now, we run out of space in this ASM diskgroup even though we have a planned expansion of the ASM disk, but it will not happen anytime soon.

    Now, I need to move partitions to be able to resize the files of database considerably. When moving partitions, I need to create a new tablespace where partitions can be moved (in the file system) and then be moved to an original tablespace (in ASM). But since our scores are so large (in GB), I don't have enough space in ASM. I don't have a file system that has enough space to do the above. My question is: is there any problem if I create this tablespace move in this filesystem having in mind that my database uses ASM? It's just temporary until I'm done with that. Unfortunately, I do not have a test bench where I can test this.

    Oracle keeps, realize, or whether or not the data reside on ASM.

  • Tablespace and datafile hot backup

    Hello

    I wanted to if there is a command to copy a data file using the sqlplus command. I made a script that backs up the database while its online. I made a script for the alter tablespace begin backup, but I wanted to know how to copy the data files without using the OS command, instead, I wanted to use a sql commands. Is there any script or procedure to do this one.


    Thank you

    Best regards
    Audrey

    Hi you can do it from windows sqlplus

    If you are using windows try this

    alter tablespace users begin backup;
    ocopy I:\USERS01 of the host. DBF C:\hotdump\
    alter tablespace users end backup;

    If you use Linux use suite

    alter tablespace users begin backup;
    ! / u01/oradata/USERS01 cp. DBF/U02/hotdump /.
    alter tablespace users end backup;

  • DataFile of tablespace undotbs mobile at the new location

    Dear gurus

    I plan on spending undotbs datafile to the new location

    Is there a good way to do that, without losing all the data without stopping oracle?

    I can't change the name of the tablespace undotbs as defined in our startup pfile

    I tried searching for a few tuts, but still don't know if he'll lose my data or not

    Thank you

    Hello

    (1) CREATE UNDO TABLESPACE undotbs2 DATAFILE ' /... /... /.. /.. undotbs2.dbf' SIZE 50 M AUTOEXTEND ON NEXT 5 M;
    (2) ALTER SYSTEM SET UNDO_TABLESPACE = UNDOTBS2 SCOPE = BOTH;
    (3) DROP TABLESPACE undotbs including CONTENT AND DATA files; -original undo tablespace
    (4) CREATE UNDO TABLESPACE undotbs DATAFILE ' /... /... /.. /.. undotbs.dbf' SIZE 50 M AUTOEXTEND ON NEXT 5 M; -create undo tablespace name initial
    (5) ALTER SYSTEM SET UNDO_TABLESPACE IS UNDOTBS SCOPE = BOTH;.
    (6) DROP TABLESPACE undotbs2 including CONTENT AND DATA files;

    no lost data

  • Impossible to drop the datafile after a fall of tablespace

    Hi all

    Try to Drop tablespace with Datafile command used is as below

    Drop tablespace tims_db including content and data files;

    It has been performed successfully, but the data file is always... tried to let fall off the BONES, but cannot remove the alert... associates file tracking logs are as below

    __________________________________________________________________________________________________
    C:\oracle\admin\ocprd\udump\ocprd_ora_4236.TRC dump file
    Mon Feb 06 03:40:58 2012
    ORACLE V9.2.0.6.0 - Production vsnsta = 0
    vsnsql = 12 vsnxtr = 3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.6.0 - Production jserver
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586


    Redo thread mounted by this instance: 1

    Oracle process number: 14

    Windows thread ID: 4236, image: ORACLE. EXE


    2012-02-06 03:40:58.562
    SESSION ID: (52.7127) 2012-02-06 03:40:58.500
    ORA-01259: cannot remove the E:\ORACLE\ORADATA\OCPRD\TIMSDB01 data file. DBF
    ORA-27056: skgfrdel: could not delete file
    OSD-04024: cannot delete the file.
    S/O-error: (32 OS) the process cannot access the file because it is being used by another process.
    ______________________________________________________________________________________________

    OS: Windows 2000
    DB: Oracle 9i

    Help, please

    Thank you

    user1687821 wrote:
    As it is an instance of production, we need approval to bounce back

    If you are sure that this file is not necessary - unlock with unlocker and move to a place for a while. Then kill him or kill him immediately.

    Then the database will ask missing datafile to the restart of the database even if it is not listed in dba_data_files...?

    If your fall of tbs succeeded - everything will be fine

  • How to get to keep the tablespaces work after datafile deleted on OS

    Hello

    situation like this:

    1 operating system HP - UX 11i
    2 oracle 9.2 or 10 g
    3. the tablespace AAA have a data file AAA.dbf
    4 AAA.dbf has been removed by a guy on BONES by accident
    5. it is a production database, I have another copy of the product running elsewhere
    6. we cannot forget this tablespace data, just want to make sure that the new data will be always inserted

    I know there is a magical way involving the file descritpor to the recovery of the file to the operating system if it is still open by the process
    seems that it works on linux or solaris, HPUX with / proc

    Here's what I did,
    1. in offline mode, drop the tablespace
    2 export the AAA to another DB without data tablespace but everything else
    3. import in DB without AAA now

    the problem seems to only application could not insert object priveledge not given in the tables,
    I had checked the export file, these SQL object grants are there, I don't know why the import failed

    so my question is
    If it was you,
    1. you have a better idea of how to do to recover
    2. If you anyway dirty and quick recovery of the file box from HP, who also appreciate
    3 can you image why import doesn't seem to get any priveledge? My DB version 9.2.0.4

    Thank you very much

    BR/ricky

    If you have the newspaper archive since the data file created, you can retrieve data from the data file. It is a long long method if the file created long back.

    measures

    take the tablespace and datafile is eliminated

    alter tablespace off-line test;

    create the file that has been deleted.

    ALTER database create datafile ' / disk2/data/test_01.dbf' as ' / disk2/data/test_01.dbf';

    recover tablespace test;

    alter tablespace test online;

  • How this tablespace can increment by 256K when the uniform extent size is 4MB?

    DB version: 11.2.0.4

    Platform: Oracle Linux 6.5

    Test performed in a database RAC 2 nodes

    I created a tablespace with uniform measurement of 4 MB size.

    And later, when I added a data file with INCREMENT of 256K (AUTOEXTEND ON NEXT 256 KB ), I was hoping that it would be a mistake because the size of the measurement itself is 4 MB in size so the INCREMENT_BY should be at least 4 MB in size. But there is no error. No idea why?

    SQL > create tablespace TEST_TS3 datafile '+ DATA_DG' size 25G

    autoextend on

    MaxSize 32767 m

    Local extended management

    single 4 m size

    Auto segment space management;  2 3 4 5 6

    Created tablespace.

    SQL > select BLOCK_SIZE, INITIAL_EXTENT/1024/1024, 1024/1024/NEXT_EXTENT from dba_tablespaces where nom_tablespace = 'TEST_TS3 ';

    BLOCK_SIZE, INITIAL_EXTENT/1024/1024/1024/1024 NEXT_EXTENT

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

    8192                        4                     4

    -Just found out that the default INCREMENT size is 100 MB (at least in 11.2.0.4)

    SQL > select FILE_NAME, BYTES/power (1024,3) BytesInGB, increment_by INCREMENT_BY_BLOCKS, (increment_by * 8192) /power (1024,2) IncrementByInMB

    2 of dba_data_files where nom_tablespace = 'TEST_TS3 ';

    FILE_NAME BYTESINGB INCREMENT_BY_BLOCKS INCREMENTBYINMB

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

    25 12800 100 +DATA_DG/hrcpdas/datafile/test_ts3.413.887991171

    SQL > ALTER TABLESPACE TEST_TS3

    ADD DATAFILE '+ DATA_DG '.

    SIZE 2g

    AUTOEXTEND ON NEXT 256 K

    MAXSIZE 30G;  2 3 4 5 6

    Tablespace altered.

    SQL > select FILE_NAME, BYTES/power (1024,3) BytesInGB, increment_by INCREMENT_BY_BLOCKS, (increment_by * 8192) /power (1024,2) IncrementByInMB

    2 of dba_data_files where nom_tablespace = 'TEST_TS3 ';

    FILE_NAME BYTESINGB INCREMENT_BY_BLOCKS INCREMENTBYINMB

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

    25 12800 100 +DATA_DG/hrcpdas/datafile/test_ts3.413.887991171

    +DATA_DG/hrcpdas/datafile/test_ts3.414.887992467 32 2 .25 -> (which is 256 KB)

    ASM is OMF by default unless you specify a file name.

    Hemant K Collette

  • How to check the value of the space of the tablespaces and tables when errors occur?

    Hi Experts,

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Thanks for your help

    Hello

    Select df.tablespace_name "Tablespace"

    totalusedspace 'Used MB',

    (df.totalspace - tu.totalusedspace) "MB free.

    DF. TotalSpace 'Total MB. "

    round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))

    "PCT free."

    Of

    (select nom_tablespace,

    Round (Sum (bytes) / 1048576) TotalSpace

    from dba_data_files

    Group by tablespace_name) df,.

    (select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)

    from dba_segments

    you group by tablespace_name)

    where df.tablespace_name = tu.tablespace_name

    and df.tablespace_name = "";

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Is to say clearly to the question (you can let us know what you have understood so we can fix)

    [oracle@machine1 ~] $01653 oerr ora

    01653, 00000, "impossible to extend %s.%s table by %s in %s tablespace»

    * Cause: Failed to allocate a certain measure the required number of blocks for

    a segment of the table in the specified tablespace.

    * Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more

    storage of files indicate.

    -Thank you

    Pavan Kumar N

  • EM warns now CanGrow tablespace, there it is. What should do?

    Hallo,

    I try to install Oracle Enterprise Manager Cloud control 12 c inside my VM of Windows Server. The database is running. During installation, I received a few caveats that I solved it so far, except for one:

    Make sure that the undo tablespace has at least a CanGrow value datafile

    So I checked my files to the tablespace:

    select file_name, tablespace_name, autoextensible from dba_data_files;
    C:\APP\CW\ORADATA\ORCL\SYSTEM01.DBF    SYSTEM    YES
    C:\APP\CW\ORADATA\ORCL\SYSAUX01.DBF    SYSAUX    YES
    C:\APP\CW\ORADATA\ORCL\UNDOTBS01.DBF    UNDOTBS1    YES
    C:\APP\CW\ORADATA\ORCL\USERS01.DBF    USERS    YES
    

    After that I just added a new by running:

    create tablespace undotbs_01
      datafile 'C:\APP\CW\ORADATA\ORCL\PDBORCL\undo01.dbf'
      size 100M reuse autoextend on;
    alter system set undo_tablespace = undotbs_01;
    

    I always get the above message.

    I clicked 'next' and started the installation and installation of WebLogic Server stops the installation of EM. It could be related, but I'm not sure. There is another message that there are details in the log files, but it does not say it as the log files...

    Any ideas how to solve these problems?

    You create the wrong UNDO tablespace, the syntax is: create undo tablespace...

    In the directory structure you use, it seems that you try to use a database of 12 c. The last time I checked, which is not supported as a custodian.

    Jim

  • How to import the schema to a designated tablespace file?

    Hi all:

    I had created a tablespace and a temporary tablespace of the files for the shema again, but I don't know if I import the schema for the new tablespace or the default file. How can I check?

    What is the command to modify the tablespace and when I need to change it?

    Thank you.

    SQL > create tablespace temp_demov temporary tempfile ' / u02/BIPLATFORM_DB/temp01.dbf' size 5 m autoextend on;

    create tablespace temporary temp_demov templfile ' / u02/BIPLATFORM_DB/temp01.dbf' size 5 m autoextend on

    SQL > create tablespace TBS1 datafile ' / u02/BIPLATFORM_DB/tbs01.dbf' size 5 m autoextend on

    2;

    Created tablespace.

    [obiee@elysium-d ~] $ sqlplus / as sysdba

    SQL * more: Production of liberation 11.2.0.2.0 kills him Aug 12 14:24 2014

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

    Connected to:

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

    With partitioning, Real Application Clusters, Automatic Storage Management, OLAP,.

    Options of Data Mining and Real Application Testing

    SQL > create or replace directory datapumpdir as ' / tmp';

    Created directory.

    SQL > impdp system/arg0s@rhea directory = datapumpdir = BISAMPLE logifle = BISAMPLE .log .dmp dumpfile

    SP2-0734: unknown command begins «impdp system...» "- rest of line is ignored.

    SQL > impdp system/arg0s@rhea directory = datapumpdir = BISAMPLE logifle = BISAMPLE .log .dmp dumpfile

    SP2-0734: unknown command begins «impdp system...» "- rest of line is ignored.

    SQL >

    [obiee@elysium-d ~] $ impdp system/arg0s@rhea directory = datapumpdir BISAMPLE = dumpfile. Logfile = BISAMPLE .log DMP

    Import: Release 11.2.0.2.0 - Production on Tue 12 August 14:49:38 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    ....

    You can remap tablespace user in impdp command

  • Autoextend Tablespace clause

    Hi DBAs,

    I have a doubt about the Autoextend clause in the create Tablespace command.

    CREATE tablespace exm Datafile ' / exm.dbf' size 400 M AUTOEXTEND ON next 20 M MAXSIZE 2 G;

    If we give over drive it will then autoextend even if it crosses its maxsize specified 2 GB? or he will cease to autoextending and error?

    Kind regards

    Ritu

    Let's see what says the docs:

    ALTER TABLESPACE users ADD DATAFILE '/u02/oracle/rbdb1/users03.dbf' SIZE 10M AUTOEXTEND ON NEXT 512K MAXSIZE 250M;
    

    The value of NEXT is the minimum size of the increments added to the file when it runs. The value of MAXSIZE is the maximum size to which the file can be extended automatically.

    Change the size of the data file

    Thus, AutoExtend which is related to the database only, not with tablespace; will work in the NEXT value up to MAXSIZE clause block.  After that you will get a system error can not extend the tablespace tbsname of N bytes. You can set MAXSIZE to a file that support your operating system.

    Concerning

    Girish Sharma

  • connection to the tablespace Oracle 12 c

    Hello!


    I have a question I hope someone can help me with!

    I just installet oracle 12 c (12.1.0.1.0) developer edition.

    I have problems with connecting to my table space, of a dba_user.


    Here's what I did:


    SID = orcl

    Container = PDBORCL

    1. I created a tablespace to the usual

    create tablespace EQS
    DataFile 'E:\app\Administrator\oradata\orcl\EQS3\eqspid003_data01.dbf '.
    Re-use of 32 m size
    autoextend on
    Local extended management;

    2. I created a local user who is added to the dba_users

    CREATE USER eqsdba
    IDENTIFIED BY dbaeqs
    EQS DEFAULT TABLESPACE

    CONTAINER = CURRENT;

    3. I have given these five privileges to the user

    grant create session to eqsdba;
    grant create table eqsdba;
    grant create sequence to eqsdba;
    grant create trigger to eqsdba;
    grant resources to eqsdba;

    When I logout from SQLPLUS to SYSTEM user and try to connect to eqsdba I get

    sqlplus eqsdba/dbaeqs@orcl

    "ORA-01017: name of user and password invalid; connection refused "(ORA-01017).

    This used to work on 11g (we have it like that in oracle 11g, with the exception of the container) would any help!

    TNSNAMES. ORA looks like this:

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = ORACLE11upgrade)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    )

    )

    LISTENING PORT. ORA looks like this:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = E:\app\oraql\product\12.1.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\oraql\product\12.1.0\dbhome_1\bin\oraclr12.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = ORACLE11upgrade)(PORT = 1521))

    )

    )

    SID = orcl

    Container = PDBORCL

    None of the above makes NO sense at all.

    With Oracle 12 c, you MUST use service names, not MSN.

    "ORCL" is the default container for a default installation. This means that "ORCL" is the ROOT/CBD and NOT a PDB file

    "container" would NOT be appointed PDBORCL - that would be the PDB.

    Nothing of what you posted shows ANY input in tnsnames.ora to the PDB that is likely to be named PDBORCL.

    See my response in this thread for details

    Re: Configuration of an oracle connection 12 c

    This suggests that you are trying to connect to the CDB named ORCL as local user SCOTT. The CBD is NOT a common user named SCOTT. The CDB_USERS view will show you the user of the container. There are a large number of new CDB_ * views

    You must connect to the PDB (probably called PDBORCL) If you want to connect using a local user.

    Run this query to display containers are available. The results below are installation "Vanilla" creating a database with the name default ORCL

Maybe you are looking for

  • problems of load and iOS 9.3.5

    I have recharge my phone during the recent iOS 9.3.5 update and now my phone won't load. I use the charge cord that was provided with the purchase of the phone. I did a hard reboot and tried other cords and other outlets in my house. Nothing works. I

  • Deleting bookmarks

    Well, here is the stupid question of the day... I can't figure out how to remove the sites I bookmarked... everything that I tried to do not cut it... Ugh. TIA-

  • Curiosity to upgrade RAM on Satellite A200

    Hello world I want to improve my computer Toshiba A200 performance and then I decided to buy a Module of Ram 2 Gb memory.To research the results of this forum as well as the report of an application called Everest (I'm sure you know) is DDR2 - 667 MH

  • BlackBerry Smartphones Homepage browser alert message.

    I was laying in bed half awake opening a link in an email and we couldn't open because of the intensity of the signal. I went to close and he asked me if I wanted to save. I clicked Yes on accident and since then I have not been able to get the icon

  • When Vcenter push an agent HA updated?

    If you have a 5.1U1 of cluster and then update vCenter for U2. When a new vmware-fdm vib settle on the esxi host? You have to put a U1 host in maint mode, only the back of the maint mode? You need to disable HA on the cluster, and then turn it back o