Having one single tablespace versus multiple tablespace?

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.
Any other input from any one? Please let me know.

Billy  Verreynne  wrote:
EdStevens wrote:
Does the term "keeping all your eggs in one basket" mean anything ....Well, in the majority of cases, even when using multiple tablespaces they will be on the same storage array or same file system. So the "+all eggs in one basket+" goes a lot a deeper down the storage layer than just the top part where you deal with logical tablespace storage containers.
Absolutely. Except for the bazillion microscopic solid-state switches and a layer of rust on a spinning platter, everything else is just layers of abstraction. One's thinking and frame of reference depends on what layer of abstraction one is dealing with.
The major problem with multiple tablespace for a single application And here is where there was some 'fuzz' in the OPs question. I don't recall him specifying one TS per application. Maybe he assumed that, but I read it as one (user) TS per database.
a) deciding the space allocation of each tablespace
b) managing what is created in which tablespace
This comes down do an issue of micro-managing space versus simply chucking everything into a single container and let god ASM/Oracle/LUN/driver/whatever sort them out.
Issues like transportable tablespaces... separating your logical data into different containers... and the like? That is not really sufficient justification to me for having to micro-manage space for a 101 tablespaces. This simply creates a huge workload on the space management part of the database - that is complex and difficult to deal with. Free space from an underutilised (incorrectly sized) tabelspace cannot simply be moved and reallocated to a tablespace stressed for more space. Everything but...
Which is why I prefer having fewer tablespaces as this means not having to micro-manage space and continually having to wave a threatening lead pipe around to make sure that applications and developers play rigidly within the large set of strict rules of how these many tablespaces are to be used.Agreed. One can go way overboard, and a lot of this discussion hinges on the OP's intent, as I mentioned above -- one TS per ... what? My default position is one TS per application schema. Normal human users all default to one USERS ts, but don't have any quota because they don't have any reason to create objects.

Similar Messages

  • One single tablespace for the entire db of 3.3T

    One of the db i am supporting has about 3.3 Terabytes capacity and the application is using only 1 huge tablespace with one big file.
    the system is linux 4 , 32 bit.
    oracle version is 10.2.0.4
    Is there a limit of space for a tablespace when you consider insert/delete/query performance?
    Thanks,
    Chau

    It's really depends on how your storage been setup. Besides the lack of parallel backup ability like other user pointed out. There shouldn't be any other major performance impact solely because of big tablespace. Or bigfile tablespace alone doesn't cause performance problem. It's only a problem if you setup is wrong. For example setup this file on system that doesn't support striping.
    Since you have 3.3 TB size tablespace with one single datafile, that means you must have a big file tablespace which only support one datafile.
    Performance of database opens, checkpoints, and DBWR
    processes should improve if data is stored in bigfile
    tablespaces instead of traditional tablespaces.
    However, increasing the datafile size might increase
    time to restore a corrupted file or create a new
    datafile.That is in the event of media crash, that could be only affect one or two small files in traditional setup, but in your case, you need to restore whole big file.
    Some more information about big file tablespace here,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#ADMIN01102
    and here
    Considerations with Bigfile Tablespaces
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/physical.htm#sthref489

  • Putting ALL my music into one single drive, from multiple drives & machines

    It serves me right, but I have created a wild mess of various instances of iTunes on various machines, with some music purchased and some from ripped CDs.  I also haven't used the ipod much, until only recently, so most of my collections have been bound to my MBP and G5.  My backup procedure is a worst practice method of just cooying stuff from one drive to another and occasionally buying new hard drives.  Now that I have plenty of drive space, the only problem will be logistics.  I'm using Tidy Up to locate duplicate files but that only gets me part of the way there.
    Ideal scenario is locate all the "music" folders from various users in my household and various hard drives and eliminate the duplicate files.  Then I just create one massive music folder, and point iTunes to that folder and all the music will magically be in iTunes.  Something tells me it's not that simple, especially when you have music by artist > album > song in iTunes.  I also have this crazy idea that I'll have that one big drive of music hooked up to my Airport Extreme and I cam listen to it on various machines throughout the house.  (Didn't Apple say I could do this one day??)
    So to summarize:
    Can I just let iTunes do the work of organizing all the music?  Will it also delete duplicates?  (I'm assuming Tidy Up will be the thing for that.)
    Can I hang the drive off my Airport router and access that in that special AirTunes way?
    Hope that makes sense....please go easy.   I'm just an idiot with a lotta hard drives....
    Lee

    I guess I can reply to my own post.  I wanted to add that, although I see a lot of similar posts about organizing with iTunes, I don't see one as complex as my scenario.  Unless I'm missing something. 
    Thanks in advance, O Great Apple Discussion Board People.....

  • One single insert for multiple inserts if the tables in from are same

    Hi all,
    Can I have a single insert for below 3 insert stm.
    declare
    v_z number;
    begin
    v_z :=0.0;
    INSERT INTO rd_carry_new1
    SELECT  s.ssm_id,
         s.ssm_id as adjusted_cusip,
         v_z as rolldown, --= @zero,                     
         v_z as oas, --=@zero,                     
         nvl(srm.carry_rate, 0.0) as carry,
         v_z as finance_rate, --= @zero,                           
         v_z as price_drop, --= @zero,
         sw.heldby_pco_sw,
         v_z as carry_bk1, --= @zero,        -- place holders for interim results
         v_z as carry_bk2, --= @zero,
         'Y              ' AS r_srm_flag,     --r_srm_flag     = "Y              ", /*-- Indicates value from SRM, stale these should not be updated at any point*/
         'Y              ' AS o_srm_flag,     --o_srm_flag     = "Y              ",
         'Y              ' AS c_srm_flag,     --c_srm_flag     = "Y              ",
         'Y              ' AS f_srm_flag,     --f_srm_flag     = "Y              "
         'SRM' AS oas_method                         --,          oas_method='SRM'
    FROM  sec_tab_sdb s,
      sr_measures srm,
      sec_sw sw
    WHERE s.ssm_id = srm.ssm_id
    AND   s.ssm_id = sw.ssm_id;
    insert into rd_finance_new1
    select  s.ssm_id,
         v_z as rolldown,                     
         v_z as oas,                     
         v_z as carry,                        
         nvl(srm.financing_rate,0) as finance_rate,    
         v_z as price_drop,
         sw.heldby_pco_sw,
         v_z as rolldown_bk1,        -- place holders for interim results
         v_z as rolldown_bk2,
         'SRM'  as finance_method, -- audit for financing_rate queries
         'Y              ' as r_srm_flag,    -- Indicates value from SRM, stale these should not be updated at any point
         'Y              ' as o_srm_flag,
         'Y              ' as c_srm_flag,
         'Y              ' as f_srm_flag
    from  sec_tab_sdb s,
      sr_measures srm,
      sec_sw sw
    where s.ssm_id = srm.ssm_id
    and   s.ssm_id = sw.ssm_id;
    insert into  pco_on.rd_rolldown_new1
    select s.ssm_id,
            nvl(srm.rolldown,0) as rolldown,    
            v_z as oas,                     
            v_z as carry,                          
            v_z as finance_rate,                           
            v_z as price_drop,
            sw.heldby_pco_sw,
            v_z as rolldown_bk1,             -- place holders for interim results
            v_z as rolldown_bk2,
            'Y              ' as r_srm_flag,   -- Indicates value from SRM, stale these should not be updated at any point
            'Y              ' as o_srm_flag,     
            'Y              ' as c_srm_flag,     
            'Y              ' as f_srm_flag,     
            'SRM'        as  rolldown_method
    from  sec_tab_sdb s,
      sr_measures srm,
      sec_sw sw
    where s.ssm_id = srm.ssm_id
    and   s.ssm_id = sw.ssm_id;
    end;

    try this please
    INSERT ALL
    INTO RD_CARRY_NEW1 VALUES
        SSM_ID,
        ROLLDOWN,
        OAS,
        carry,
        finance_rate,
        price_drop,
        heldby_pco_sw,
        rolldown_bk1,
        rolldown_bk2,
        r_srm_flag,
        o_srm_flag,
        c_srm_flag,
        F_SRM_FLAG,
        rolldown_method
    INTO RD_FINANCE_NEW1 VALUES
        SSM_ID,
        ROLLDOWN,
        OAS,
        carry,
        finance_rate,
        price_drop,
        heldby_pco_sw,
        rolldown_bk1,
        rolldown_bk2,
        r_srm_flag,
        o_srm_flag,
        c_srm_flag,
        F_SRM_FLAG,
        rolldown_method
    INTO PCO_OWN.RD_ROLLDOWN_NEW1 VALUES
        SSM_ID,
        ROLLDOWN,
        OAS,
        carry,
        finance_rate,
        price_drop,
        heldby_pco_sw,
        rolldown_bk1,
        rolldown_bk2,
        r_srm_flag,
        o_srm_flag,
        c_srm_flag,
        F_SRM_FLAG,
        rolldown_method
    SELECT s.ssm_id,
      NVL(srm.rolldown,0) AS rolldown,
      v_zero              AS oas,
      v_zero              AS carry,
      v_zero              AS finance_rate,
      v_zero              AS price_drop,
      sw.heldby_pco_sw,
      v_zero            AS rolldown_bk1,
      v_zero            AS rolldown_bk2,
      'Y              ' AS r_srm_flag,
      'Y              ' AS o_srm_flag,
      'Y              ' AS c_srm_flag,
      'Y              ' AS f_srm_flag,
      'SRM'             AS rolldown_method
    FROM sec_tab_sdb s,
      sr_measures srm,
      sec_sw sw
    WHERE s.ssm_id = srm.ssm_id
    AND s.ssm_id   = sw.ssm_id;

  • Multiple effects as one single preset?

    This would be incredibly useful- having one preset that contains multiple effects in it. This cannot be done, can it?

    But, you can apply all the effects to a single clip, do a right click Copy/Paste Attributes to kind of achieve the same result. At least within a single project.

  • Performance of update query for single column vs multiple column

    Hi All,
    I could not find any answer for this, does it ever matter in terms of performance updating single column versus multiple column in a single update query.
    For eg. table consisting of 15 columns, what would be the difference in performance when one column is update in the single query against another update query where 15 columns are updated.
    Please do keep in mind my table columns in actually could be around 150+.
    Thanks for any information provided.

    If updated columns aren´t on where clause , then the only impact of 15 columns will be a increase on redo generation, and a possible chainning row.
    So since the redo is one of the things that have a large impact, the answer is yes.
    The performance will be slower.
    Regards
    Helio Dias.
    http://heliodias.com
    OCE SQL, OCP 9i

  • No of Datafiles needed in single tablespace ?

    hi,
    i have one tablespace of size 120gb with 23 datafiles in which first 19 datafiles are size with 2gb each. and rest data files are size with around 28 gb.
    Recently i heard that by keeping more no of datafiles will affect the performance of Database . so my question is what are the advantage and disadvantage of keeping more no of
    datafiles in single tablespace and how can i merge small data files of 2 gb ?
    Regards,
    Mithun Mathew
    Oracle DBA

    After going through couple of links provied by google i made a note on this issue :
    Optimizer does not consider number of data files when selecting execution path. Also as a general rule, you do not deal with I/O performance at tablespace level. You cannot stripe the contents of a tablespace across multiple datafiles. This need to be dealt with at a lower level (like inside Oracle ASM).
    Advantages: (More Datafiles)
    1.By using more than one datafile per tablespace, you can spread data over many different disks to distribute the I/O load and improve performance.
    2.Easy and faster restoration and recovery. The more datafiles for a given amount of data, some recovery scenarios will be faster due to having to restore/recover a smaller file.
    3.Less chances of encountering 2gb
    issue.(http://www.fors.com/velpuri2/Oracle%20block%20structure/2gb)
    4.Having multiple datafiles per tablespace facilitates the adoption of a uniform datafile size policy, which in turn facilitates disk load rebalancing.
    5.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).
    6.If any corruption happens in a datafile, then there is less data loss chances in compare to one or less datafile.
    Disadvantages: (More Datafiles)
    1.We can not have BigFile Tablespace's advantages.
    2.Tough managebility and portability.
    3.Putting tablespace offline will offline all the datafiles, which will stop other applications/of its parts unnecessarily.
    4.More datafiles for DBWR for writting and more files for RMAN to backup.
    5.Many datafiles are opens when we online tablespace; means many file handlers for OS at kernel side.
    6.We have to carefull to create rollback segments because, never create rollback segments using multiple datafiles within a single tablespace.
    7.The more datafiles, the more time required to do checkpoints and such, because every file has to have its header updated.
    8.More entries in data dictionary, control file entries more file structs in SGA vs less or 1.
    Regards
    Girish Sharma

  • Is There a Way to Run a Redo log for a Single Tablespace?

    I'm still fairly new to Oracle. I've been reading up on the architecture and I am getting the hang of it. Actually, I have 2 questions.
    1) My first question is..."Is there a way to run the redo log file...but to specify something so that it only applies to a single tablespace and it's related files?"
    So, in a situation where, for some reason, only a single dbf file has become corrupted, I only have to worry about replaying the log for those transactions that affect the tablespace associated with that file.
    2) Also, I would like to know if there is a query I can run from iSQLPlus that would allow me to view the datafiles that are associated with a tablespace.
    Thanks

    1) My first question is..."Is there a way to run the
    redo log file...but to specify something so that it
    only applies to a single tablespace and it's related
    files?"
    No You can't specify a redolog file to record the transaction entries for a particular tablespace.
    In cas if a file gets corrupted.you need to apply all the archivelogs since the last backup plus the redologs to bring back the DB to consistent state.
    >
    2) Also, I would like to know if there is a query I
    can run from iSQLPlus that would allow me to view the
    datafiles that are associated with a tablespace.Select file_name,tablespace_name from dba_data_files will give you the
    The above will give you the number of datafiles that a tablespace is made of.
    In your case you have created the tablespace iwth one datafile.
    Message was edited by:
    Maran.E

  • Multiple Reports inside one Single Report

    Post Author: maximus85
    CA Forum: Crystal Reports
    Hi....I'm having this problem of having multiple reports inside one single report. Basically what i wanted to built is a Dashboard that contains 4 main subjects:i)Sales   -    Contains graph that can be drill down for further detailsii)Internal Process   -  Contains tables that can be drill downiii)Profit/Lossiv)HRAs far as i know, since all four are of different fact table data, they cannot be all thrown inside one single report to be built on. So i came out with using subreports instead for each components and then finally putting them all together as subreport inside the main report(Dashboard).However, i just realized that by doing that, whenever i clicked on the reports that i wanted to drill down with, it will prompt that particular report that i clicked into a new page, and then from there only i can perform drill down.Is there anyway to enable me to straight away drill down the Sales and Internal Process reports from the main reports(Dashboard) instead of having to click twice as that will be unnecessary right?Or mayb if there's another better ways to do what I have to do? Please do advise and suggest......Thanks alot.......

    hi chack,
    doesnt matter or preferrably both, as long as i can export all the reports in 1 page into 1 excel, or 1 pdf.

  • Concatenate multiple pdf files into one single file

    hi,
    Could any one help me with a code "combining or merging multiple pdf files selected from the browser into one single document" to send it as one single request to the printer?
    Thanks ,

    It is called the Big Faceless PDF library.
    they have a free trial download.
    in regards to doing it yourself, of course.
    but this is a pure java library that can do what you want without you having to re-invent the wheel (for a price of course).
    they have excellent technical support as well, usually solving your problem within a day or so.

  • Multiple payment advises in one single pymnt document

    Hi gurus,
    we are having payment advises getting generated through IDOCs, there will be many payment advises for one single customer, so we thought of including multiple payment advises while choosing open item, but system is allowing only one payment advise.
    can we go for multiple payment advises
    or
    we tried to modify the g/l fast entry screen, but in that we did not find the payment advise field.
    Thanks in advance.

    hello Babu,
                     now i got the same problem like you.......... you find the solution for  tht.....
    if you know the solution plz help me
    bye laxmi

  • Clubbing of datafiles in a single tablespace

    hi,
    i have 4 datafiles each of 2gb in size in a single tablespace.. i would like to know is it possible to club these four datafiles in to a single datafile..and is there any limitation for the maximumsize for the datafile in 32bit version..
    thanks in advance
    nsr

    Hi
    To put all your data into one data file you will have to create a new tablespace with one 8 GB data file and move all your data to the new tablespace.
    The maximum size of your data files depends on the block size of the data file and the type of tablespace you create. In 10g you can create a big file tablespace with 1 data file with no size limit. For a normal small file tablespace with an 8K block size the limit is 32 GB per file. For a 16K tablespace, the limit is 64 GB per file. The amount of files in your tablespace is only limited by the MAXFILES value that is specified when you create the database and that is stored in your control files. To change the value of MAXFILES you have to recreate your control files.

  • Move single tablespace

    Running Oracle 10gR2 on RHEL 4
    Just wondering if someone can give me some insight on how to move a single tablespace from PROD to TEST. We use Noetix and would like to move the Noetix tablespace from our production (PROD) environment to our test (TEST) environment. Would this be best achieved with RMAN? Datapump? Typically I refresh the entire database, but I've never moved a single tablespace from one environment to the other so this is all new to me.
    Thanks!
    Edited by: user496996 on Apr 18, 2011 9:25 AM

    You can use transporting tablespace feature
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1007169

  • How can multiple users use the same Creative Cloud Individual on one single-machine?

    We have one shared graphics workstation, which is infrequently in use by different people - therefore we bought a single-workstation license (which we were referred to "Creative Cloud Individual"). In the FAQs it says it installs locally, but whenever a user different from the installing adminstrator logs in, he is forced to use the trial.
    Is there a way to make the local installation usable on that single machine for multiple users?
    Thanks in advance for your reply

    Serenatasystems do the other users not have administrator access?  What happens if they sign in using the Adobe ID tied to your Creative Cloud subscription?  Do your Adobe Creative applications then exit trial mode?

  • HT201084 My family shares one Apple ID on multiple devices.  How do I switch everyone over to their own Apple ID without having to erase their iphones and ipads?

    My family currently shares one Apple ID on multiple devices and has for quite awhile.  How do I switch everyone over to their own Apple ID and the Family Sharing without having to erase their iphones and ipads?

    Thank you again for your time, GB.
    I set up individual Apple ID's for my children so that they could have their own Apple ID on their individual iPad minis (gifts from grandparents last year).  When I go to iCloud under Settings, I see my Apple ID listed at the top, then my children's listed under Family Sharing.  So the device is still using my Apple ID for iCloud, iTunes, etc., correct?
    To "assign" their own Apple ID to their own iPad mini, I would need to "Sign Out" from my Apple ID.  When I attempt to do so, I receive a warning that all of the Documents and Data will be lost/deleted. 
    So, instead of doing this, I figured out that I could do what you suggested.  Signing in using a child's Apple ID will allow her/him to use Game Center, FaceTime, and Messages just fine.  However, using their Apple ID for iTunes & App Store proved to be a problem:  Purchased Music and Movies appeared in iTunes, but my Purchased Apps did not appear.  Some Apps even disappeared, e.g. Proloquo4Text (a $99 app to help my son speak with his iPad).
    So I reverted to using my Apple ID for iTunes & App Store, and I get everything that I want, EXCEPT for the iCloud storage for each Apple ID.
    So that's when I started wondering how Family Sharing was really benefiting me ~ It was a lot of work (deleting apps to allow space to download iOS 8, etc) without any benefit that I can see.  UNLESS I find a means to allow me to sign in each iPad's iCloud account with a different AppleID, then perhaps restore the Documents and Data from a backup?  Would that work?
    Thanks.

Maybe you are looking for

  • Image capture not working in lion

    Well! After 10 years or so of OS X my Kodak DC 5000 no longer works in image capture after upgrading to OS X Lion. After connecting the camera and trying to import images, Image Capture says "no device connected". Went to the loca shop and using the

  • HT201209 How can I use app which I have received as gift.

    I have gifted a friend a application. But he has still not received any message or link regarding it. How can he receive and use tht app.

  • Table data in Indesign - XML, Excel or other?

    Hi We are setting up a document that will include a lot of tables for a range of different products. The last 2 columns in the tables are for prices and delivery. We need to be able to increase the prices in the Indesign tables easily as and when we

  • Open OpenOffice with java on Mac OSX 10.4

    Hi, i've got a java application who opens openoffice and runs a macro in openoffice. My application works on MS Windows and on linux distributions. When i try to run this application on a mac. the applications fails. the error appears on the first li

  • Mouse Motion Listener

    How can i detect when the mose moves when the mouse is not located on the Frame? Here is my mouse motion listener private class EventHandler implements AWTEventListener {           private JPanel myPanel;           public EventHandler(JPanel thepanel