Datafile and size

I have potentially 400 GB of data to store. There are two options I can think of:
1) use multiple small datafiles;
create tablespace TEST
datafile '/oradata/test.dbf' size 2048M
extent management local
2) use single bigfile tablespace.
PRO for 1) is easy to backup and recovery; CON is too many files. For the size of 400 GB, I need about 200 datafiles with 2 GB each (?)
PRO for 2) is only one datafile to use; CON is the size will be very big. It will make it difficult to backup and recovery.
Would you please offer some suggestions or opinion?
Thanks
Scott

I understand that with the default 8K blocksize, I can have a datafile as big as 32 G. For the small tablespace with multiple datafiles option, should I keep the size < 2G or < 32G?Little correction required.
The maximum size of the single datafile or tempfile is 128 terabytes (TB) for a tablespace with 32K blocks and 32TB for a tablespace with 8K blocks.
http://docs.oracle.com/cd/B19306_01/server.102/b14237/limits002.htm#sthref2833
As Mark above and Tom (in the same link) are saying "but over time, things change. Today in 2006, I would not have any problem with a file larger than 2gig - the tools have all caught up to the fact that files can and do get larger."
So, just start with smallfile tablespace and add the datafiles as and when needed. And one more thing, there is no relationship of big/small file tablespace in view of performance, because tablespace is a logical term of Oracle database. I/Os are related with datafile and OS not with tablespace.
If someone is searching for I/O tuning then I think he/she is doing a scientific approach to the problem rather than searching for performance vs tablespace issues. I am not finding a link where Sir Thomas kyte has said that the same something like this, even docs are wrong on this issue.
Regards
Girish Sharma

Similar Messages

  • Finding the size of db and size of used space

    Greetings all good people.
    Can you please help me find out about 2 database information?
    One, I want to find out the size of a database =size of physical files.
    and the size of data which is the size occupied in physical files.
    We are about to start a new project and there is a table on the database but it is empty.
    We want to be exporting data into this table but we want to make sure that there is enough space on the db before we start populating the table with data.
    I believe the code below just gives me the size of the database.
    select (bytes/1024/1024) as total_gigs from dba_segments where owner='BELL' and segment_name='$TABLE_NAME
    But I want to know the total size of the database and how much size has been used already, much the same as you would want to know the size capacity of a hard drive and how much of the size has been used.
    Sorry if my request is confusing.
    Thanks a lot in advance

    db size can be found out
    select sum(bytes)/1024/1024/1024 from dba_data_files ;
    and size of data is -- in the datafiles
    select sum(bytes)/1024/1024/1024 from dba_segemnts ;
    You can find out by below query .. the tablespace sizes -- would be DBSIZE
    used space -- would be the actual occupied space.
    select t.tablespace, t.totalspace as " Totalspace(MB)",
    round((t.totalspace-nvl(fs.freespace,0)),2) as "Used Space(MB)",
    nvl(fs.freespace,0) as "Freespace(MB)"
    from
    (select round(sum(d.bytes)/(1024*1024)) as totalspace,d.tablespace_name tablespace
    from dba_data_files d
    group by d.tablespace_name) t, (select round(sum(f.bytes)/(1024*1024)) as freespace,f.tablespace_name tablespace
    from dba_free_space f
    group by f.tablespace_name) fs
    where t.tablespace=fs.tablespace (+)
    order by t.tablespace

  • TEMP datafiles MAX Size

    We are on 9.2.0.5. I had 2 datafiles for my TEMP tablespace, each at 2,048 mb in size. One file was set for autoextend to 32 gb. In a matter of 2 hours, this datafile grew to 100% max size and the other grew to 99.99%. To keep our application running, I added a new 2,048 mb to the tablespace. The problem was traced to a bad query with a strange sort. (Query has since been deleted). My question: Can I shutdown the database, drop the datafiles, create 2 more 2,048 mb datafiles and restart the database? I really want to reclaim the file space. Would this work?

    The DB shutdown and restarting fine. However I attempted to resize the datafiles using the following script:
    ALTER DATABASE TEMPFILE 'F:\....\TEMP01.DBF'
    RESIZE 2048M;
    OEM is indicating the file is full and therefore I get the message it I can't resize due to extend past the size of it is currently at.
    What needs to be done to resize or to clear the data consuming the datafiles?

  • How to find accurate number of Rows, and size of all the tables of a Schema

    HI,
    How to find the accurate number of Rows, and size of all the tables of a Schema ????
    Thanks.

    SELECT t.table_name AS "Table Name",
    t.num_rows AS "Rows",
    t.avg_row_len AS "Avg Row Len",
    Trunc((t.blocks * p.value)/1024) AS "Size KB",
    t.last_analyzed AS "Last Analyzed"
    FROM dba_tables t,
    v$parameter p
    WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
    AND p.name = 'db_block_size'
    ORDER by 4 desc nulls last;
    ## Gather schema stats
    begin
    dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
    end;
    ## Gather a particular table stats of a schema
    begin
    DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
    end;
    http://www.oradev.com/create_statistics.jsp
    Hope this will work.
    Regards
    Asif Kabir
    -- Mark the answer as correct/helpful

  • I have lost the ability to change fonts,use color and size and when I try to write anyone,I cannot see my mailing list and there is no send button.

    A few months ago my ability to use different fonts, colors and sizes suddenly disappeared. These choices were always available when looking at my email and I used them regularly . No one I asked ever heard of such a thing happening. I left it alone until I found someone to help. Then, a few days ago, when I clicked "write" , two things happened. First, I could not forward, reply or even see my collected email addresses. Second, there was no longer a place that said "send". My email page filled the entire screen and when I scaled it down, there was still no way to see my list or to send. I am a novice when it comes to fixes and terms but, I have asked people who have some experience with PC's they were stumped. I contacted Fairpoint and they said it must be a Thunderbird problem. Most of the people I asked said they didn't know Thunderbird. One suggested that I reinstall T.bird but, said I also might lose everything on my PC. I would appreciate any help you can give. Thanks, Jim

    When you click Write and open the new message editor, press Alt to show the Menu Bar, then enable all the toolbars under View/Toolbars. Plus, press F9 to show the Contacts sidebar.

  • Location and size of hotspot in a packaged file

    Hi all,
    I'm working on a authorware program in which I want to use the location ans size of a clicked hotspot to draw a rectangle. Ultimately, I would like to be able to change the size/position of a hotspot, and when packaged, the rectangle should be drawn at the new position of the hotspot, with the new size. So far, I've been succesful in an unpackaged file with:
      GetIconProperty(@Title; #awSizeX))
      GetIconProperty(@Title; #awSizeY))
      GetIconProperty(@Title; #awLocationX)
      GetIconProperty(@Title; #awLocationY)
    where Title is the title of the clicked hotspot. So far so good... BUT I learned the hard way that GetIconProperty() does not work in a packaged authorware file (next time I'll first read the help section better!). My question: how can I obtain the same information in a packaged authorware file?
    I have been looking at the GetSpriteProperty() function, which should work in a packaged file. However, the hotspots are not sprites, and I don't know what spriteproperties I should use for the location and size of the hotspot  (#awSizeX, #awSizeY, #awLocationY, & #awLocationX don't work). Furthermore, GetPostPoint does provide the position of the top left pixel position of the hotspot, but I need separate X and Y values for the position of the hotpot to be able to use the Box() function to draw the rectangle. And I need the of the hotspot as well. Lastly, PositionY@Title and PositionX@Title don't work for my hotspots (the value is always 0 and does not change when clicking the hotspots).
    I could solve the problem by making variables of all the position values and size values of all the hotspots, but then I would not be able to change the position and size of the hotspot by dragging, and changing the rectangle accordingly.
    I would be more than happy to hear if anyone has a solution for me.
    Thanks!

    Hi Steve,
    Thanks for your suggestions! Regarding your first thought: I don't know what you mean by making my clickable area a hit *object. I've tried the help pages of authorware, but it drew a blank. Could you explain how I can make my clickable area a hit *object?
    Regarding clickX/Y: the values depend on the exact location where the user clicks, therefore drawing a rectangle over a picture (which is not moving) is difficult using clickX/Y. I would like the rectangle to appear on a certain spot (namely on the position of the hotspot, with the same width & height), regardless where in the hotspot the user clicks.
    Frank

  • How to read text and it's font details (Family and size) using Acrobat plugin?

    Hello,
           I have query about reading PDF, I wanted to extract text and it's font details (Family and size) using Acrobat plugin. How can I achieve that?
    Any suggestions are welcome.
    Thanks
    Rohit Shinde

    Look at the samples in the SDK around PDFEdit and the PDEdit APIs.

  • ASM Disk preparation for Datafiles and FRA in Oracle 10g RAC Inst

    Dear Friends,
    Please clarify wheteher the below method is correct to confiure ASM disks for Datafiles and FRA
    Partitions provided by IT team for OCR and Voting Disk
    /dev/sda1 - 150 GB (For +DATA)
    /dev/sda2 - 100 GB (For +FRA)
    OS     : RHEL 5.6 (64 Bit)
    kernel version = 2.6.18-238.el5
    Steps:(Node1)
    1) Install the RPM's for ASM
    rpm -Uvh oracleasm-support-2.1.7-1.el5.x86_64.rpm
    rpm -Uvh oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm
    rpm -Uvh oracleasmlib-2.0.4-1.el5.x86_64.rpm
    2) Configure ASM
    /etc/init.d/oracleasm configure
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    3) Cretae ASM Disk
    /etc/init.d/oracleasm createdisk DISK1 /dev/sda1
    /etc/init.d/oracleasm createdisk DISK2 /dev/sda2
    4)/etc/init.d/oracleasm status
    5)/etc/init.d/oracleasm scandisks
    6)/etc/init.d/oracleasm listdisks
    7) Nothing to perform on Node2
    8) In dbca choose ASM and map the DISK1 for datafiles and DISK2 for FRA
    Please confirm the above steps are right?if not please clarify
    If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?
    Please refer any document / Metalink ID for the above complete process
    Can i have ASM and oracle DB binary in the same home
    Regards,
    DB

    user564706 wrote:
    If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?for asm disk created with oracleasm discovery path variable is ORCL:*
    Please refer any document / Metalink ID for the above complete processhttp://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABIFHAB
    Can i have ASM and oracle DB binary in the same homeyes. unless you want job role seperation or plan to run multiple versions of oracle homes
    >
    Regards,
    DB

  • I need recommendations in purchasing an external hard drive, to back up everything in my computer. What brand and Size?

    I have a mid 2010 iMac, version 10.8.2, memory 4GB, 1TB sata disk.
    Apple sent me an e-mail last year stating that my imac maybe affected to a recall. They said I have to back up my computer before sending it in to them. So its a great excuse to purchase an external hard drive.
    But I am clueless. I would like to know what brand and size of memory is recommened for my imac and my needs. I will be mostly be backing up homevideos and alot of pictures, music, and some documents.
    If someone could also explain about time machine? I guess its a whole separte thing from your media. I also would like to keep it affordable. I just purchased an external hard drive from www.macmall.com Seagate Backup Plus 1TB USB 3.0 Portable Drive - Black (STBU1000100).
    But I don't know if that was a really great choice because for it to work with time machine I have to reformat certain things, and Im not sure if I would like to have that hassle.
    I also wanted to know whats the difference between usb 3.0 and firewire. I read some forums saying that if you are to transfer videos you need to use firewire, and some agreed disagreed. Is that true?
    Please help!?
    I definitely would like to know what brands of external hard drives are highly recommended and good at price. The one I purchased is it any good?
    Thank you!
    -wjrlelidepaula

    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    http://www.lacie.com/us/products/product.htm?id=10554
    http://www.newertech.com/storage/

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • Creating form - want to change font style and size in more than one field at a time HOW??

    creating form - want to adjust font style and size in more than one field at a time - HOW??

    Select the fields with the mouse, right-click one of them, go to Properties
    and set the settings you'd like them all to have.
    On Wed, Jan 21, 2015 at 8:51 PM, chuckm38840797 <[email protected]>

  • How to change the font and size in the fillable field of an encrypted PDF file?

    hi!
    I’d like to change the font and size in the fillable field of an encrypted PDF file I-485 from www.uscis.gov/files/form/i-485.pdf
    I’m using Adobe Acrobat Pro 9 in Windows XP. I firstly tried Adobe LiveCycle Designer, but the I-485 file requires password to be opened, which I don’t know.
    Then I tried to print it to a PDF file, and use the Typewriter tool to fill in the form. But got error message while printing it to PDF file:
    This PostScript file was created from an encrypted PDF file.
    Redistilling encrypted PDF is not permitted.
    The I-485 file can be exported to unencrypted postscript file, but got the same error message while trying to open the ps file.
    I don’t know much about pdf file, can anyone please help?
    Thanks a lot!

    Ask the creator of the file for a unprotected version.

  • Is it possible to adjust the photo angle and size in Snapshots theme

    Hi
    I'm new to aperture and am having a few frustrated-hair-pulling issues with the Snapshots theme. I was using iPhoto to create a Photobook of my son's first year and found it to be too limited for what I want to create. I came across Aperture and was wow'ed by the description saying I could rotate and resize photos, add text boxes etc. This was just what I was after so I downloaded the free trial to test it. I like the snapshots theme the best for the idea of it looking more "homemade" but seem to be unable to adjust the photo angle and size from the given templates. Also I find that the border in adding new photos (which I can adjust the size and rotation of) is without the custom shadow effect that the template ones have. Duplicating the template photo only gives one with the shadow effect but also of the same size with the same rotation that I can't do anything with! Rrrrghhhh
    I thought this would be a great way to customize the album I'm making for my little boy, and that it wouldn't be too hard! My mac skills are considerable, but I'm by no means an expert! Is this program too much for a non-pro-creative-housewife with a wish that may be solveable in iPhoto afterall?
    Or am I just missing something? Is there a way to do this or shall I just give up and choose another theme?
    Any recommendations are welcome! Please!!! My scalp is now officially sore!

    Here's the solution I used to solve the same problem. If you're not comfortable editing the source files, this might be more than you want to take on--but I've done it to several files with no ill effects. You can follow the instructions on this page and the referenced original post from (he includes a link on the page). Good luck! He's got some great tips on some of his other pages.
    http://photo.rwboyer.com/2010/03/15/aperture-3-book-theme-trick/
    A warning about editing the Master pages--it only edits them in that book--it doesn't update the theme. So if you go to create another book with those same layouts, you'll have to duplicate the book and replace all the images. An alternative would be to create a "clean" book with no photos in it and then just use that as a starting point each time.

  • Firefox not displaying fonts and sizes properly

    In firefox the fonts are not displaying properly they are either bold or small and bold some text is displayed normally but most is not most is either really small or bold. This is also the case for IE, im on windows 7 running latest versions. However Chrome, Opera and Safari all display correct fonts and sizes it is just firefox and IE that are affected. And yes everything from font size to page size is at default so please dont reply with zoom in and out thanks.

    Hey thanks for the reply. Not sure which one of these worked nothing changed until I restarted firefox.
    You can try different default fonts.
    Tools > Options > Content : Fonts & Colors > Advanced
    [ ] "Allow pages to choose their own fonts, instead of my selections above"
    You can also try to disable hardware acceleration.
    Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    But it is back to how it was thank you very much!

  • I am not satisfied with the font and size of print that I set. How do I change it?

    When I first set up Firefox on my desktop, I set the print size and font. I have found that it is too large and I really would like to change the font, also. I can't find a spot to do that. I might be looking right at it but don't realize it. Could you help me?

    I can't remember what I did when I set the font and size of articles that I printed from the pages on Firefox. I just know that I tried something a few months ago and have not been happy with the settings that I made. I can't find anywhere to change those settings and have tried so many things but they do not change the look of the pages I print when I click print. I tried to see if I could change the settings but all it does is change portrait or landscape and margins...nothing about fonts or sizes. I am getting so frustrated even though I love Firefox.

Maybe you are looking for

  • Date in crystal report

    Hi sorry my english. How can I do somting like that in Crystal Report select * from INV1 where docdate = [parameter] or select * from INV1 where docdate BETWEEN [parameter1] and [parameter1] regards Edited by: johnnysolano on Mar 25, 2011 7:22 AM

  • Code for radio button is not working plz help

    checkboxes are working fine but when i put radio code submit button does nothing plz help thanks in advance <%@ page language="java" contentType ="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import= "java.sql.*,java.io.*,com.anaghan.MyBe

  • Translation Standard Text

    Hello Gurus, Can any one tell me how to translate the standard text fron EN to FR. Thanks Vijay.

  • Does Sun ONE Web Proxy Server have built-in log analysis tools? What kind o

    Sun ONE Web Proxy Server automatically logs all requests using either the common log-file format or an extended log-file format. The extended log-file format includes the referrer field and user agent. You can also create your own log file format by

  • Oracle error ORA-39127 unexpected error from call to export_string

    Hi The export for an database encounters the following error .Can someone take a look at the cause please. Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM Processing object type DATABASE_EXPORT/SYSTEM_PROCOB