Checking the schema-wise disk space usage

hi
can we get the disk space usage for every individual schema separately ?

What about this:
select OWNER, sum(BYTES) from DBA_SEGMENTS group by OWNER

Similar Messages

  • MacBook Disk Space Usage

    Hi,
    Has anyone found a utility that can be used to locate disk space usage on the MacBook? I would like to find out what files are eating up my disk space and would prefer to not have to use UNIX commands to accomplish this. I need to delete something off my computer but need help to locate the culprit. Any help is appreciated.
    Thanks

    Use a program such as WhatSize or Disk Inventory X to determine where the space is being used.
    (38758)

  • Disk space usage by table

    Hi all,
    how do I determine disk space usage by table1, table2 ?

    marco wrote:
    Hi all,
    how do I determine disk space usage by table1, table2 ?Use the _SEGMENTS views for this. Make sure to include dependent objects such as indexes if you're wanting to get an idea of the "total" size of the table. Perhaps you could give us more information on your requirements and what you're seeking to accomplish.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • SQL AGENT JOB FOR DISK SPACE USAGE ALERT

    Hello Experts
    what is the best way to set up a disk space usage alert for my sql server 2008r2 databases. i want to get a notification or alert whenever the disk usage is >80%, thank you as usual.

    Hi
    You can use sql server job for same. I am using below procedure configured with sql job running every 15 mins
    Example: EXEC [DBA_DiskSpaceMntr]
    @mailto = 'team mail',
    @CDrivethreshold = 1024,
    @OtherDrivethreshold = 10240
    CREATE PROCEDURE [dbo].[DBA_DiskSpaceMntr]
    @mailto nvarchar(4000),
    @CDrivethreshold INT,
    @DDrivethreshold INT,
    @YDrivethreshold INT,
    @OtherDrivethreshold INT
    AS
    BEGIN
    declare @count int;
    declare @DiskFreeSpace int;
    declare @tempfspace int;
    declare @tempdrive char(1);
    declare @mailbody nvarchar(4000);
    declare @MailSubject nvarchar(1000);
    declare @AlertMessage nvarchar(4000);
    declare @altflag bit;
    declare @sub nvarchar(4000);
    declare @cmd nvarchar(4000);
    set @count = 0;
    SET @mailbody = '';
    SET @cmd = '';
    set nocount on
    IF EXISTS(select * from sys.sysobjects where id = object_id('#driveinfo'))
    drop table #driveinfo
    create table #driveinfo(id int identity(1,1),drive char(1), fspace int)
    insert into #driveinfo EXEC master..xp_fixeddrives
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('C')
    IF @DiskFreeSpace < @CDrivethreshold
    Begin
    SET @MailSubject = 'Drive C: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive C: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    --select * FROM #driveinfo where drive in ('L')
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'SQLDBA_Support',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('D')
    IF @DiskFreeSpace < @DDrivethreshold
    Begin
    SET @MailSubject = 'Drive D: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive D: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'SQLDBA_Support',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('Y')
    IF @DiskFreeSpace < @YDrivethreshold
    Begin
    SET @MailSubject = 'Drive Y: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive Y: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'profile_name',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    set @mailbody='';
    while (select count(*) from #driveinfo ) >= @count
    begin
    set @tempfspace = (select fspace from #driveinfo where id = @count and drive not in ('C','Q','D','Y'))
    set @tempdrive = (select drive from #driveinfo where id = @count and drive not in ('C','Q','D','Y'))
    if @tempfspace < @OtherDrivethreshold
    BEGIN
    SET @altflag = 1;
    SET @mailbody = @mailbody + '<p>Drive ' + CAST(@tempdrive AS NVARCHAR(10)) + ' has ' + CAST(@tempfspace AS NVARCHAR(10)) + ' MB free</br>'
    --SET @cmd = 'dir /s /-c ' + @tempdrive + ':\ > ' + @logfile
    --EXEC xp_cmdshell @cmd
    END
    set @count = @count + 1
    end
    IF (@altflag = 1)
    BEGIN
    SET @sub = 'Monitor Space on ' + cast(Serverproperty('Machinename') as nVarchar)
    set @mailbody = 'The below drives on ' + cast(Serverproperty('Machinename') as nVarchar) + ' have low disk space then threshold limit ' + CAST(@OtherDrivethreshold as VARCHAR(10)) +' Please free up the space in below specified drives <p>' + @mailbody
    --print 'Space on ' + @tempdrive + ': is very low: ' + str(@tempfspace)+ 'MB'
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Profile name',
    @recipients= @mailto,
    @subject = @sub,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    END
    drop table #driveinfo
    set nocount off
    END
    Thanks Saurabh Sinha
    http://saurabhsinhainblogs.blogspot.in/
    Please click the Mark as answer button and vote as helpful
    if this reply solves your problem

  • Graphical disk space usage analysers

    anyone got any suggestions for other disk space usage analysers?
    it's nice that on ncdu's site a few "similar projects" are mentioned.
    treesize is a lovely little gui app, does what it needs to, clean n no fuss.
    ~but it's not in pacman or the AUR.
    i'm not really interested in filelight, since it will want to drag along half of kde, and similarly i expect baobab is a bloater for the same reason with gnome.  no sign of philesight in the repo either though.
    anyone got any suggestions for other disk space usage analysers?
    perhaps a lighterweight, less DE-dependent, ring-style one?  ...if such a thing exists yet.
    or is xdiskusage the best i'll find in the arch repos?

    Just for the record, you don't have to go to ncdu or treesize webpage to look for alternatives, we have (some of) them listed in our wiki: https://wiki.archlinux.org/index.php/Co … y_Programs
    Maybe you can ask sb to put treesize in the AUR: https://bbs.archlinux.org/viewforum.php?id=38 ?

  • Videos Disk Space Usage

    Good morning,
    When I go to 'About this Mac' I see it says I've got 81 GB of videos on my Mid 2013 MacBook Air (OS X Yosemite 10.10.1), but I am sure I don't have that many, also because when I click on the videos folder in Finder it shows I've got about 10 GB of videos. I've deleted all my iTunes movies, even the folders on iTunes Media. How can I free this space?
    Thank you,
    Luis García

    marco wrote:
    Hi all,
    how do I determine disk space usage by table1, table2 ?Use the _SEGMENTS views for this. Make sure to include dependent objects such as indexes if you're wanting to get an idea of the "total" size of the table. Perhaps you could give us more information on your requirements and what you're seeking to accomplish.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Host disk space usage

    Is there a way to get a report of available disk space for a host?
    We do not autoextend our tablespaces, so whenever we need to add more space
    , we have to shell into the OS (Unix) and run a "df -k" to see what mount points have space available.
    Is it possible to have the OEM Grid send us this info via notification and how?
    Thanks.
    Message was edited by:
    kaapie
    I found an answer: Table/View for Filesystem Space Available Metric?

    marco wrote:
    Hi all,
    how do I determine disk space usage by table1, table2 ?Use the _SEGMENTS views for this. Make sure to include dependent objects such as indexes if you're wanting to get an idea of the "total" size of the table. Perhaps you could give us more information on your requirements and what you're seeking to accomplish.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to limit the amount of disk space Time Machine will use?

    On Yosemite, how do you limit the amount of disk space Time Machine will use?
    I'm using a Seagate Goflex Home 2tb drive connected to my router as a Time Machine backup drive.  I use this for three things 1)Time Machine 2) an occasional backup of  windows document subdirectory  3) backup of music and photos for long term storage.   Doing something like re-partioning the drive is not an option.  I'll just go buy another drive for time machine's sole use. In addition, using software from Seagate is not an option.  I don't want to use their software for different reasons (mainly the GoFlex home is really designed as a "media server"  which I don't use.  I, of course, use iTunes. ) On the Mac, I'm only using about 250GB total but time machine is rapidly using up space.
    Apparently using a terminal command like below, used to work,  but no longer works under Yosemite.
    For a limit of 100gb the number below would be 100 x 1024
    sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize 102400
    To remove the limit, use the following command:
    sudo defaults delete /Library/Preferences/com.apple.TimeMachine MaxSize
    Now, I'm not too familiar with terminal and I'm not about ready to issue a command without knowing exactly what it is going to do.
    Is there an easier "switch" someplace or an app that does this?
    If I don't limit the size, at some point there will not be any space left for windows backups and additional photo and music files.

    Hmm- added "sudo" and there was no error reported:
    sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize xxxxxx
    I guess we'll see.

  • Photos disk space usage

    I don't quite understand what Photos does: it uses 3 times as much disk space as Aperture for the same library.
    My Aperture library with some 53k photos (~200GB on external SSD) and a few hundred videos (~100GB on external SSD) uses around 40GB disk space for thumbnails in various sizes, database and so on.
    After a few hours of importing, the same library in Photos has grown to 119.9GB.
    Settings are: do not copy images to library, no use of iCloud Photo Library (and thus no "optimize Mac space usage").
    Inside the library file, the Thumbnails directory uses a sane-looking 16.66GB, Previews is 7.29GB, and Masters uses only 1.35GB, since almost all images are still stored in Aperture referenced masters on external SSD.
    The largest directory inside the library is Resources > model resources, with a whopping 86GB for 147k objects (images).
    I'm almost sure these are a result of my trying and then disabling iCloud Photo Library during import yesterday afternoon.
    Since Photos does not delete those resources for some reason (disk space and RAM are always cheap and plentiful for Apple, I guess) – is there a way for me to get rid of it if I don't want iCloud Photo Library? Would Photos be smart enough to start culling images here when my system disk space, a paltry 256GB SSD, dwindles towards zero?

    graigsmith wrote:
    it could be because the side bar images are square, maybe it caches the square cropped images.  Theres a setting to not crop the thumbnails on the sidebar.
    wonder if that does anything.
    i have noticed that it's way faster now than in beta.   The cache probably helps speed it up a lot.
    I'm sure that speed is the reason they went with this heavy-handed way of handling faces. This will help a lot when people start having their masters library in the cloud.
    However, when Photos simply fills up my system SSD to the point of OSX complaining that it can't work reliably anymore for lack of space, as it did on the first Aperture library import here and was about to do again hours ago, this really is besides the point somewhat.

  • Bootcamp seems to double disk space usage

    I have bootcamp installed. When I look at all files and programs in all subfolders on my bootcamp "c" drive it says all files combined use 8GB. However, when I look at my c drive's properties it says I am using 16GB. I alloacted 32GB to bootcamp as I did not intend to install media files there. However, at a usage rate of two times what I budgeted for I will run into trouble. When I look at the bootcamp drive from the Mac OS it also says 16GB of usage.
    Can anyone expain where the extra disk usage is going or if there is some setting I need to change to slow down the rate of disk usage?

    You like to stay with an anchient legacy OS with lots of itssues and won't shell out for new version? unless you buy a PC? doesn't make sense.
    You aren' going to see hidden system files. Which is why the difference in used/free space.
    Home Premium 32-bit is under $100, and a version pre-installed on a PC can't be used on another computer. But Windows on Mac is never as good (other than the Mac's aesthetics) as a PC especially if you assemble one yourself and cna customize best parts.
    Go hit Windows XP forums, I'm sure there are tips but your best bet is to resize the partitions or re install.

  • Dbconsole - disk space usage

    I am not using grid control but I am using dbconsole.
    Does dbconsole consume disk space on the server?
    If so, do I have to run any purge routines to free up disk space?
    And in which directories does dbconsole consume disk space?
    Thanks in advance.

    Database user "SYSMAN" contains the complete meta data of Database control. If you want to check the size then check the default datafile assigned to SYSMAN.
    See the below link for data upload frequency
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16230/howto.htm#CHDECDCC
    Hope this helps,
    Regards,
    http://www.oracleracexpert.com/
    Time difference between the RAC nodes is out of sync
    http://www.oracleracexpert.com/2009/12/time-difference-between-rac-nodes-is.html
    Set DISPLAY variable & Enable access control
    http://www.oracleracexpert.com/2009/12/set-display-variable-enable-access.html

  • Disk space usage inaccurate?!?!?

    Hi Guys,
    I have a G4 20Gb iPod running through iTunes (PC format). I run Windows XP Pro with 2 profiles, mine and my wifes. The problem that I have is that when she is logged off and I am logged in my iPod appears to have 5.23Gb of disk space utilised yet I have NO songs sync'd.
    When I explore my iPod thru Windows though and review the 'bootex.txt' text file this is what I see:
    Volume Serial Number is 4883-B334
    Windows has checked the file system and found no problems.
    19448804 KB total disk space.
    216 KB in 54 hidden files.
    24 KB in 6 folders.
    5966916 KB in 1258 files.
    13481644 KB are available.
    I do not use my ipod for anything but music i.e. I don't store files on it and I have tried resetting the unit on several occasions.
    It's quite perplexing, any ideas would be appreciated.

    Will in most cases have to do a restore of the ipod, seems like files are being left over.
    http://docs.info.apple.com/article.html?artnum=60983

  • Scripts for checking Windows Production Servers Disk Space

    Hi Friends,
    I am looking for some simple scripts (DOS Based or which can be run in restrictive env)by which I can get the Servers Disk Space statistics when I run it from my local machine. My L1 team members are responsible for verifying Disk Space primarily C and D:
    everyday and they send status of the same by logging onto each and every servers. If I can get some simple scripts which can be run easily, that would be really helpful. 
    Thanx in Advance. 
    Keep Rocking :)
    Saurabh

    Hi,
    You may want to check this script out from the TechNet Gallery. 
    http://gallery.technet.microsoft.com/PowerShell-Script-to-fa8305ea
    Cheers.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Milton Goh
    MCSE, MCSA, MCITP, MOF, ITIL, AIIM SharePoint Specialist
    Blog |
    Twitter

  • Disk space usage on MacBook Air 256 GB

    I have a MacBook Air 256 GB version (summer 2011). I only have abot 15 GB stored under my personal data and about 30 GB on a partition for Fusion under which Windows 7 is installed. Other major applications are MS Office 2011, nothing else much, other than what came with the laptop. I've cleaned the browser cache.
    However the system information shows only 10 GB free on the Serial ATA; where do I find the files that are clogging up the disc? With files mentioned as above, I would expect at least 150 GB to be free.
    Thanks!

    I'm still betting on the Time Machine backups being the issue.  Apple sometimes "adjusts" reported free space to try and remove this space, though I've seen it get (temporarily) fouled up about this number.  So, for instance, Finder does not count such space as used, but Disk Utility will show it as used.
    Those backups are written to "/.MobileBackups" which (kind of) shows up as the "MobileBackups" drive you will see from time to time. Although items are written out to it and some deletion compression takes place, like your external Time Machine the general rule is that this thing will continue to grow until it (eventually) fills all available space.  That is by design.
    The MobileBackups disk you see in OmniDiskSweeper is the mounted version, and it doesn't appear you will get useful information if you "size" that volume.  However I believe you can get the "real" size of the MobileBackups from a couple of places.
    Officially, About This Mac->More Information and then Storage will tell you about the backups on your flash drive.  That's *usually* correct, though I've seen it get lost on the machine I'm writing this on.  I suspect that's because the machine had been set up using Migration Assistance from a MacBook Pro that had been running Lion for a while and some of that information may have "tainted" the starting point.  Now the system appears to have finally figured out the real space used :-) .
    I'm not sure it's more reliable (since now everything appears to work fine), but you might also get some information if .MobileBackups is involved by running the command in Terminal to show the size of that directly (Finder won't show because only root has permission to look at it).
    I first fired up Terminal to get a command prompt.  From that prompt I entered the following:
    sudo du -sk /.MobileBackups
    You will be asked for your password to authorize the command, but by the Terminal (not the standard OSX dialog).
    When it ran (took a short time) it output the following:
    2728912
    /.MobileBackups
    Which basically agrees with the 2.8GB of backups that About This Mac's More Information screen comes up with now.  And which Finder totally ignores and treats as not used.
    If your drive has as much free space as you expect it should have and either you've had the machine for a while, or you've downloaded and deleted a buch of videos in a directory that's not excluded from Time Machine's backup routines, I could see those "there but not really" files (at least as OSX seems to view them) easily growing to be a pretty good size.  As I noted, if this is the problem OSX will kick parts of that backup off the drive as more space is needed--it's holding them there "just in case" you might want to restore them.
    Have you actually had OSX complain about not having enough free space on the boot drive? 
    What I have found with Lion is that trying to reconcile various utilities views of free drive space can quickly drive you crazy :-) .  The cause always seem to involve accounting for that mobile version of Time Machine backups.

  • Disk Space Usage on my Mac Mini

    Where has all my disk space gone?
    Info on my Mac Mini drive is as follow;
    Capacity: 74.21 GB
    Available: 9.68 GB
    Used: 64.53 GB
    Doing the info on all folders visible in Finder;
    Applications: 5.29 GB
    Developer: 160kB
    Library: 10.75 GB
    System: 2.53 GB
    Users: 13.8 GB
    I don't even have to try and add these up as they are nowhere near the total of 64 GB used, so what directories/files are not visible? Or what is using more than 30 GB of space that I cannot see?
    I trying to free space up and or move things of this drive because is is dog slow right now and it.
    Any insight would be appreiciated.
    Warren

    OK, So I dl'd that and ran it and it only showed an additional swap file directory called "Private" that had about 3 gigs, still about 27 gig's missing.....
    In this program the bottom bar shows 74.2 capacity, 61.5 used, 12.6 available
    Big directories (anything over 1gig)
    13.7 users
    10.7 Lib
    5.28 Apps
    2.53 System
    2.93 Private
    About 35 gigs
    then a bunch under 1 gig that total less than 1 gig,
    so say around 25.5 unaccounted for ?????????????
    nice program but still wondering where my hard drive space has gone.....
    Warren

Maybe you are looking for

  • SRM PO- R/3 PO..Closing issues

    Hi, We are on SRM 5.0 and ECS Scenario We have an issue here. SRM PO has three line items. Replicated fine to the backened item 1 item 2 item 3 Item 1 is fully received and invoiced.(In backend R/3). Item 2 No goods to receive . (Tried no further con

  • Oracle  Standard Manager Max No.Of Requests in Running Status

    Hi, We have a Batch Process program to Kick the Concurrent Programs from the Back-End. Based on the data, there are some programs which kicks more than once. Our issue is while kicking the programs, it kicks the same program multiple times at a time

  • BAPI for Process order change

    Hi, Can any buddy tell me the Bapi used for Process order change with following scenarios: Quantity change Resource change Rescheduling Control key change RM Change Recipe change TECO REVOKE Material shortage check Best Regards, Sheetal.

  • Final Cut Pro 7 DV-ntsc 48 khz Anamorphic -viewer is white- no video

    this was my default sequence preset in FCP 6... worked fine before the upgrade. Other higher quality presets (like apple pro res) work fine.

  • Full index scans

    I am running an SQL query and it seems to be taking a long time to complete. I noticed that all of my table access is by index (full scan). Is there a hint that can be used to access the data by an index range scan instead to help speed up the query.