Home » RDBMS Server » Server Administration » Single big tablespace versus multiple tablespace (oracle11g)
Single big tablespace versus multiple tablespace [message #490714] Wed, 26 January 2011 22:47 Go to next message
shrinika
Messages: 306
Registered: April 2008
Senior Member
My database version is

Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE    11.1.0.7.0      Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production


My os version is

Linux damdat01 2.6.18-128.7.1.el5 #1 SMP Wed 
Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 
GNU/Linux


My database is OLP system.

My question is what are the advantages and disadvantages
having one single tablespace versus multiple tablespace?


Easy to maintain when you have single tablespace.
but hard to track the IO issues if you have
one single tablespace.


Any other input from any one? Please let me know.

[Updated on: Wed, 26 January 2011 22:49]

Report message to a moderator

Re: Single big tablespace versus multiple tablespace [message #490715 is a reply to message #490714] Wed, 26 January 2011 22:56 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Neither OS nor Oracle RDBMS care or perform differently based strictly on the number of tablespaces .

Which would you rather eat a pizza cut into 4, 6 or 8 pieces?
Since I am not very hungry & I doubt I could eat 8 pieces, so I'd prefer only 4 pieces.
Re: Single big tablespace versus multiple tablespace [message #490719 is a reply to message #490715] Wed, 26 January 2011 23:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Neat analogy! /forum/fa/2115/0/

Regards
Michel
Re: Single big tablespace versus multiple tablespace [message #490746 is a reply to message #490715] Thu, 27 January 2011 03:21 Go to previous messageGo to next message
hkchital
Messages: 128
Registered: September 2008
Location: Singapore
Senior Member
Poor analogy.
The size of the pizza (the database) is the same.
So 4 pieces together are as big as 8 pieces together.


Hemant
Re: Single big tablespace versus multiple tablespace [message #490747 is a reply to message #490746] Thu, 27 January 2011 03:23 Go to previous messageGo to next message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
That's the point Smile
Re: Single big tablespace versus multiple tablespace [message #490774 is a reply to message #490714] Thu, 27 January 2011 05:07 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Has nothing to do with I/O.
Just provides some flexibility.
You can backup individual tablespaces, export tables in specific tablespaces and all.
By meaning a single large tablespace are you implying single large data file too? That could be a different story.
In previous versions, RMAN cannot do a multisection backup, which was little inconvenient.

[Updated on: Fri, 28 January 2011 13:59]

Report message to a moderator

Re: Single big tablespace versus multiple tablespace [message #491061 is a reply to message #490774] Fri, 28 January 2011 13:58 Go to previous messageGo to next message
shrinika
Messages: 306
Registered: April 2008
Senior Member
Thanks Mahesh!!. Your input helps. Between i am talking about single tablespace with multiple data files.
Re: Single big tablespace versus multiple tablespace [message #492316 is a reply to message #491061] Sat, 29 January 2011 06:03 Go to previous message
John Watson
Messages: 8960
Registered: January 2010
Location: Global Village
Senior Member
You might want to think about transportable tablespaces (will you ever need to copy a limited set of objects from one database to another?) and read only tablespaces (can you isolate a set of objects that will not be updated from the others?) and mirroring with RAID or ASM (would you want different levels of protection for different tablespaces?) and transparent tablespace encryption (can you group objects that must be encrypted together?)

One huge tablespace? Not many options there.
Previous Topic: What happens when UNDO space is full? Transaction takes more time to ERROR?
Next Topic: Help me with this error when DBCA ORA-02236: invalid file name
Goto Forum:
  


Current Time: Sun Dec 01 13:16:14 CST 2024