Oracle-Database

The Moto behind for Creating this Blog is to share the concepts Of Oracle Database.In This Blog,The Information is gathered from Metalink,Expert's Blog and Oracle Documentaion.It Includes Real Time Scenarios,Oracle9i concepts,Oracle10g Concepts,RAC,Streams,Replication... Please do visit my blog and post your comments & advice please.

Tuesday, October 9, 2007

Query to get Used,Free & total Soace of Each Tablespace

SELECT Total.name "Tablespace Name",

Free_space,

(total_space-Free_space) Used_space,

total_space

FROM

(select tablespace_name, sum(bytes/1024/1024) Free_Space

from sys.dba_free_space

group by tablespace_name

) Free,

(select b.name, sum(bytes/1024/1024) TOTAL_SPACE

from sys.v_$datafile a, sys.v_$tablespace B

where a.ts# = b.ts#

group by b.name

) Total

WHERE Free.Tablespace_name = Total.name;
Posted by ayyudba at 5:46 AM
Labels: Space Management

1 comment:

Unknown said...

air jordans
burberry outlet online
michael kors outlet online
michael kors handbags
coach outlet
timberland boots
louis vuitton handbags
basketball shoes
cheap oakley sunglasses
nike store
louis vuitton handbags
michael kors outlet online
nike nfl jerseys
coach factory outlet
nike air force 1
fake watches
ed hardy clothing
tiffany jewelry
louis vuitton outlet
air jordan pas cher
cheap oakley sunglasses
jordan shoes
christian louboutin outlet
celine handbags
christian louboutin outlet
adidas shoes
oakley outlet
ray ban sunglasses outlet
louis vuitton outlet
ray ban sunglasses
coach outlet
nike air max 90
coach factory outlet
cheap toms shoes
timberland outlet
coach outlet
jordans
ralph lauren polo
coach outlet
jordan 4 toro
20166.4wengdongdong

June 3, 2016 at 8:18 PM

Post a Comment

Newer Post Older Post Home
View mobile version
Subscribe to: Post Comments (Atom)

Labels

  • Architecture Of Oracle (8)
  • ASM (4)
  • Auditing (9)
  • Backup-Recovery (11)
  • Cloning Database (1)
  • Dataguard (7)
  • Dynamic Views (1)
  • Explain Plan TKPROF (6)
  • Handy SQL (12)
  • Installation.... (3)
  • Internal Of Indexes (20)
  • Oracle Network (1)
  • Oracle Streams (1)
  • Oracle Utilities (2)
  • Oracle10g (12)
  • Partition tables (1)
  • Performance Tuning (23)
  • RAC (15)
  • RMAN (1)
  • Security in Oracle (2)
  • Space Management (5)
  • statspack in Oracle9i (1)
  • Troubleshooting (1)

Sites for my refernce

  • RAC
  • Oracle-FAQ
  • orafaq.com
  • ASKTOM

Ayyu

Ayyu
To love and win is the best thing......To Love and lose,the next best.........

About Me

ayyudba
HI, pretty happy to introduce about me I am a B.E Mechanical graduate,currently working as a Senior Database Administrator .Around 5 years of experience in Oracle DBA.I am an Oracle10g OCP Certified. Cheers, Ayyu
View my complete profile

Blog Archive

  • ►  2012 (1)
    • ►  May (1)
  • ►  2011 (3)
    • ►  September (1)
    • ►  July (1)
    • ►  May (1)
  • ►  2008 (9)
    • ►  January (9)
  • ▼  2007 (150)
    • ►  December (37)
    • ►  November (14)
    • ▼  October (72)
      • Interpreting Explain plan
      • USING CRON WITH ORACLE
      • HOW TO RUN A SQL PLUS SCRIPT FROM A CRON JOB
      • Contention on SYS.DUAL table-- - - From Vivek Sharma
      • Why isn't my index getting used?---Case Study
      • Why isn't my index getting used?-----1
      • Oracle Monitoring and Performance Tuning FAQ
      • RAC: Ave Receive Time for Current Block is Abnorma...
      • Script to Collect RAC Diagnostic Information (racd...
      • Complete Information of Oracle9i Statspack
      • Script: To Monitor the Usage of Indexes
      • Viewing All Indexes Being Monitored Under Another ...
      • Viewing All Indexes Being Monitored Under Another ...
      • Identifying unused indexes in Oracle9i
      • Identifying Unused Indexes with the ALTER INDEX MO...
      • Managing Tablespace
      • Important Query related to Tablesapce
      • How to drop a datafile from a tablespace?
      • Managing Datafiles
      • Statistics Package (STATSPACK) Guide
      • FAQ for Database Performance
      • Systemwide Tuning using STATSPACK Reports
      • Tuning I/O-related waits
      • Drop Partition Fails Generating ORA-00942 or ORA-0...
      • Performing Switchover in a Data Guard Configuration
      • TX Transaction locks - Example wait scenarios
      • Connect /as sysdba Fails With ORA-09925 for non So...
      • How to Audit Connect AS SYSDBA Using Oracle Server
      • Setting up, Interpreting Auditing Using the Window...
      • Some examples about auditing and output of auditing
      • Quick Reference to Auditing Information
      • AUDIT_SYS_OPERATIONS Set To FALSE Yet Audit Files ...
      • How to Audit Potential Attempts to Break a Usernam...
      • Oracle Database 10g: The Top 20 Features for DBAs
      • Installing Oracle10g Release 1 (10.1.0) on Solaris 9
      • Top 50 RAC-Related Acronyms
      • Trobleshooting
      • Streams....
      • Handy SQL
      • Database Cloning process in case of Shutdown abort
      • Tuning using Log Miner
      • Database Reorganization plan based on Alter Table
      • Index Full Scan
      • Disaster Recovery Scenario
      • SQL Tuning Guidelines for Oracle -Simple Yet Effec...
      • Overview Of Logical Structure Of a Database
      • Overview Of Physical Structure Of a Database
      • Types Of Partitioned Indexes
      • EXP-00037 Export View not compatible
      • Oracle Materialized Views
      • Query to get Used,Free & total Soace of Each Table...
      • How to identify a Called procedure?
      • Get Oracle Table Size
      • Oracle 10g:Exploring Data Pump
      • Hackers in Yoyr Database
      • How Can I Identify Which Index represents Which Pr...
      • Tips On exp & Imp
      • Send a Message to all logged in Users
      • How do I Put current Date in a spool file name?
      • ORA-12154:TNS Could Not Resolve the Connect Identi...
      • Oracle Hints
      • Index Skip Scan
      • ORA-1401 has been discared in oracle 10g
      • Migrating to 10g?Check Wheter u have used -1401
      • Null Hndling with Group Functions
      • Index Orgainized Table-Introduction
      • ORA -2429:Cannot Drop Index used for enforcement o...
      • How to retrieve a Sequence Value?
      • Setting SYSDATE to Fixed Date & time
      • How to retrieve only unlocked rows?
      • How to rename a Index?
      • Introduction to RAC
    • ►  September (5)
    • ►  August (11)
    • ►  July (11)
Awesome Inc. theme. Powered by Blogger.