home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gossip.pyramid.com!pyramid!infmx!davek
- From: davek@informix.com (David Kosenko)
- Newsgroups: comp.databases.informix
- Subject: Re: turbo extents used
- Message-ID: <1992Dec14.172007.22578@informix.com>
- Date: 14 Dec 92 17:20:07 GMT
- References: <1g35g0INN6st@emory.mathcs.emory.edu>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 22
-
- Root@letterkenn-emh1.army.mil writes:
- >Is there a way in Informix-Turbo (not ON-Line) to determine how many extents
- >a table is currently using? I figure one of those handy figurest in tbstat
- >must indicate that....
- >Thanks.
- >Ann Barnes
-
- If the table is active (and you can make it active by going into isql and
- issuing a LOCK TABLE statement), then tbstat -t will show the number of
- extents allocated for the table (nextns). There is a trick, however, in that
- tbstat shows the table with its tblspace number (partition number in Turbo
- parlance) not the table name. To get a list of table names and their
- respective (hex) partition/tblspace numbers, use the following query:
-
- select tabname, hex(partnum) from systables;
-
- Dave
- --
- Disclaimer: These opinions are not those of Informix Software, Inc.
- **************************************************************************
- "I look back with some satisfaction on what an idiot I was when I was 25,
- but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney
-