Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: having multiple datafiles per tablespace vs. one datafile per

RE: having multiple datafiles per tablespace vs. one datafile per

From: Diana Duncan <Diana_at_fileFRENZY.com>
Date: Fri, 15 Sep 2000 15:03:51 -0400
Message-Id: <10620.117163@fatcity.com>


Steve (and others),

Is there a recommendation for the maximum number of datafiles that make sense for a database? We are expecting over 4000 (each account gets their own data and index tablespaces, each with one datafile apiece -- believe me, there are reasons for this), and that number may go higher. I'm starting to get concerned about the number, but I don't know if my concern is justified, or if I'm just paranoid.

Thanks for any input,
Diana

-----Original Message-----
From: Steve Adams [mailto:steve.adams_at_ixora.com.au] Sent: Friday, September 15, 2000 10:31 AM To: Multiple recipients of list ORACLE-L Subject: RE: having multiple datafiles per tablespace vs. one datafile per tablespace

Hi Babu,

The potential drawbacks of having multiple datafiles are trivial compared to the
potential benefits.

On most platforms when you issue a CREATE TABLESPACE command with multiple datafiles, those datafiles will be "zeroed" in parallel by slave threads. Even
on platforms that do not support this, you can do multiple ALTER TABLESPACE ADD
DATAFILE commands in parallel. Therefore multiple datafiles can make tablespace
creation much faster.

For file system based databases, having multiple datafiles may reduce the risk
of contention for the operating system's datafile read/write locks (inode locks).

Having multiple datafiles per tablespace facilitates the adoption of a uniform
datafile size policy, which in turn facilitates disk load rebalancing.

Finally, I answered a related question on Ixora Answers a few weeks ago, and you
may find that answer relevant. Look for the answer headed "Is AUTOEXTEND OK?" at
http://www.ixora.com.au/q+a/0008/30150113.htm.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/

@

@ Going to OpenWorld?
@ Catch the Ixora performance tuning seminar too!
@ See http://www.ixora.com.au/seminars/ for details.

-----Original Message-----
[mailto:babu.nagarajan_at_iflexsolutions.com] Sent: Friday, 15 September 2000 22:20
To: ORACLE-L_at_fatcity.com; oracledba_at_lazydba.com tablespace

Hi

Could any one point out the advantages/disadvantages of having multiple datafiles for a tablespace as against having one datafile per tablespace?

-- 
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 Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: 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
Received on Fri Sep 15 2000 - 14:03:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US