home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!biosci!parc!rocksanne!sarek!rdutc
- From: rdutc@sarek.xerox (Ray Dutcher)
- Newsgroups: comp.databases.oracle
- Subject: Re: checking for full tablespaces
- Message-ID: <1993Jan22.194420.1436@spectrum.xerox.com>
- Date: 22 Jan 93 19:44:20 GMT
- References: <31794@nntp_server.ems.cdc.com>
- Sender: news@spectrum.xerox.com
- Reply-To: rdutc@sarek.xerox
- Organization: Sun Microsystems, Inc.
- Lines: 8
-
- How about
-
-
- select fs.TABLESPACE_NAME, (sum(fs.bytes) / sum(df.bytes)) * 100 PctFull,
- count(*), max(fs.BLOCKS) max_contig
- from dba_free_space fs, dba_data_files df
- group by fs.TABLESPACE_NAME
- /
-