![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Would this be correct on 9.4? select dbsname, tabname, count(*) as buffer_count from sysextents se, sysbufhdr bh where bh.offset between se.offset and (se.offset + se.size - 1) group and bh.chunk = se.chunk by 1, 2 order by 3 desc, 1, 2 |
#5
| |||
| |||
|
|
On Fri, 22 Aug 2003 11:18:08 -0400, Kristofer Andersson wrote: Yup, my 9.4 wasn't up when I tested the script. New version with an option to filter out the TBLSpace entries. Also now works for all versions of IDS through 94. and with either dbaccess or sqlcmd. |
#6
| |||
| |||
|
|
"Art S. Kagel" <kagel (AT) bloomberg (DOT) net> wrote in message news:<pan.2003.08.22.14.29.29.722621.10594 (AT) bloomberg (DOT) net>... On Fri, 22 Aug 2003 11:18:08 -0400, Kristofer Andersson wrote: Yup, my 9.4 wasn't up when I tested the script. New version with an option to filter out the TBLSpace entries. Also now works for all versions of IDS through 94. and with either dbaccess or sqlcmd. Thanks. What is TBLSpace and what are those entries with numeric names for tabname (678_1234 etc)? Kristofer |
#7
| |||
| |||
|
|
Thanks, that is very useful. Gave me a list of tables that need better indexes. ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |