Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Temporary files and Quick i/o
No you don't. Just copy the file to the new file and the new file will be created notsparse.
-----Original Message-----
Sent: Friday, May 18, 2001 10:11 AM
To: Multiple recipients of list ORACLE-L
But you need new_file with specific length - let say 500M - how will you do it?
Another way to do it - but may be long - is create normal tablespace (not temporary) with data files you need, then drop tablespace and then create temprary tablespace with reuse of created data files.
Alex Hillman
-----Original Message-----
Sent: Thursday, May 17, 2001 8:36 PM
To: Multiple recipients of list ORACLE-L
After creating the temp file and shutting down the database, you can use on
Solaris cp temp-file new-file and then
cp new-file temp-file.
After that you can convert it to quick-i/o.
Regards,
Waleed
-----Original Message-----
Sent: Thursday, May 17, 2001 8:06 PM
To: Multiple recipients of list ORACLE-L
I noticed this when I was playing with 9i. Regular tablespaces take long time to be created and temporary ones take nothing.
Here is the proof:
$ ls -l temp01.dbf
-rw-rw-r-- 1 oracle dba 209719296 May 17 18:55 temp01.dbf
$ du -k temp01.dbf
40968 temp01.dbf
$ ls -l users01.dbf
-rw-rw-r-- 1 oracle dba 26218496 May 11 20:27 users01.dbf
$ du -k users01.dbf
25608 users01.dbf
Regards,
Waleed
-----Original Message-----
Sent: Thursday, May 17, 2001 7:41 PM
To: Multiple recipients of list ORACLE-L
If you create tablespace like - create temporary tablespace
<tablespace_name> ... <file_name>
created file will be sparse.
Alex Hillman
-----Original Message-----
Sent: Thursday, May 17, 2001 6:30 PM
To: Multiple recipients of list ORACLE-L
Hi Johnson,
I don't believe that tempfiles can be sparse (although I may be wrong) and I
am
confident that datafiles cannot be. Maybe you should log a TAR with Oracle
support to checkout whether tempfile can be sparse and just use datafiles
until
then. Anyway, can you please post the URL to the tip you mentioned. While it
is
the sort of thing I might say, I don't remember actually having said so.
@ Regards, @ Steve Adams @ http://www.ixora.com.au/ @ http://www.christianity.net.au/
-----Original Message-----
Sent: Friday, 18 May 2001 0:05
To: Multiple recipients of list ORACLE-L
Hi,
After reading Steve Adams' tip on making temp files quick io. I posed this question to Veritas as they had told us not do so. The answer they give is the following.
Temporary datafiles should not be converted to quick i/o files. The following is an excerpt from the administrator's Guide: Tablespaces marked TEMPORARY can be sparse, which means that not all blocks in the file are allocated. Quick I/O files cannot be sparse, as Quick I/O provides a raw-type interface to storage. If a sparse file is converted to a Quick I/O file, the Oracle instance can fail if Oracle attempts to write into one of these unallocated blocks.
I would appreciate your thoughts on this?
Johnson Job
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Steve Adams
INET: steve.adams_at_ixora.com.au
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri May 18 2001 - 10:50:57 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message