To know the amount of free space in a tablespace
hi,
I'm learning oracle 9i release 9.2.0.1.0 .I'd created a tablespace 'TOOLS' for being used as the default tablespace for Statspack.
I wish to know the amount of free space available in this tablespace. For this purpose I ran the following query but there was no rows selected :-
SQL> select tablespace_name,bytes from dba_free_space
2 where tablespace_name='TOOLS';
no rows selected
SQL> select name from v$tablespace;
NAME
CWMLITE
DRSYS
EXAMPLE
INDX
ODM
SYSTEM
TOOLS
UNDOTBS1
USERS
XDB
TEMP
Can anyone tell the reason for this.
I tried your query
SQL> select TABLESPACE_NAME,
2 sum(BYTES) Total_free_space,
3 max(BYTES) largest_free_extent
4 from dba_free_space
5 group by TABLESPACE_NAME;
♀TABLESPACE_NAME TOTAL_FREE_SPACE LARGEST_FREE_EXTENT
CWMLITE 11141120 10878976
DRSYS 10813440 10813440
EXAMPLE 131072 131072
INDX 26148864 26148864
ODM 11206656 11206656
SYSTEM 3211264 3080192
UNDOTBS1 199229440 196149248
USERS 26083328 26083328
XDB 196608 196608
9 rows selected.
Again there were no rows for TOOLS tablespace.
Similar Messages
-
How can I know the amount of free RAM when my VI is running?
I need to know the amount of free RAM when my VI is running.
If you are using Windows NT/2000/XP, monitoring free memory is very easy. Simply right click on the task bar and open the Task Manager. Click on the Performance tab, and you'll be able to monitor the physical memory total and available on your PC.
If you are using Windows 9X, you will have to add some optional resources. Open Control Panel, then select Add/Remove Programs. Click on the Windows Setup Tab, and select System Tools, then click the Details... button. Check the boxes to install System Monitor and System Resource Meter. Click OK, and you will be prompted for your Windows CD. Insert the CD and Windows will add the monitoring tools. You can then use them to watch your free resources. -
How can I get the amount of free space that is on my drive to show at the bottom of the drive in Lion.
This is a must feature for me and I may have to go back to Snow Leopard.
Please help!Right click on your desktop and choose "viewer options". Adjust the spacing and the size of your icons and you should be able to see the size of your drive(s) and the free space available on each drive with the exception of your bootcamp drive which will only show the overall size of the drive you have it on. This may be different if you only have one system drive (like on a Mac Book Pro) with a partition containing bootcamp on it. this may only show you the overall capacity, I can't say for sure though as I only use a Mac Pro with 4 seperate Hard Drives which are showing both overall capacity and free space available. Hope this helps
Denisimo -
Adjust the amount of "free space" left on iphone using Autofill Feature
I know that there used to be a way to tell itunes how much space to leave on an ipod/iphone, but I don't see that option any more. I've looked for the info in the help sections and follow the prompts, but it's not under the device menu and then music as it says that it should be. Does anyone know where this option has gone or if it only applies to ipods and not iphones?
I believe my answer is here:
According to iTunes help, you must have the device connected, have manually manage music selected and then select the music folder under your device (iPod or iPhone) in the device pane. From there, you are given the options. According to the help topic, they are in the bottom of the music pane. It says click on the settings button.
Since I don't have manually manage music and I don't want to have to sync my music library again, I cannot test it for you, but if you go to iTunes help, search on autofill, and then select the topic Using Autofill with iPod, iPhone and iPad.
See if that helps. -
I am not a fan of all the changes they have made to finder in Lion.
Sorry, I didn't know this was so old when I replied. I hope it was helpful anyway.
Go to desktop, click on hard drive, command+I or File ... Get Info.
Then you will see the info for that drive and listing the available space. -
How to quickly assess the amount of free space on a hard drive or memory stick?
Before Mavericks there used to be a little reading in the bottom of a finder window telling you how much space was available in whatever drive you were currently viewing, now i have to click get info every time, is there a quicker way?
You may have the Status Bar hidden Peter. With the Finder open, click on View in the menu bar and then select Show Status Bar. You should now see the space available for a selected drive at the bottom of the Finder window.
-
Where do I find the amount of free space left
The answer used to be at the bottom of the finder window you saw howmuch space was being used
You can put that information back into the finder window with
command - / (forward slash).
Equivalently, show the status bar from the Finder view menu.
charlie -
Finder showing wrong amount of free space on Macintosh HD
Hi!
Does anyone know why Finder tells me that the amount of free space on my Mac is 46.53 GB while Disk Utility says there are only 31.89 GB of free space left?Just found the solution in another thread: the "problem" seems to be the local Time Machine Snapshots. Finder ignores them, Disk Utility doesn't.
-
Erratic amount of free space on my hard drive...
Can someone please tell me if they think this is strange, or should I not worry about it.
About a week ago I had 520 gigs of free space on my hard drive (its a 1 TB drive). I decided to defrag it simply because it had been a long time since I had done so. That went off without a hitch. I did not even think to check if the amount of free space had changed afterwards. I then decided to use Disk Utility to 'Erase Free Space'. That ran fine, but afterwards I was shocked to see that I now had 605 gigs (!!!) of free space, meaning either the defrag or the erasing of 'Free Space' freed up some 85 gigs (). Okay, strange I thought, but no complaints here. A couple days went by and I happened to glance at the free space and WOAH, its dropped back down to 570, even though I've added, AT MOST, 5 gigs of photos, music etc. Is it me or does this seem really strange...? Just wondering if anyone has any thoughts on this, reasoning etc...
Much appreciated
AdamHi A,
The used and free space amount are subject to some considerations as use and approach to data storage, here is a link to a previous question about it with reference to two other related posts http://discussions.apple.com/message.jspa?messageID=12743931#12743931
It is also curious that when you create and save a data file it will report a different size once you open and save it again even without changing contents.
Good luck, K. -
how to find the amount of free disk space on my pc
http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+disk+space&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
-
You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?
Forced me to do a little research.
DBCC SQLPERF(logspace)
See also
http://stackoverflow.com/questions/198343/how-can-i-get-the-size-of-the-transaction-log-in-sql-2005-programmatically
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
How Can I Get the Amount of Free Disk Space using windows 7 please share example using GetDiskSpace i have already studied http://digital.ni.com/public.nsf/allkb/9958B8E473C4EF1786256BBC0053B64F
Reading your question a bit more in detail, I doubt whether you are using Win32 API GetDiskFreeSpace function (for which my previous post is the solution) of Programmer's Toolbox GetDiskSpace function.
With reference to the second one, it works even with disks larger than 2GB but you need to use the proper formatting code to display the returned value. I updated my example to show total free space in the debug output window and added a comparison with 3GB value using UInt64TypeCompareUInt from the Programmer's Toolbox. -
Finder showing incorrect amount of free space
After the recent Mountain Lion update, my Finder now shows an incorrect amount of free space.
I have a 500GB hard drive, and I have about 150GB free.
After the update, finder says I have 478.4 GB free?
That looks like the total capacity, after you account for system software. I've done a PRAM and SCM reset, disk verification and repair, but still no joy.
Any thoughts? Is it a bug in the update?Here is the answer....
zchrykng
Re: Hard drive available space shown incorrectly in finder Jan 12, 2012 7:35 PM (in response to ilari Korte)
This is probably like the issue that I was having on my MacBook Pro. If you are using Time Machine on a laptop it stores the diffs in a file on your hard drive. This action can be disabled with the terminal command
sudo tmutil disablelocal
This turns the local Time Machine off. It is up to you if you want to do this, but Finder shows this space as unused since it can be overwritten when needed. It saved me over a hundred GBs of space.
MacBook Pro, Mac OS X (10.7.2) -
Finder reports wrong amount of free space
Finder is reporting the wrong amount of free space on all my drives. It's not from time machine local backups, because I've disabled those. In fact, it's reporting MORE free space than there should be! In all cases, Disk Utility shows the correct amount. (So does the Terminal command df.)
eg:
external 120GB hard drive (USB) - finder says 137.83GB free (more than the drive can hold, nice) - disk util says 70 used 49.9 free... better
external 1TB (firewire) - finder says 276.66GB free - disk util says 783.72 used 216.15 free
internal 120GB SSD - finder says 108.32GB - disk util says 78.6GB used, 40.5 free
Anyway to fix Finder?I noticed the same problem. I assumed it was from Time Machine's local backups (which exactly account for the space discrepancy between Finder and Disk Utility on my machine). But, as you say, you've disabled Time Machine local "snapshots." I can only assume you deleted the local backups (to free up the space they were using), emptied your Trash and are still showing the discrepancy.
-
Amount of free space not consistent on iPhone 4 with iTunes 10
The amount indicated as "free space" does not stay consistent in iTunes 10. The value keeps changing.
Addenda: 1) The free space indicator does not update in real time (e.g., while adding new music to the iPod) as it did in previous versions if iTunes.
2) The error(s) in the iTunes free space calculations can cause syncing probems when the iPod is almost full. For example, I might try to add 400K worth of music on my iPod, which has about twice that much free space. iTunes 10 will tell me there's not enough room on the iPod and will not synch. Identical library on a different computer running iTunes 9 will allow the same iPod to synch. Interestingly, in this scenario, iTunes 10 will give me a different number for the amount of free storage required to update each time I press the "Sync" button.
Maybe you are looking for
-
Swipe doesn't work on my mobile.
Hi everyone, My swipe on moblie doesn't work. I checked "enable swipe" and still doesn't work. I don't know what's the right link for the phone but here's my link and just type it on your phone: EFS2 Soccer Clinic: Media Maybe I missed something or w
-
I have a new PC (using windows 7 ....didn't like windows 8) and want to sync with my iTunes account to access apps as well as sync my iPad and iPhone. I've authorized the new PC on iTunes but it won't recognize it. I have removed the old pc from my a
-
Exception while doing bulk insertion
Hi, I am trying to do a bulk insert of records into a table using my application. I am using prepared statement to achieve this. I am getting the following exception while doing bulk insert. java.lang.NegativeArraySizeException I am using SQL Server
-
Hi all, I am using Flash CS5 on MAC/OS10.6. I created a Flash project a few months ago which was published as HTML and SWF. Everything ran beautifly until today. Infact it ran great yesterday. Now when I click on the HTML or SWF, the video controls a
-
Option to extend partition is grayed out in windows 2008 R2
Option to extend partition is grayed out in windows 2008 R2