More small datafiles or one big datafile for tablespace

Hello,
I would like to create a new tablespace (about 4 GB). Could someone if it's better to create one big datafile or create 4 datafiles with 1 GB each?
Thank you.

It depends. Most of the time, it's going to come down to personal preference.
If you have multiple data files, will you be able to spread them over multiple physical devices? Or do you have a disk subsystem that virtualizes many physical devices and spreads the data files across physical drives (i.e. a SAN)?
How big is the database going to get? You wouldn't want to have a 1 TB database with 1000 1 GB files, that would be a monster to manage. You probably wouldn't want a 250 GB database with a single data file either, because it would take forever to recover the data file from tape if there was a single block corruption.
Is there a data files size that fits comfortably in whatever size mount points you have? If you get 10 GB chunks of SAN at a time, for example, you would probably want data files that were an integer factor of that (i.e. 1, 2, or 5 GB) so that you can add similarly sized data files without wasting space and so that you can move files to a new mountpoint without worrying about whether they'll all fit.
Does your OS support files of an appropriate size? I know Windows had problems a while ago with files > 2 GB (at least when files extended beyond 2 GB).
In the end though, this is one of those things that probably doesn't matter too much within reason.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Many little datafiles or one big datafile?

    Hi all
    I have a database which grows every day. I have 10 datafiles with name users01.db , users02.dbf and etc.
    And all these datafiles have 1.5Gb size. Each time every datafile reachs it's 1.5Gb size, I add new datafile. Is it correct strategy? Or I must add only extents to last datafile and allow it to grow?
    Thanks...

    Hi,
    In my point of view, it is a good approach if "table striping" is used, where data is spread across more than one device. Otherwise, if you have just one disk, then I don't see advantages or disadvantages. In addition, take a look at [url http://forums.oracle.com/forums/thread.jspa?messageID=1041074&#1041074]more small datafiles or one big datafile for tablespace thread.
    Cheers
    Legatti

  • Many small purchases, or one big one?

    Hello, I'm actually really new to the credit world and just got two cards, a Chase Freedom and a Discover IT for Students. I want to get started building my credit and increasing my credit limit. I realize it's a slow process, (and maybe getting two cards at once wasn't the best idea) but I want to make sure I don't needlessly slow down this process.
    My main question is, are many small purchases in a month better than just one big one, or does it even matter?For Example…
    Chase Freedom CL: $1200
    Discover IT CL: $1000I was hoping to use these cards to make payments on my tuition. If every month I only spend a $200 payment from my Discover card, is that better or worse than just buying 20 items at $10 apiece?Again though, the ultimate goal is to increase my CL and CS.

    Great cards to start on. I wish I had gotten two in college. I just graduated and got my second. Like others have said, the amount of charges doesn't matter as long as you keep your overall and individual util at or under 30% which you would be doing at the charges you're describing. if need be, don't shy away from making multiple payments in a month to keep your util low while using the cards as much as you like (responsibly, and within your need/ability of course) while earning the rewards. Enjoy building. You're definitely off to a good start!

  • Why no more clips and just one big .mov file?

    I had been working in iMovie and iDVD 4 for some time up until present when I upgraded to iLife 6. One of the things I like about ver. 4 was that the whole movie was saved as a file but there were also the individual clips saved as well. I could use these clips when creating my iDVD project. Now I see that those clips are gone and there's just one big .mov file to drop into my iDVD themes. Why did they do this??? Is there some benefit to this that I'm not understanding? Maybe I don't have something set correctly in the prefs.? Is there anyway around this so that I have control over what part of a movie gets dropped into my iDVD themes?
    -Daryl

    Thank you so much, Matt. That did the trick. I would've never thought of that. I was beginning to figure that the clips just had to be somewhere else that wasn't obvious to me. I couldn't believe that they would do away with that. Thanks again!
    -Daryl

  • Several small projects under one big project

    Dear Gurus,
    Can several small projects be created under a big project?
    Similar like what we do WBS under the WBS or activities for that matter?

    Hi,
    Yes, You can.  Please go through this link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/40/437f8c2dc111d2a62400104b59c1ec/frameset.htm
    Hope this will help you.
    Regards,

  • Mosaic - A bunch of different small pictures make one big one

    Is there a good software title or plug in for photoshop that will allow me to make a mosaic picture, (the ones where a bunch of smaller pictures fit together to make one large one)?
    I googled it but all I could find was online services that do it online for you over the internet. I would like the actual softwre.
    Any help would be appreciated.
    Paul W.

    I tried it with standard .jpgs from two different sources. My camera and photos from a professional photographers photo shoot so I do not think it is that. The photos I used worked fine with the Mac OSX screensaver mosaic...
    Also, When I selected a small amount of photos it did not complete the image. It looked like nothing but random small pics with a ton of white space around them. When I selected a lot it crashed. Also, it always stops at about 78% complete. I was weary as to how well it would work being free and all.
    That being said, if there is one that works really well (as in as good as the Mac OSX mosaic screensaver) I would buy it. I just cant find it.
    Thanks for the suggestion though
    Paul W.

  • How to combine XDCAM clips into one big file for import?

    Hi, I'm not sure if this is a basic question or just not possible... I'm on location and have to rush edit. I've not worked with xdcam before. Usually I would import all of the media in low-res (one tape at a time), see what I want, then re-import that in high-res.
    In xdcam, when I import, I import EVERY single shot as a separate file. I can set ins and outs and just import what I want, but this is laborious to open and close every shot to see if I want it, then mark ins and outs.
    Isn't it somehow possible to import everything on the xcdcam disk as ONE single file as you would a "tape" so you can quickly screen it, see what you want, then go back to the individual clips on your xdcam disk and import those in high-res? This would be so much faster!
    Many thanks for your help... am in a bind and in a rush!

    Ok thanks... that seems to work. It won't actually work for the way we're editing, but in theory had we synced up our workflow from the start...
    Re. something new... well I hear what you're saying but I have changed formats several times, used 4 different nlediting platforms so far and not complained. This is the only one that seems much harder especially when you're working with different editors in different countries under tight time pressure.
    The brief user guide that I read (and our tutorial instructor at work) told us to import all the little clips and said nothing of combining them... I'm not sure how people could actually work that way and manage dozens of disks' worth of individual shots as files. It would take years to cut an item... and usually we have about 45 minutes to an hour.
    Cheers,
    kim

  • Big datafile vs many datafile

    I'm currently contemplating on how do design my datafiles layout. I'm running ERP6 on AIX 6.1 with Oracle 10g. Total DB size is 1300GB.
    The default is to have 10G of datafiles which will leads to 130 data files which I think too much of a hassle to keep track all of those files.  Is it ok to have datafiles of size 100GB?  what are the pro and cons?

    Hi Mohammad,
    It's basically depend on what Oracle "Blocksize" you are using. If it is 8K, then maximum datafile size can be 32G.
    Again, you should think about backup/recovery and performance issues.
    You also need to check your backup tool limitations about same.
    There can be a OS limitations also for larger datafiles.
    Checkpoint operation may take less time for larger datafiles, as it need to update the headers of few datafiles as compare to large no. of small datafiles.
    Restore time would be same in both case. Because, restoring five 4GB datafiles and one 20GB datafile will take same amount of time.
    It would be better, if you consult with core DBA persom for your doubts.
    Regards.
    Rajesh Narkhede

  • How to join two or more surveys to one big survey?

    Hello Experts,
    how do I join two or more littel surveys to one big survey with one tile and varios sections and subsections?
    Thanks for help.
    Cristina

    As I did not get any answer, I suppose it is not possible, unless you join the coding.

  • Capturing One Big Video File

    I can't seem to find the setting to let me capture one video file in PE7. It seems to create several and all I want is one. Which setting is it?
    Thanks,
    Brian

    I'm with Hunt. I thought if you turned Scene Detection off, it would produce one big file. But I guess I'm assuming you're capturing DV-AVI from tape. If PRE is giving you fits, WinDV is a very nice (and free) capture utility that would produce one, big file for you.
    I haven't yet worked (much) with HDD / flash card source assets, but I believe in that case the source would be in different files, no?
    Just out of curiosity, why do you want one, big file versus several  smaller?

  • More smaller disks or fewer larger ones?

    Hi:
    We're in the middle of procuring disks for a new Oracle server. We plan to stripe disks to randomly distribute I/O load across disk heads. There is some debate on whether or not we should use fewer large disks vs more smaller ones. For example, the datafiles for one schema will consume 432G. In terms of performance, would it be better to stripe 6-72G disks or 12-36G disks? Are there any other pros/cons for one scenario vs the other?
    Thanks in Advance !

    Generally, the more heads you have working the better so more smaller disks would be the way to go. Additionally, with smaller drives, recovery from drive failure would be faster. Of course the major drawback to this approach is that you will need bays for the drives and if you were looking at Server attached storage, you may not have enough drive bays available.
    Another consideration would be the storage technology you are considering; for example, the HP EVA SANs require a minimum of 8 drives for a drive set so in your example you would need a mimimum of 8-72G disks whether you needed the capacity or not.

  • Big Datafile Creation

    Hi all,
    My OS: Windows Server 2003
    Oracle Version: 10.2.0.1.0
    Is there is possibility to add big datafile more than 30G.
    Regards,
    Vikas

    Vikas Kohli wrote:
    Thanks for your help ,
    But if i have a already a tablespace, every time when it is going to fill i need to add datafile of 30g. Is there any possibility that i can specify a big datafile or need to create a new big datafile tablespace and move the tables from olde tablespace to new oneYou have to understand that a bigfile tablespace is a tablespace with a single, but very large datafile.
    have you read the link I posted before?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1010733

  • HOW TO - move a datafile from one disk to another ?

    How can we move a datafile which is part of the big tablespace to another disk.
    We have added new Disk to our server - OS windows 2000 / Oracle 9i - 9.2.0.5
    We want to move a datafile from D drive to F drive.
    Shutdown of the database is possible.
    Thanks
    SS

    I want to do the same thing but i have a BW database (SAP) and i want to move the datafile form one mount poitn to another due to space constraint, but i want to use BR*TOOLS utility to do this, so can anyone help me out on this on how to do this, what are the precaution need to be undertaken.
    Jafar

  • Moving Datafiles from one drive to another

    What is the procedure to move datafiles from one drive to another ?
    Thanks

    Hi,
    What is the Database version ?
    Anyways check this SAP Note 363018 - File management for SQL Server.
    Hope it helps
    Regards
    KT

  • Rebuild ASM Disk - Copying multiple datafiles from one disk to another

    Hi,
    I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
    DB1 -> ASM_DISK1
    DB2 -> ASM_DISK2
    DB3 -> ASM_DISK3
    DB4 -> ASM_DISK4
    I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
    Basically my task is as follows:
    1. Shutdown database.
    2. Copy all data from ASM_DISK1 to ASM_DISK2.
    3. Drop ASM_DISK1.
    4. Re-create ASM_DISK1.
    5. Copy all data back to ASM_DISK1.
    6. Start database.
    Database size is 700GB.
    I am using the below script to copy the files.
    Copy Script
    ================
    asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
    for FILENAME in `cat asm_list.txt`
    do
    asmcmd >> asm_LOG.log <<EOF
    cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
    EOF
    done
    ================
    I will then rename each file in the database like so:
    alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
    My questions are as follows.
    Is this approach a valid solution?
    Will renaming the files during copy corrupt the files?
    When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
    Rgs,
    Rob

    rgilligan_tnf wrote:
    Hi,
    I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
    DB1 -> ASM_DISK1
    DB2 -> ASM_DISK2
    DB3 -> ASM_DISK3
    DB4 -> ASM_DISK4
    I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
    And how do you propose to update the controlfile to point to the new location?
    unless your datafiles are offline and/or the database is down, you will corrupt them and have an unusable database when you finish.
    how were you doing this with RMAN? Depending on the size of your database(700G), it very well could take some time. I have restored databases at a rate of >300G/hr from scratch. You will need to shutdown at some point to relocate the controlfiles and system and redo logfiles.
    Just curious, what is the problem with diskgroup ASM_DISK1 that you want to rebuild it?
    Basically my task is as follows:
    1. Shutdown database.
    2. Copy all data from ASM_DISK1 to ASM_DISK2.
    3. Drop ASM_DISK1.
    4. Re-create ASM_DISK1.
    5. Copy all data back to ASM_DISK1.
    6. Start database.
    Database size is 700GB.
    I am using the below script to copy the files.
    Copy Script
    ================
    asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
    for FILENAME in `cat asm_list.txt`
    do
    asmcmd >> asm_LOG.log <<EOF
    cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
    EOF
    done
    ================
    I will then rename each file in the database like so:
    alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
    My questions are as follows.
    Is this approach a valid solution?
    Will renaming the files during copy corrupt the files?
    When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
    Rgs,
    Rob

Maybe you are looking for