Datafile size more 2G on Oracle 9.2 and Linux 7.3
I have Oracle 9.2 RAC and Linux 7.3.
Do anybody use datafiles with more than 2 G sizes (raw devices)?
Is everything OK?
I created such a datafile 6 G in size. Tried to use it. It seems like
everything OK.
But what about using it in production database?
Igor.
if u use raw devices
no limit
if u use datafile the limit size is 2G
Similar Messages
-
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 -
Oracle on dual boot Linux/Windows
Can you install Oracle on WindowsNT and Linux
and have both work on the same database?
Has anyone tried this?
nullSome years ago I had tried Oracle software under DOS/Win 3.11 and OS/2 to access the same datafiles, it was not supported from Oracle, bit it was OK, because of the same filesystem and same partitions names.
You asked for WIN NT and Linux. I believe it will not be possible to access the same datafiles - even with same FAT filesystem - because - as a simple difference - the pathnames of the tablespaces are stored in the database (see view DBA_DATA_FILES) and FAT and Linux-filesystem use different characters to separate directories ("\" in FAT and "/" in Linux) !
Heinz -
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 advanceThe 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) -
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
SamAman, 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 -
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. -
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 PMI 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 -
Couldn't Upload file with size more than 2K
Hi,
i am developing an webapplication where in i have to upload a file.we are using hibernate for data storing and retrieval.problem comes when i am uploading a file with size more than 2k bytes.if the file size lesser than 2k it works fine.i found that its a bug with thin jdbc driver version 9.but i am using 10g jdbc driver.still problem exists. i am not suppose to use oci drivers.
working on
OS: windows Xp.
Apps :weblogic8.1
DB: oracle 9i
if anyone has solution plz mailme at [email protected]I'm not sure where the issue would be. Are you saying that you are using a 9i driver to access a 10g database? If so, download the newer driver and add it to your WEB-INF/lib directory. Remove the existing driver.
If, on the other hand, you are using a 10g driver for a 9i database, I would not expect problems. However, you could always download the older driver and try it out.
Or am I missing something?
- Saish -
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 -
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
VAMSHIHello,
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 -
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
thanksWithout 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. -
Actual tables size is different than tablespace,datafile size
Hi,
I had created 10 tables with minimum extents of 256M in the same tablespace. The total size was 2560M. After 3 months run, all tables sizes were not increased over 256M. But the datafile size for that tablespace was increased sharply to 20G.
I spent a lot of time on it and could not find anything wrong.
Please help.
Thanks,The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the Oracle Technology Network (OTN) > Products > Database > Database - General forum.
-
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
VkI 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 -
Load and Read XML file size more than 4GB
Hi All
My environment is Oracle 10.2.0.4 on Solaris and I have processes to work with XML file as below detail by PL/SQL
1. I read XML file over HTTP port into XMLTYPE column in table.
2. I read value no.1 from table and extract to insert into another table
On test db, everything is work but I got below error when I use production XML file
ORA-31186: Document contains too many nodes
Current XML size about 100MB but the procedure must support XML file size more than 4GB in the future.
Belows are some part of my code for your info.
1. Read XML by line into variable and insert into table
LOOP
UTL_HTTP.read_text(http_resp, v_resptext, 32767);
DBMS_LOB.writeappend (v_clob, LENGTH(v_resptext), v_resptext);
END LOOP;
INSERT INTO XMLTAB VALUES (XMLTYPE(v_clob));
2. Read cell value from XML column and extract to insert into another table
DECLARE
CURSOR c_xml IS
(SELECT trim(y.cvalue)
FROM XMLTAB xt,
XMLTable('/Table/Rows/Cells/Cell' PASSING xt.XMLDoc
COLUMNS
cvalue
VARCHAR(50)
PATH '/') y;
BEGIN
OPEN c_xml;
FETCH c_xml INTO v_TempValue;
<Generate insert statement into another table>
EXIT WHEN c_xml%NOTFOUND;
CLOSE c_xml;
END
And one more problem is performance issue when XML file is big, first step to load XML content to XMLTYPE column slowly.
Could you please suggest any solution to read large XML file and improve performance?
Thank you in advance.
HikoSee Mark Drake's (Product Manager Oracle XMLDB, Oracle US) response in this old post: ORA-31167: 64k size limit for XML node
The "in a future release" reference, means that this boundary 64K / node issue, was lifted in 11g and onwards...
So first of all, if not only due to performance improvements, I would strongly suggest to upgrade to a database version which is supported by Oracle, see My Oracle Support... In short Oracle 10.2.x was in extended support up to summer 2013, if I am not mistaken and is currently not supported anymore...
If you are able to able to upgrade, please use the much, much more performing XMLType Securefile Binary XML storage option, instead of the XMLType (Basicfile) CLOB storage option.
HTH
Maybe you are looking for
-
I completed a search for this problem here and other forums, and found very useful information, however, I still need help. My laptop is an HP Pavillion dv1000, Intel Centrino, Windows XP, 1.24G of RAM; Camera is a Canon 5D, shooting JPEG only. After
-
My iphone 4 does not show up as a device on itunes
I have the latest itunes and have followed all apple's troubleshooting steps, maybe its another problem, please help.
-
Can we move a keyword from an event to the other ?
Hi everyone, Here's the situation... I'm editing a TV show. Everything have been import and put on a drive. After a week of loggind and editing, we decide to clone the drive so we can give the clone to another editor so he can edit some scenes direct
-
ITunes Freezes when determining gapless playback information
I have a library of about 10,000 songs stored on an external hard drive. I imported them all into iTunes, and then when it tries to determine gapless playback information, it always freezes. First it froze on one particular song that I removed. It we
-
Why is there 2 groups in my contacts on iPhone
Why is there 2 groups in my contacts on iPhone? "All Contacts" & "My Contacts"