Max Datafile Size Oracle 9i

Hi There,
We have multiple tablespaces in our database and the recently we got a message that the size of a particular tables has reached 97% and it needs to be increased.
Now currently the size of that tablespace is 29GB and before increasing the size of this tablespace we would like to know if there is a limitation for an Oracle data file size or are there any performance issues or implications that we may potentially face with a single data file of 30GB in size.
This is the biggest tablespace in our system other tablespaces are max 12 or 17 GB.
I am not a DBA just working in the support role as a developer. Could you please provide some insight on above query.
Many thanks in advance.
Regards
Sam

Aman, Please go through below MOS notes.
Oracle9i Database Limits [ID 217143.1]
Database file size
+ Maximum
Operating system dependent. Limited by maximum operating system file size;
typically 222 or 4M blocks
What is The Maximum Datafile Size Limit In Oracle Database 10gR2 [ID 804733.1]
Maximum number of Database blocks allowed in a single datafile in 10gR2 are as follows:
Small File Tablespace (Normal Tablespace) : 4194303 (2^22 -1)
Big File Tablespace (New in 10gR2) : 4294967295 (2^32 -1)
Max datafile size for SMALL FILE NORMAL TABLESPACE would be:
Database Block Size     Maximum Datafile File Size
2k     4194303 * 2k = 8 GB
4k     4194303 * 4k = 16 GB
8k     4194303 * 8k = 32 GB
16k     4194303 * 16k = 64 GB
32k     4194303 * 32k = 128 GB
Max datafile size for BIG FILE TABLESPACE would be:
Database Block Size     Maximum Datafile Size
2k     4294967295 * 2k = 8 TB
4k     4294967295 * 4k = 16 TB
8k     4294967295 * 8k = 32 TB
16k     4294967295 * 16k = 64 TB
32k     4294967295 * 32k = 128 TB

Similar Messages

  • Max datafiles size

    hi there,
    i want to know how much is the maximum size of a datafile?
    I'm using oracle 8.1.7.4 on aix 4.3.3
    db_block_size=8192
    i have a datafile of 2GB and i need to expand it.
    I was wondering if the maximum datafile size is 2 gb, so i do not need to increase this but create e new one
    thanks

    Without any reference at hand, the AIX (4.3.3, JFS) limits as I can recall
    File size: 2GB
    File size if large files enabled: near 64GB
    File system size: 64GB with std fragment size.
    Also observe the ulimit of the user who is using the file system.

  • Max datafile size limit?

    Hi,
    Is there any maximum datafile size limit? May I resize my datafiles to, let's say, more than 4GB size?
    (OS: RHEL4 32bit, DB: 10.2.0.3)
    Thanks!

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits002.htm#i287915
    <quote>
    Database file size      Maximum      Operating system dependent. Limited by maximum operating system file size; typically 2^22 or 4 MB blocks
    <quote>
    So give it a try.

  • What would be the maximum datafile size that can support sql*loader

    Hi,
    I would like to load datafile from xls file which nearly 5 gb into oracle table by using sql*loader. Could you please tell me how much is max datafile size we can load by using sql*loader?
    Thanks
    VAMSHI

    Hello,
    The Size limit is mainly given by the OS. So you should care about what the OS could support as SQL*Loader files are unlimited on *64 Bit* but limited to *2GB* in *32 Bit* OS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10839/appg_db_lmts.htm#UNXAR382
    Else, you should be able to load these data into the Table. So you must check that you have enough place inside the Tablespace and/or the Disk (if the Tablespace has to be extended).
    Please find enclosed a link about SQL*Loader and scroll down to Limits / Defaults:
    http://www.ordba.net/Tutorials/OracleUtilities~SQLLoader.htm
    Hope this help.
    Best regards,
    Jean-Valentin

  • Increase the Oracle datafile size or add another datafile

    Someone please explain,
    Is it better to increase the Oracle datafile size or add another datafile to increase the Oracle tablespace size?
    Thanks in advance

    The decision must also includes:
    - the max size of a file in your OS and/or file system
    - how you perform your backup and recovery (eg:do you need to change the file list)
    - how many disks are available and how they are presented to the OS (raw, LVM, striped, ASM, etc.)
    - how many IO channels are available and whether you can balance IO across them
    Personal default is to grow a file to the largest size permitted by OS unless there is a compelling reason otherwise. That fits nicely with the concept of BIGFILE tablespaces (which have their own issues, especially in backup/recovery)

  • Appropriate size for Autoextending datafile in oracle 10g

    Hi,
    I am using Oracle 10g 10.2.0.3.0 on linux 64 bit with 16GB RAM, one thing i want to find out that i have my schema datafile, which set on autoextend, i have set next size to 100mb, if the file reaches to its full does it make us wait for long to create a place of 100mb or should i reduce the size from 100mb to 10mb.
    What should be the appropriate Next size in Autoextend for oracle database in my case, if there is a performance problem like login delay in schema due to increasing in size of datafile then how do i find out because i do not have database diagnostic tools.
    Because today there was a delay in login to the schema and EM was showing wait, but i could not find out that why the wait was there, when i check the datafile size it was 1203 MB , i thought it may be due to the extension of data file but how do i confirm this thing.
    In the table DBA_ADVISOR_FINDINGS it is giving following problem
    Problem PL/SQL execution consumed significant database time.
    Symptom Wait class "Network" was consuming significant database time.
    Problem Wait event "TCP Socket (KGAS)" in wait class "Network" was consuming significant database time.

    Slow connect is not related with datafile extension.
    Regarding Wait event "TCP Socket (KGAS)"
    Please read Metalink note 416451.1
    How fast is tnsping to database, ping to database server?

  • MAX DATA SIZE IN ORACLE APPLICATION

    WHAT IS MAX DATA SIZE DOES AN ORACLE APPLICATION CAN HANDLE I.E MAX TABLE SIZE

    Oracle Application can easily fill that.
    And can you hit the "Caps Lock" on your keyboard once more to turn it off.
    Daljit Singh

  • Best Oracle datafile size for a SAP ECC6 database.

    Hello,
    We plan to migrate our ECC6 SAP database on a new Windows X64 plateforme running with :
    - Windows 2008 R2
    - Oracle 10.2.0.5.
    The actual Oracle database size is more 2 Tbytes.
    Please could help me to find the best size for the Oracle datafile in this new plateform ?
    Today we create Oracle Tablespace for SAP with 8 GBytes datafiles but we have too many datafiles to managed.
    Do you have experimented 16 GBytes, 32 GBytes, 64 Gbytes datafiles for Oracle Tablespaces on this kind of SAP Plateform ?
    Thank you very much for your reply.
    Best regards.
    Jean-Pascal.

    Hello Jean-Pascal,
    well the answer as usual - it depends )
    We already discussed that topic some time ago - please check this thread:
    big file or small file
    Your storage sub system and stripping matters of course too.
    Regrds
    Stefan

  • How to shrink the system tablespace datafile Size

    iam using oracle 9i R2 and i want to reduce my datafile size but it's show's that error when i try to resize it. ORA-03297

    Hi,
    We can directly resize datafilesTEST.SQL>SELECT FILE_NAME, BYTES FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='SYSTEM';
    FILE_NAME
         BYTES
    /.../dbsGNX.dbf
    419430400
    TEST.SQL>ALTER DATABASE DATAFILE '/.../dbsGNX.dbf' RESIZE 390M;
    Database altered.
    TEST.SQL>SELECT FILE_NAME, BYTES FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='SYSTEM';
    FILE_NAME
         BYTES
    /.../dbsGNX.dbf
    408944640But the minimum file size is the size of the extend the furthest in the datafile:TEST.SQL>SELECT FILE_ID,FILE_NAME FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='SYSTEM';
       FILE_ID
    FILE_NAME
             1
    /.../dbsGNX.dbf
    TEST.SQL>SELECT MAX(BLOCK_ID) MBID FROM DBA_EXTENTS WHERE FILE_ID=1;
          MBID
         25129
    TEST.SQL>SELECT SEGMENT_NAME,OWNER,SEGMENT_TYPE FROM DBA_EXTENTS WHERE FILE_ID=1 AND BLOCK_ID=25129;
    SEGMENT_NAME                                                                      OWNER                          SEGMENT_TYPE
    I_OBJAUTH2                                                                        SYS                            INDEX
    TEST.SQL>SHOW PARAMETER BLOCK_SIZE
    NAME                                 TYPE                             VALUE
    db_block_size                        integer                          8192
    TEST.SQL>SELECT 8192*25129 FROM DUAL;
    8192*25129
    205856768about 200M.
    Regards,
    Yoann.

  • Recommend datafile size on Linux

    Hi
    Can anyone suggest in general what is the max recommended datafile size for Oracle database (8i,9i, 10g) on linux platforms.
    datafiles are placed located on local server and i dont prefer keeping the autoextend on for Prod databases.
    I heard that 4G is the best max size, after which we keep on adding datafiles as required.
    Is that true?
    Please suggest.
    Thanks
    Vk

    I heard that 4G is the best max size, after which we keep on adding datafiles as required.
    Is that true?well this is a myth, send it to mythbuster to get it bustered.
    According to Oracle Document,
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/limits002.htm#sthref4183
    Database file size Maximum
    Operating system dependent.
    Limited by maximum operating system file size; typically 2^22 or 4 million blocks
    If your block size is 8k, that's 32G

  • Datafile size minor than 4 Gb: is this a bug?

    Hi all! I have a tablespace made up by 1 datafile (size = 4 Gb). Oracle 9.2.0.4.0 (on Win2k server) seems incapable of managing this; in fact, I receive ora-04031: unable to allocate 8192 bytes of shared memory but the memory of Oracle is configured correctly. Resizing this tablespace and adding a new datafile so that every datafile is 2 Gb large, I don't receive the error any longer. what do you think about this?
    Bye. Ste.

    Hello everybody;
    The Buffer Cache Advisory feature enables and disables statistics gathering for predicting behavior with different cache sizes. The information provided by these statistics can help you size the Database Buffer Cache optimally for a given workload. The Buffer Cache Advisory information is collected and displayed through the V$DB_CACHE_ADVICE view.
    The Buffer Cache Advisory is enabled via the DB_CACHE_ADVICE initialization parameter. It is a dynamic parameter, and can be altered using ALTER SYSTEM. Three values (OFF, ON, READY) are available.
    DB_CACHE_ADVICE Parameter Values
    OFF: Advisory is turned off and the memory for the advisory is not allocated.
    ON: Advisory is turned on and both cpu and memory overhead is incurred.
    Attempting to set the parameter to the ON state when it is in the OFF state may lead to the following error: ORA-4031 Inability to allocate from the Shared Pool when the parameter is switched to ON. If the parameter is in a READY state it can be set to ON without error because the memory is already allocated.
    READY: Advisory is turned off but the memory for the advisory remains allocated. Allocating the memory before the advisory is actually turned on will avoid the risk of ORA-4031. If the parameter is switched to this state from OFF, it is possible that an ORA-4031 will be raised.
    Make sure too that you dont need to use RMAN program to make backup...baceuse the large pool is used to this too.
    Regards to everybody
    Nando

  • Resizing datafiles in oracle 10g

    Hi,
    My total datafile size was showing around 100g (physical file size).
    But when actually query dba_segments to see how much tables and indexes are occupying it is coming around max of 30g.
    So how can i reclaim the remaining datafile size.
    As i know the files were extended and i have used some queries but i was unable to reclaim the space.
    Can any one hep me.

    Thanks for all ur suggestions.
    I am using a query to resize
    SELECT
    '/* '||to_char(CEIL((f.blocks-e.hwm)*(f.bytes/f.blocks)/1024/1024),99999999)||' M */ ' ||
    'alter database datafile '''||file_name||''' resize '||CEIL(e.hwm*(f.bytes/f.blocks)/1024/1024)||'M;' SQL
    FROM
    DBA_DATA_FILES f,
    SYS.TS$ t,
    (SELECT ktfbuefno relative_fno,ktfbuesegtsn ts#,
    MAX(ktfbuebno+ktfbueblks) hwm FROM sys.x$ktfbue GROUP BY ktfbuefno,ktfbuesegtsn) e
    WHERE
    f.relative_fno=e.relative_fno and t.name=f.tablespace_name and t.ts#=e.ts#
    and f.blocks-e.hwm > 1000
    ORDER BY f.blocks-e.hwm DESCBut even i resize it more than the given space it will throw an error saying
    ORA-03297: file contains used data beyond requested RESIZE value
    I think the file was extended with lot of free blocks in the middle ,how can make my file size to my actual table size+index size.
    Can anyone help me.

  • Maximum datafile size for sqlloader

    Hi,
    I would like to load data from 4GB xls file into oracle database by using sql*loader. Could you please tell me the maximum datafile size that can support sql*loader?
    Thanks
    Venkat
    Edited by: user12052260 on Jul 2, 2011 6:11 PM

    I would like to load data from 4GB xls file into oracle database by using sql*loader. Could you please tell me the maximum datafile size that can support sql*loader?you can post this question in SQL loader forum questions. CLose the thread here.
    Export/Import/SQL Loader & External Tables

  • Setting max heap in Oracle JVM

    Hello -
    I'm having a problem with a Java stored procedure running out of heap memory in Oracle 10g running Java 1.4.
    Normally (running Java in a standard context) I would just modify the -Xmx with a higher value, but for the life of me I can't figure out how to do it in a stored procedure context.
    I have browsed Google and I have browsed the Oracle JVM installation stuff, all to no avail.
    Can anyone help me with how to set my max heap size, or verify that it's impossible? I have taken all of the standard Oracle memory parameters (JAVA_POOL, UGA/PGA/SGA limits) out of the picture by jacking them up and keeping an eye on memory values up to the point that the procedure fails (at ~700m), so I'm pretty sure that this is my problem.
    So far I have looked at:
    Config files
    Config tables
    DB parameters
    I haven't been able to find anything remotely related to JVM option configuration in any of the above.
    It is worth noting that I ran across another forum where someone was wanting to set their minimum heap size, and they were told that it was not possible. I'm just having trouble believing that it's the same story with something as critical as max heap size.
    Much obliged for any help.
    Thanks,
    Annaka

    From Metalink Note 466112.1:
    Applies to:
    Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.3
    This problem can occur on any platform.
    Symptoms
    When attempting to execute a java class that works fine in a stand alone JVM, fails with Oracle JVM with the following error:
    ERROR
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.OutOfMemoryError
    ORA-06512: at "IDS_SYS.POD", line 3
    Cause
    The MaxMemorySize was set 256M (the default values) where the JSO needs memory more than 256 MB to run.
    This can be checked as following:
    SQL> create or replace function getMaxMemorySize return number
    2 is language java name
    3 'oracle.aurora.vm.OracleRuntime.getMaxMemorySize() returns long';
    4 /
    Function created.
    SQL> select getMaxMemorySize from dual;
    GETMAXMEMORYSIZE
    268435456
    After increasing the MaxMemorySize to a larger value(1 GB), the problem was fixed
    Solution
    Please increase the MaxMemorySize to a larger values(i.e. 1GB), this can be done as following:
    SQL> create or replace function setMaxMemorySize(num number) return number
    2 is language java name
    3 'oracle.aurora.vm.OracleRuntime.setMaxMemorySize(long) returns long';
    4 /
    Function created.
    SQL> select setMaxMemorySize(1024*1024*1024) from dual;
    SETMAXMEMORYSIZE(1024*1024*1024)
    Then you can check if the value is set correctly using the following:
    SQL> select getMaxMemorySize from dual;
    GETMAXMEMORYSIZE
    1073741824
    In my case I had to set the parameter within a job's the session.
    bye
    TPD
    Edited by: TPD on Sep 23, 2008 4:27 PM - tags added

  • Can we decrease the datafile size in 8.1.7.4

    Hello All-
    I have created a sample db with table space with datafile size of 2 GB. I may be needing hundreds of mb only.It is eating up the space on unix box server.
    Is there any way I can decrease the size of the datafile attached to the tablespace in Oracle 8.1.7.4.
    Any help would be appreciated.
    Thanks
    Vidya R.

    Yes you surelly can
    SQL> ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf'
    RESIZE 100M;
    Cheers !!
    Jagjit

Maybe you are looking for