Tablespace space problem

Hi All,
I am again disturbing U.Actually we are planning to host our database to one of the data centre in U.S.
for which I need to know that how much of the space do i need to host my database.I mean to say how to find out the space that my table structure,data is accomodating in my harddisk.
As I found that oracle server is taking aroung 1.62 GB of total space after installation out of which around 1.2 GB is given to tablespaces by default.
I wanted to know how much space do i need( any way to calculate the space consumed by my table structure and data) so that i can put my database in the datacentre.
Please help me out.
if any suggestion please let me know.
Thanx
Regards
Manoj

I have temp tablespace of 14GB and it got filled during dump loading and their index
creation. Its filled upto 100%. I have shut down my DB and started it but found no
difference. Pleae tell me how to release space from Temp.Oracle will automatically reuse temp segments in temp tablespace, you do not have to worry about it and its perfectly normal to have temp tablespace to be 100% filled.
Means to say if I have 12GB TS with 6 files (each file of GB), Each datafile should be 2GB
Can I do something to bring all data into single file.Why? Any good reason for doing this?
If at all it is required, create a new tablespace with a single datafile and move all the objects to this newly created tablespace.

Similar Messages

  • Tablespace fragmentation problem

    All,
    I am working in Oracle 9i. Developers are facing some problem. Oracle is throwing ORA-1654 error. There is enough space in the tablespaces. To me it seems to be fragmentation problem. I found one query on some site and executed in my environment.
    SQL> select substr(ts.name, 1,10) TableSpace,to_char(f.file#,990) "file #",tf.blocks blocks,sum(f.length) free,to_char(count(*),9990) frags,max(f.length) bigst, to_char(min(f.length),999990) smllst,round(avg(f.length)) avg,to_char(sum(decode(sign(f.length-5), -1, f.length,0)),99990) dead from sys.fet$ f, sys.file$ tf, sys.ts$ ts where ts.ts# = f.ts# and ts.ts# = tf.ts# group by ts.name, f.file#, tf.blocks;
    TABLESPACE file BLOCKS FREE FRAGS BIGST SMLLST AVG DEAD
    GAP_ARC 7 15360 8239 108 6099 20 76 0
    GAP_BILD 8 256000 223804 3655 77909 5 61 0
    GAP_DATA 9 230400 48267 211 3937 5 229 0
    GAP_GEN 10 192000 86156 902 52178 1 96 3
    GAP_IMP 11 38400 37669 14 37399 10 2691 0
    GAP_INDEX 12 230400 96408 3557 506 1 27 5335
    GAP_INDEX 12 409600 96408 3557 506 1 27 5335
    GAP_INDEX 13 230400 56120 1611 495 2 35 2627
    GAP_INDEX 13 409600 56120 1611 495 2 35 2627
    GAP_ZNZL 14 1920 1919 50 515 10 38 0
    RBS 3 51200 30479 871 35 29 35 0
    RBS_BIG 4 76800 63929 157 43649 130 407 0
    SYSTEM 1 25600 25952 2 12976 12976 12976 0
    SYSTEM 2 25600 22728 20 11321 2 1136 12
    TEMP 5 64000 58279 252 25649 130 231 0
    TOOLS 6 6400 6384 1 6384 6384 6384 0
    16 Zeilen ausgewählt.
    From the output it seems GAP_INDEX has some fragmentation problem. Can somebody suggest, what the output means particularly the "DEAD" one.
    And also, how to do the fragmentation ??
    Thanks for help.
    Regards,
    Rajeev

    I haven't taken the time to study the query in depth but I think 'dead' is an attempt to identify free exents that are too small to be used.
    The original post leaves out some very important information such as the type of tablespace space allocation in use: dictionary vs local with auto-allocate or uniform extents.
    As one poster noted if you use locally managed tablespaces wtih uniform extents then free space fragmentation by definition cannot exist.
    With auto-allocate and dictionary mangement it can. Auto-allocate generally extents the time till a tablespace's free space becomes fragemented such that the space is not usuable and contains logic to reclaim via reuse but with the right combination of very small and very large objects the problem can still exist.
    Dictionary management is almost bound to lead to free space fragmentation conditions for an active system though the adoption of a proper extent sizing policy can help: initial = next with pctincrease = 0 for all objects in a tablespace and the extent sizes for the larger objects being an even multiple of the small object extent size.
    For auto-allocate and especially dictionary management when free space gets low the options are re-create the objects to consolidate all free space into a few large contiguous chunks or add another file. Sometimes you can relocate an object whose extents can then be reused by other objects. With uniform extents moving an object to another tablespace always creates fully reusable free space. Since objects should be where you want them the only real option then is to add free space is to add a file. Managing free space in a uniform extent environment then is genarally very straight forward.
    HTH -- Mark D Powell --

  • Space Problem in G: - after NW2004s SR1 installation on Windows 2003 server

    HI Friends,
    I have installed NW2004s SR1 on Windows 2003 server with Oracle 10g database successfully. My server has sufficient harddisk space as follows.
    C: 9.6GB
    G: 24GB
    H:64GB & I: 73GB.
    RAM is 6GB
    While installing NW2004s i have defined a paging size on C: 400MB-1600MB and
    i have set the option as System Manageble on other drives G, H& I drives. I did not get any Swap space problem while installing.
    During installation I have chosen G: drive to store MirrorlogA, MirrorlogB, Oraarch, OriglogA, OriglogB folders of Oracle for redolog archives,.Total size of all these folders is 17.4 GB
    G: drive has one more folder Program files which is of 155KB  and no other files exist in it.
    But My system says that I am running out of Space on G: drive and free space available now is only 44MB.
    My question is where has the rest 5GB of space gone? Is it consumed as a part of Paging file which i have set on this drive as System manageble??
    I have set the same option on other drives too i..e H & I. But i am not facing any space issues for these drives.
    What could be going wrong?? Please suggest me how to correct this
    Thanks
    mv_d

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • HOW to find out the tablespace space utilized by a patch after applying the

    someone has already applied the patch in test env before recording the tablespace size , so I cannot find out the figure in test env.
    So is there any general practice or general guidelines on it?
    hOW to find out the tablespace space utilized by a patch after applying the patch?
    Thanks & Regards,
    Sree.
    Edited by: 846579 on Mar 22, 2011 10:50 PM

    I think there is no direct way to determine what tablespace is utilized by a patch from the README file. You could check the content of the patch file and see what modules are affected (assuming there are changes and the database level), then query DBA_USERS (DEFAULT_TABLESPACE column) for those schemas which are updated by a patch. Or, you could check the size of the tablespaces before and after applying the patch and you will determine what tablespaces have been utilized (provided that the application services are down, and none of the application users is connected to the application).
    Thanks,
    Hussein

  • HD space problem - startup disk shouldn't be full...

    Hello everyone.
    I'm having a really weird problem with my hard drive. All of a sudden, a message popped up saying that my Startup Disk was almost full, and the system profiler read it as having "zero k". This is extremely odd because I had about 19 Gb free just a moment before, and after checking folders, apps and documents there really shouldn't be a space problem. The first message came up right after importing a CD, but that shouldn't have caused this.
    I tried deleting some items, but space increased only by that tiny amount. After a restart, the indicated hard drive space randomly jumped up to 1 Gb. When I woke it back up right now it was down to 200 Mb, and after another restart it's just come up to 650Mb. It just seems to fluctuate...
    If anyone knows what the issue might be or what I could do about it, please help! Thanks,
    silvia

    Hi. Thanks for the tip, it was really helpful. Everything was as expected except for some log files in my Library. The sizes are mostly up to 100 K except for one huge 15.9 Gb file, called console.log.2 in a strange folder called 501
    It's located in
    Library > Logs > Console > 501 >
    I'm really not sure what these files are and what they do, or what these folders are. Can I trash them or is that a problem?
    Also, I've noticed that my hard drive space is actually continuously decreasing little by little... Do you think this is related?
    Thanks,
    silvia

  • Hello, i changed my mediathek-folder due to space-problems and since then i am not able to fill the iphone (4) with music anymore. also i cant delete music in itunes, which already is on the iphone... HELP!!!

    hello, i changed my mediathek-folder due to space-problems and since then i am not able to fill the iphone (4) with music anymore. also i cant delete music in itunes, which already is on the iphone... HELP!
    does anybody know how to solve this problem? thx!

    If you want to try to clear even more disk space see https://discussions.apple.com/thread/5872318?tstart=0

  • HD space problem in iMovie projects

    I'm having hd space problems with one of almost two identical iMovie projects. I'm looking for a way to reduce size (or free up space with in the overly large project.)
    Both projects were imported same...firewire from camera.
    Both are about same length...approximately 1.25 hours.
    Both have approximately same number of clips and are at the same stage in the process...some minor editing...no titles or transitions in either.
    However, one project is 14gb in size, the other is 54gb. This is obviously causing space issues with my 160gb hd. (I rarely have a project over 25gb...even with lengthier projects with titles and transitions,)
    When I view trash info for larger project in iMovie, it shows 12gb, but when I delete, space is not cleared from hd. Project size remains at 54gb.
    The only difference in projects...with larger project I copied some files from a third iMovie project that I've since deleted.
    Any thoughts on how I go free up space or reduce file size?
    I've restarted computer, deleted iMovie pref file, ran disc utility.
    I'm running latest version of Tiger (10.4.11) on eMac. iMovieHD version is 6.0.3

    I suspect that when you copied those files from the third iMovie project you brought over portions of the clips that had been edited out. For example, if you have a 20 minute clip in iMovie that you trim down to 5 minutes, the project still retains the entire 20 minutes, even though you are using only 5 minutes of it in the project. This is true even if you empty the trash. As long as any part of the clip remains in the project, the entire clip remains in storage. This is due to iMovie's nondestructive editing feature. You never lose any part of a clip that you trim off. Some or all of the clips that you copied over from the old project may have been edited that way such that you thought, for example, that you were bringing over a 5 minute clip, but actually brought over 20 minutes of material. Thus your project size is larger than needed.
    One way to get rid of the space caused by the extra 15 minutes would be to export the clip to Full Quality quicktime movie, and then substitute the Quicktime movie clip for the original clip in your project. The quicktime movie will contain only the 5 minutes used in the project and not the extra 15 minutes that the original clip carried with it. This would limit some of your ability to re-edit the new Quicktime movie clip, because you will not be able to modify or eliminate any special effects or titles that that are contained in it. Likewise, the 15 minutes that you eliminated will be lost. So keep that in mind if and when you delete the old clips. Before you export the old clips to a Quicktime movie, you want to eliminate any unwanted editing that they may contain. If these old clips contain a lot of special effects that might account for their larger size as well.
    Keep a copy of the old edited clips until you are certain that your new project is exactly the way you want it.
    Hope this helps. If your problem is not the above, hopefully others will be able to offer some helpful comments.

  • How to exclude undo and temp from "Tablespace Space Used (%)"

    Dear All
    Is it possible to exclude undo and temp tablespace monitoring from "Tablespace Space Used (%)" matric?
    Thanks & Regards
    Quazi Abdur Rab

    If you use TEMP >=100 as Warning, this warning can still be raised.
    What version of the database is it? If Oracle 10g, Grid Control (the agent) searches the alert table in the database for alerts, so the database raises the alert and the agent just passes this alert to Grid Control.
    If you are using Oracle 10g, you can use the following statement (connected as sys):
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    warning_value => '90',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    critical_value => '100',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TEMP');
    This will create the GT (Greater Than) instead of GE (Greater Equal).
    Kind regards,
    Dave
    ps. I'm using GC 10.2.0.3.0, so thanks for the note that 10.2.0.4 doesn't take 100+ values.

  • Best strategy for iPhoto Disk space problems

    My wife is a shutter bug. She has about 20000+ pictures and growing fast. She also has an HD camera.
    So, disk space is an issue for us (500G iMac)
    Current iPhoto library is big (190G) and growing fast.
    What is the best solution to solve the out "iphoto library disk space problem"?
    1. Get a really good USB drive and put the iPhoto library on that?
    2. Get a NAS drive and put the iPhoto library on that?
    3. Split the libraries and remote the old ones and keep the new one local?
    4. Another option that I am not aware of?
    I tried some tests on a nice NAS solution (Netgear ReeadyNAS Ultra) and iPhoto seems to run really slowly from the mounted NAS drive.
    Any recommendations appreciated.
    Thanks,
    Mark

    1. Get a really good USB drive and put the iPhoto library on that?
    This is the best option - be sure that the EHD is always available prior to launching iPhoto
    2. Get a NAS drive and put the iPhoto library on that?
    This will not work unless you find a NAS that uses Mac OS Extended (journaled) formatting or you make a formatting or you make a disk image and place it on the NAS
    3. Split the libraries and remote the old ones and keep the new one local?
    works but loses much of the power of iPhoto's search capability
    4. Another option that I am not aware of?
    get a bigger hard drive in your Mac
    LN

  • Oracle Developer Suite 10g - Windows 7 - swap space problem

    Hi brothers and sisters,
    Hope all you are fine. I am facing swap space problem while installing Oracle Developer Suite 10g on Windows 7 . I have downloaded and installed Oracle Database 11g Express Edition successfully and it is working properly. Now, I have downloaded two files
    a. ds_windows_x86_101202_disk1,
    b. ds_windows_x86_101202_disk2
    to install Oracle Developer Suite 10g using Windows 7 Ultimate. The Oracle Universal Installer have passed the following issues:
    a. Operating system version,
    b. Monitor
    But while checking swap space, it gives a message, "0 MB available, 1535 MB required", Failed. I have 2 GB RAM installed and system managed paging file space which is currently allocated to 2038 MB in my system .
    Please solve me the problem.
    Noor

    increase the system virtual memory for the OS drive.
    check this link
    http://hamid-oracle.blogspot.com/2011/06/how-to-install-oracle-developer-suite.html
    also check this link.
    Re: error installing oracle forms 11g release 2
    Hope this helps
    If someone response is correct or helpful, mark accordingly. and if answered mark answered.
    Edited by: HamidHelal on Jun 27, 2012 2:28 PM

  • Monitor tablespace space usage, excluding UNDO

    Hi
    I tried to setup a monitoring template that enables me to monitor the space usage of all tablespaces but UNDO. It seems to me that Grid Control does not provide this built-in feature and I cannot customize. It monitors ALL tablespaces usage.
    If I create RULE, then I need to check all tablespaces names except UNDO. I have almost 200 databases. If doing that, it consumes huge amounts of time.
    Any solutions???
    Any input is appreciated.
    Kevin

    The current setting is
    Tablespace Space Used (%)
    UNDOTBS > 101 101 None Every 5 Minutes
    All others > 5 10 None Every 5 Minutes
    Does that mean that if UNDOTBS is 101% full, which never happens, I will get email.
    OEM will not evaluate the second condition if the first condition dissatisfies. If that is the case, I shall never get email.
    Then I think I shall reverse the order. When I tried to use [Reorder] button, I cannot reverse the order. Probably, OEM considers [All Others] as the last execution conditionl.
    Kevin

  • How to use a iomega prestige portable hard drive (mac edition) to resolve a start up space problem i.e. have 1.07gb need 4.85gb to upgrade tp itunes 7

    How to use an iomega prestige portable hard drive (mac edition) to resolve a startup space problem.  I need 4.85gb to up grade to itunes 7.  I have 1.07gb free

    com.apple.NVDAResman appears to be the culprit, indicating a problem with the graphics card. Run the Apple Hardware Test program, extended tests.
    See
    What is a kernel panic,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • System tablespace space not regained when objects are dropped

    Mine is a Oracle 10g 10.2 on windows.
    I am importing a export file into a user ,It takes some amount of space in SYSTEM and another tablespace .When I drop the user space in system tablespace is not coming back. ANY IDEA WHY
    BEFORE IMPORT
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
    SUM(BYTES)/1024/1024
    22.1875
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
    SUM(BYTES)/1024/1024
    544.1875
    SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
    SUM(BYTES)/1024/1024
    41
    I use the following commands to import
    SQL>create user <username> identified by <password> default tablespace <tsname> quota unlimited on <tsname>;
    SQL>grant create session,imp_full_database to <username>;
    imp system file=filename.dmp log=logname.log fromuser=<username> touser=<username> statistics=none
    AFTER IMPORT
    SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
    SUM(BYTES)/1024/1024
    53
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
    SUM(BYTES)/1024/1024
    22.1875
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
    SUM(BYTES)/1024/1024
    728.375
    AFTER DROPPING THE USER/SCHEMA
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
    SUM(BYTES)/1024/1024
    728.375
    SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
    SUM(BYTES)/1024/1024
    22.1875
    SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
    SUM(BYTES)/1024/1024
    53
    I even tried deleting the objects first and then dropping the user
    SQL> delete from source$ where obj# in(select object_id from dba_objects where owner='USERNAME');
    211252 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> drop user USERNAME cascade;
    User dropped.
    The space used by the schema on system tablespace is not coming back.

    Hi user509593!
    Adding objects to a tablespace requires space in that tablespace. This space is managed in segments and extents. If an extent is fully used (that means 100 % usage) a new extent will be added to a segment. Oracle uses a mechanism called "High Water Mark" to mark the last used extent.
    Your problem is that oracle don't set this High Water Mark back if you are dropping objects from a tablespace. Once an extent is marked as it it retains marked as used.
    Before Adding Objects:
    u = used Extent
    x = free Extent
    | = High Water Mark
    uuuuuuxxxxx
    ...........|
    After Adding Objects:
    uuuuuuuxxxx
    ............|
    After dropping objects:
    uuuuuuuxxxx
    ............|
    The only chance to get your "unused" space back is to reorganized your tablespace. But before you reorganize something please read the documentation to know all about the costs and traps that comes with reorganization.
    Hope this help!
    null

  • Temp space problem

    HI all,
    I receive an error while executing a procedure.
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    can any one please exlain what is the problem.
    thanks in advance
    baskar k

    hi
    First ORA-01652 may occur because there is simply no space available in the temp tablespace of which is being used. The second cause of ORA-01652 may have to do with the local temp segment not being able to extent space even though there is space in other instances.
    To trouble shoot for ORA-01652, and find out which of the above scenarios are causing ORA-01652 use this query offered by MetaLink:
    select sum(free_blocks)
    from gv$sort_segment
    where tablespace_name = '<TEMP TABLESPACE NAME>'
    You will know that the first scenario is causing ORA-01652 to be thrown if the free block reads '0' because it signifies that there is no free space.
    If there is a good amount of space, you know that there is another cause for ORA-01652, and it is probably the second scenario. It is important to note that in a non-RAC environment, local instances are not able to extend the temp segments, so in the RAC environment, ORA-01652 has to be handled differently. If you are experiencing ORA-01652 in a non-RA environment, be aware that every SQL making use of the tablespace can fail.
    In RAC, more sort segment space can be used from other instances, which can help resolve ORA-01652 more easily. Try using the query below:
    select inst_id, tablespace_name, total_blocks, used_blocks, free_blocks
    from gv$sort_segment;
    Basically, you can then find out how much temp segment space can be used for each instance by viewing the total_blocks, and the used_blocks can reveal the space which has been used so far, and and the free_blocks gives the amount of space allocated to this particular instance. This being, to resolve ORA-01652, you can check out that used_blocks = total_blocks and free_blocks = 0 will probably show for the instance, and ORA-01652 will be shown multiple times within the alert log.
    This basically means that free space from other instances is being requested, and typically signifies that there is instance contention. Instance contention within the temporary space can make the instance take more time to process.
    In sever cases, a slowdown may occur, in which you might want try one of the following work-arounds:
    Increase size of the temp tablespace
    Increase sort_area_size and/or pga_aggregate_target
    However, remember to not use the RAC feature of DEFAULT temp space.
    If ORA-01652 is causing the slowdown, SMON will probably not be able to process the sort segment requests, you you should try to diagnose the contention:
    Output from the following query periodically during the problem:
    select inst_id, tablespace_name, total_blocks, used_blocks, free_blocks
    from gv$sort_segment;
    Global hanganalyze and systemstate dumps
    Hope this helps
    CHeers

  • Temp Tables space problem with ORA-01114 and  ORA-27072:

    RDBMS :Oracle:9.2.0
    OS: Linux AS3
    Storage: SAND arrray (RAID 5)
    Problem on exeuting dml statement
    SQL> select * from myview ;
    select * from myview
    ERROR at line 1:
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    ORA-01114: IO error writing block to file 201 (block # 3977)
    ORA-27072: skgfdisp: I/O error
    Linux Error: 28: No space left on device
    Additional information: 3976
    With Regards
    Joy

    Hello joy,
    So, still looking for solution. I suggest you a sloution and it works well only if as you mentioned (in your previous post) that file causing error is temp file. So, get rid of this better you create new temporary table space and drop old one and then delete the old files manually.
    But this will work only for Temp Tablespace not for normal tablespaces and datafiles. Prepare new temporary tablespace at different location from the previous one, try to make it on different disk beacuse it may be due to corruption of physical medium too.
    Try this. If it works... you are through... otherwise i have no other options...
    Please update.....

Maybe you are looking for