Total space used by a DB

Hi all

11.1.0.7

This is the command to check the total size of disk space used a database.

Select sum (bytes) of dba_data_files;

Is the included temp size?


Thank you very much

Kinz

Check
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:no:P11_QUESTION_ID:266215435203

Tags: Database

Similar Questions

  • I want to view the properties of folders of files and the size of the files used on the right by clicking on them and the properties of the workstation to see the disk space used. __

    I have trouble finding the disk space used by files and folders individually and when I try to know how much is consumed and free by right click on my computer.  This was easy in XP, but I can't get the answers I need to analyze which uses space, where and how.  What is happening with this?

    Hi NativeLegal Eagle,

    Usually, right-click on the file or folder and clicking the properties option will give the details of the file or folder. The details include, type, size, location, size of the file on the disc etc.

    Make a right click on my computer will not give the details of available disk space on the computer.

    If you want to know the amount of space consumed by a program, then it can be found in the Add/Remove Programs window.
    a. Click Start, click Run, type appwiz.cpl, and then click ok.
    b. in the list, we can find the total space used by individual program running on the computer.

    Note: If nothing is listed in the file properties window or a file, then provide us with more information, so that we can better help you.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Recently, I deleted my partition bootcamp about 65 GB space. However, after that I restarted my MAC, the 65GB is lost! The total space in my HD is currently 434GB although it should be 500 GB! Anyone know how to recover my space 65GB?

    Recently, I deleted my partition bootcamp about 65 GB space. However, after that I restarted my MAC, the 65GB is lost!

    The total space in my HD is currently 434GB although it should be 500 GB! Anyone know how to recover my space 65GB?

    See below for my disk utility:

    Hello waynetay,

    Thank you for being part of the community of Apple!

    Looks like you want to recover the hard disk space that has been used by Bootcamp.  I know how critical disk hard space is, as I understand it want to access it.

    The Boot Camp Assistant should have added space on the side of Mac OS X from the hard drive when it has been used to remove Windows.  Since that didn't happen, you need to back up the system, and then erase the hard drive, then restore the backup.

    First, back up the computer.  Your computer has software called Time Machine.  It is a fantastic software for backing up your computer.  Information on how to use Time Machine is available here:

    Use Time Machine to back up or restore your Mac.

    Once you have the backup, you must erase the drive and then restore the backup Time Machine.

    You can use these measures to erase files on your startup drive and install a fresh copy of OS X:

    1. Before you begin, make sure that your Mac is connected to the Internet.
    2. Restart your Mac. Immediately hold down the command (⌘) keys and R after having heard the startup sound to boot into OS X Recovery.
    3. When the recovery window, select disk utility, then click on continue.
    4. Select the volume name back from your startup disk in the left side of the disk utility window, then click Delete.
    5. If you want to erase the disc safely, click Security Options. Select an erasing method, and then click OK.
    6. On the Format menu, choose Mac OS extended (journaled). Type a name for your drive, and then click clear.
    7. After that the drive is deleted, close the disk utility window.
    8. If you are not connected to the Internet, select a network in the Wi-Fi menu.
    9. Select the option to reinstall OS X.
    10. Click on continue and follow the instructions on the screen to reinstall OS X.

    Once OS X installation is complete, you should have the option to restore from a backup Time Machine in the first installation of OS X.  Choose this option, and the computer will restore everything that was on it before it has been removed.  More information can be found here:

    How to reinstall OS X on your Mac

    Have a great day!

  • Hard drive space used/free info displayed is incorrect

    My hard disk space used and the space free information apparently enormously out of proportion to the actual use. Can't understand why.

    Details:

    My disk C (683 GB) indicated (including the Information and records management system) as having 140 GB of used space.

    I find that about 42 GB, including hidden files, system files, swap file and hiberfil.sys.

    My computer came with the SATA 750Go unique fully formatted and whose 683 GB C drive and a recovery disk 15 GB D.

    I want to reduce C & create a new partition for documents before installing some new important software on C.

    I am reluctant to shrink, or install new software, until I have find the mystery of this 100 GB of files to inventory.

    I ran disk cleanup and Defragmenter. No change in the amount of space used / free display.

    When I click the icon of the C in disk management and choose shrink, he says I can reduce C only to about 500 GB. I understand that shrink should be done several times to get full party, so presumably he would get smaller. I the have not used yet, but because of the concern/mystification about the reasons for this apparently incorrect space used for the drive.

    I have Vista Home Premium (64-bit). I don't have a shadow copy volume.

    I have not installed or changed anything significant since buying the computer, nor what I made a backup to C or D or large file transfer done.

    Any help would be most appreciated. Thank you.

    Hi Virginia2332,

    You mentioned that the total size of the hard drive is 750 GB and also mentioned that the size is 683 after formatting and 15 GB recovery partition that add up to 698 GB. So where's the advantage remaining 52 GB.

    You have another partition outside C and D.

    However, I suggest you perform a check disk on your computer that will rectify the bad sectors, if any. Bad sectors will also be counted as used space.

    CHKDSK (Chkdsk.exe) is a tool for command line that checks volumes of disk for problems and attempts to fix everything what it finds.

    1. click on Start.

    2. type cmd in the search box start and press to enter.

    3. type the following command at the command prompt: chkdsk driveletter: / f/r (chkdsk c:/f/r)

    4. check the size of the hard drive.

    Kind regards
    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Total space occupied by the table of tablespace

    Hello

    I'm looking for information find the total space occupied by a table stored in a tablespace. We can consider a scenario in which the table has data present in it, constraints, indexes, LOB columns and free space left on the total, that it has been allocated. I tried two queries, but don't think they give me what I'm looking for.

    Select bytes from WHERE user_segments where nom_segment = "EMPLOYEES";

    SELECT
    lower (owner) as the owner
    lower (table_name) AS table_name
    nom_tablespace
    num_rows
    , blocks * 8/1024 AS size_mb
    pct_free
    compression
    logging
    From all_tables
    Owner WHERE AS UPPER ('HR')
    AND table_name = 'EMPLOYEE '.
    ORDER BY 1, 2;

    Basically, I need to get this information before executing some DML is on the table, after which, I'll check once again how much space is free after the operation. So kind to provide information to customers on space used and released for a table in a tablespace.

    Now how do I go around to find the total space occupied by the table combining the factors mentioned above.


    Thanks in advance.

    Your queries refer to the segment info.

    Here's how

    create or replace procedure segments_for_table(p_table in varchar2, rc in out sys_refcursor) is
    begin
    open rc for
    select l.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_lobs l
    where l.table_name=p_table
    and s.segment_name=l.segment_name
    union
    select i.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_indexes i
    where i.table_name=p_table
    and s.segment_name=i.index_name
    union
    select t.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_tables t
    where t.table_name=p_table
    and s.segment_name=t.table_name;
    end;
    /
    

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • Space used (%) surveillance for tablespaces

    Hello world

    I am currently using:
    RedHat Linux ES 5 2.6.18 and also
    Oracle 10g Release 2 for Linux x 86 R10.2.0.3

    While listening to my storage using OEM Database Control spaces, I noticed that two storage spaces were almost full.

    [SYSAUX] - size: 290 MB, used 283 MB (97% full)
    [SYSTEM] - size: 320 MB, used 313 MB (98% full)

    When I try to locate these two spaces of storage data files in his directory (/ home/dba/oracle/oradata/oracle), it shows the allocated size (290 MB for sysaux01.dbf) & 320Mo for system01.dbf and not the space used.

    I have three questions to ask here:

    1. why it is not warnings or alarms, even if spaces storage is greater than the critical size?
    [2nd-how come the files of data shows the size allocated tablespaces and not used space?]
    3 - How can I find and monitor the real space of the tablespaces used?
    4. I enabled the AutoExtend feature, but I'm you worry if there is any other it related?

    I'm still very new here.
    Please forgive me for all that is wrong.
    Looking forward for your expertise, advice and help.
    Thank you for your attention.

    -Eyes-

    ++ Kef Lim ++

    Hello

    1. why it is not warnings or alarms, even if spaces storage is greater than the critical size?

    1 oracle never show any warning about space to reach its critical position. It will just pull a mistake when he soenot find the space. You can create alerts in your database to accomplish your task.

    [2nd-how come the files of data shows the size allocated tablespaces and not used space?]

    Data files show the total size of alliocated to them. You are just lookingg at the level of the operating system and files are the total for this tablespace size poster because total space is allocated at the same time when you create the tablespace. Space is not large, they are required. That's why it shows the total space.

    3 - How can I find & watch the real space of the tablespaces used?

    To learn real space used in particular tablespace, that you must use DBA_DATAFILES and DBA_FREE_SPACE views database. To view the free space use the following query.

    Select
    FS.tablespace_name 'space ',.
    (df.totalspace - fs.freespace) "Used MB."
    FS. FreeSpace 'MB free.
    DF. TotalSpace 'Total MB. "
    round (100 * (fs.freespace/df.totalspace)) "Free PCT."
    Of
    (select
    nom_tablespace,
    Round (Sum (bytes) / 1048576) TotalSpace
    Of
    DBA_DATA_FILES
    Group
    tablespace_name
    ) df,.
    (select
    nom_tablespace,
    Round (Sum (bytes) / 1048576) FreeSpace
    Of
    dba_free_space
    Group
    tablespace_name
    ) fs
    where
    DF.tablespace_name = fs.tablespace_name;

    4. I enabled the AutoExtend feature, but I'm you worry if there is any other it related?

    There is no concern about using the function of other autoexten that it will work until you have hard tyour space on disk where the file is placed.

    hope you get the answers and it helped.

    Kind regards
    Navneet

  • My macbook shows 119 GB of total space instead of the designed 120 GB

    I erased my macbook SSD to install el captain and since then, the total space available about this mac > storage shows 119.45 instead of 120.77 as before. No idea how to solve this problem?

    Not sure why he showed 120.77 before, 120,77 sounds like the physical capacity of the drive, however the usable storage volume will always be a little lower than this, 9% to be precise. See the article below for more information on this topic, its normal.

    ard-disk-loses-some-space-after-formatting-https://www.DaniWeb.com/hardware-and-software/Microsoft-Windows/threads/432819/h

    I hope that answers your question!

  • one of my local disk drive indicates space used some GB, but nothing is stored in this disk physically.

    one of my local disk drive shows the space used a few GB of data even if nothing is physically stored in this disk

    When you go to start / computer and select which lead and then choose explore does nothing there or are there any files or folders.  Make sure you first start / Control Panel / folder Options / view and check the button to view the hidden files, check the box to show system files and uncheck Hide extensions of known file types files.  Explorer shows that it uses space (exactly how much)?  What was on this front disc has been added to your computer as an additional drive?

    Go to start / Control Panel / Admninistrative tools / computer management / disk management and tell me what he says on this drive.  Does also show the disk space used or is it clean? Hover your mouse over the the disk image and a text box appears.  Post the EXACT content, as they are presented.

    If you want to clean up (and there is nothing on it to save) then right click on the drive and click Format.  This will wipe the drive and I hope, will solve this problem.  If this is not the case, the reader may have a hidden partition that occupies space. We can deal with that by deleting the partition and then format again.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • automate the backup of the computer while limiting the space used

    Hello
    I would like to help by using the Task Scheduler to automate a "computer backup."  I also use the "back up files" to back up my data files.  I want to use the same destination for two backups drive, but must limit the space used for each utility half the destination drive.  for example, I have a 150 GB C: drive.  the backup destination, F: drive is 500 GB.  I would use 250 for backup of the computer and 250 GB for backup of files.  is there a command in Task Scheduler that will automate the backup of the computer while minimizing space used for 250 GB?  Thank you!

    moved the post to the backup – Windows and Windows Server forum: http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/bbacc0df-3964-40ae-bf98-a3fe2c36314c

  • Disk space used by the Windows folder

    Hi guys I found that my windows folder takes a lot of my disk space. It takes 31 GB of my C: / drive... .and I saw on other computers just 15 and 16 GB of disk space. I also found that Winsxs is taking up to 18 GB 31 GB of the windows folder. Can you please tell me what can I do for this problem all...

    Investigating disk space use to download, install and run Treesize (freeware) as an administrator.

    http://www.Jam-software.com/treesize_free/

    Place a Treesize shortcut on your desktop, right-click on the icon and select run as administrator to open Treesize. You must run as administrator to see all the files. If you do not see the content of the System Volume Information folder you have not run Treesize as administrator.

    Information about Treesize

    http://www.Jam-software.com/treesize_free/

    When you open Treesize scan select in the Menu and you will see a list of drives. Click on C and it will generate a list of files. Display the names and sizes of the larger 6 under windows folders.

  • ReadyBoost will not use more than 2 GB 'Cache space used' on 4 GB ReadyBoost.sfcache file

    Windows 7 64 bit on a computer laptop 4 GB.

    I have a card SD of 2 4 GB dedicated to ReadyBoost, connected via USB2.   I tried to format the card as NTFS and exFAT and in both cases, Windows may correctly fill in the card with a ReadyBoost.sfcache file, which is about 3.8 GB (card is dedicated to ReadyBoost).
    =============
    (Pasted image in - did not show when I introduced first)

    =============
    The problem is that no matter how long the system running, perfmon displays 'Cache space used' is always less than 2 GB.
    He goes up regularly in the first ten minutes after enabling readyboost, then levels: less than 2 GB:

    =============
    (Pasted image in - did not show when I introduced first)

    =============
    (Of course the "put bytes in cache" are greater because of the compression.)   But it seems to use only about 1/2 of the 4 GB cache file.
    I tried to adjust to only use a 2000Mo cache file size, and then 'Cache space used' would not exceed 1.4 GB.

    Am I something wrong or bad what do the numbers mean or is it an inherent limitation of ReadyBoost due, for example, General fresh metadata in the cache file?

    As I frequently have max on my use of memory and I can not install more than 4 GB, I had significant performance gains when he might have already spent several minutes, beating the pagefile.   I hope to see even more benefits with a bigger Readyboost cache if possible.   I would also like to solve this problem before investing in a larger and more efficient card.

    Thank you and best regards,

    Hi Jeff,

    In some situations, you might not be able to use all of the memory on your device to speed up your computer. For example, some flash memory devices contain both slow and fast flash memory, but ReadyBoost can only use fast flash memory to speed up your computer.

    http://Windows.Microsoft.com/en-us/Windows/using-memory-storage-device-speed-computer#1TC=Windows-7

    Computers with discs hard fast (such as 7 200 or 10 000 rpm disks) could achieve minimum performance gains due to the already high disk i/o ReadyBoost. will read the files from the cache only when this so will improve performance. Hard drives surpass flash in sequential reading drives, but flash drives are faster when no sequential reads (because of the latency caused when the drive head must move to a different disk sector). As a result, ReadyBoost reads from the cache only for non sequential reads
    http://TechNet.Microsoft.com/en-us/magazine/ff356869.aspx

    Hope the helps of information.

  • Why Windows 7 displays an incorrect amount of free disk space / used on my DVD - RW drive?

    Why Windows 7 displays an incorrect amount of free disk space / used on my DVD - RW drive?

    Windows 7 can show the incorrect amount of free and used space in serious DVD - RW or DVD + RW media properties.  After burning data on the disk, Windows 7 could show that there are 0 bytes of used space and free space available on the disk capacity.  In reality, the amount of used and free space on the disk is reversed.

  • My local dick V total space is 20 GB, I want to make my C drive space like 60 GB without Booting up or formatting

    Hello. I have windows 7 Ultimate. My hard dick is 160 GB. My local dick V total space is 20 GB, Local D 70 GB drive and dick Locak E 60 GB. Drive C is now totally complete. I want to make my C drive space like 60 GB without Booting up or formatting... I can do... ? Please help me out

    Hello. I have windows 7 Ultimate. My hard dick is 160 GB. My local dick V total space is 20 GB, Local D 70 GB drive and dick Locak E 60 GB. Drive C is now totally complete. I want to make my C drive space like 60 GB without Booting up or formatting... I can do... ? Please help me out

    That's how

    http://www.pcandtablet.com/Windows-7-General-Chat/217/in-my-Windows-7-Desktop-Windows-7-is-running-out-of-space-how-can-i-handle-this.html#post403

    on the other

    http://www.pcandtablet.com/Windows-7-General-Chat/236/although-i-have-enough-UN-partitioned-space-extend-volume-option-is-not-activated.html

  • Is this possible? I have less free space on the C drive, and I have exactly 56.998 space USED (s)

    I have less free space on the C drive, and I have exactly 56.998 space USED (s)... Here is the photo that explains everything...

    P.S 
    I recently installed a new Windows 7 because my PC was crushed.

    Adding sizes show in various properties of the folder does not show the actual space consumed.

    This free utility can reveal information relevant and that is using the space

    http://www.Jam-software.com/treesize_free/

  • Calculate the space used by an individual/idebtifying partition in the partitions belonging to a partition - possible?

    Hello

    Using oracle 11.2.0.3 and have a partitioned table, some of the partitions use their own tablespace for to use WHERE user_segments but many partitions share the same tablespace.

    We wish to place each partition to a tablepsace of dedicatde and seek to identify the space used by a single partition.

    What is the best way to do this?

    See user_tatb_partitions ha snum_rows + blocks.

    Can see WHERE user_segments door secondary partition names.

    Is that a query can use for secondary idnentify belonging to a partition

    Thank you

    See halfway down the page below for SQL XML util to convert a string of high_value.

    http://OraStory.WordPress.com/2013/12/12/SQL-utils-using-XML/

Maybe you are looking for

  • wifiassist

    I have this turned off in the settings, but he says that it is active in my phone, using ios9.3.5

  • MainStage 3.2 - Patch change jump many patches

    Hello I'm quite frustrated, trying to get the "next update" at work, with a switch to the foot (pedal) of my Midi - kawai MP6 stage Piano keyboard. I put the keyboard to send CC32 when using the foot switch. I have upgraded, the Concert - on Concert

  • WiFi is randomly

    Just got an iPad Pro. However the continuous Wifi declining and often will not return without airplane Mode and back. This happens in multiple locations and do not have the iPhone or other Apple devices on the same network. It is very annoying. After

  • LabVIEW Web Services 7: how to disable

    This summer, we had an external team of Cyber Security come and do an audit of security on our network. They found many 'open ports' on our Windows hosts, that is to say the PC was "listening on port 3085'. This was reported as a security flaw. Most

  • The Xperia Z5 Premium will be available with CDMA Radio network

    The Xperia Z5 Premium will be available in the USA with the Radio of the CDMA network, so it can be used on Verizon and. Al. ?