How can i identify what chunk?
Posted in 1999
Topics: Storage & Space Management, Platform-Specific Issues
Hi gurus. I'm trying to identify the location of a table. To identify the dbspace where tha table reside i use: select dbinfo("dbspace",partnum) location, tabname from systables where partnum is not null and --for exclude fagmented tables tabid > 99 --for exclude system catalog union select dbinfo("dbspace",partn) location, t.tabname from sysfragments f, systables t where t.tabid > 99 and f.tabid = t.tabid and f.fragtipe="T" and work fine. But, Whow i can identify the chunk where a extent reside? working environment: IDS = 7.24.UC7-1 OS = Solaris 2.4 Thanks. --------------------------------------- Isidre PONS ROCA BASE - Gesti' d'Ingressos Locals (Diputacio de Tarragona) Servei de Sistemes de Informacio Av President Lluis Companys 12-C 43005 - Tarragona SPAIN Tel # +34 977 236731 Fax # +34 977 227302 http://www.altanet.org ipons@dtgna.altanet.org ---------------------------------------
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <p>"Pons Roca, Isidre" wrote: <blockquote TYPE=CITE>Hi gurus. <p>I'm trying to identify the location of a table. <p>To identify the dbspace where tha table reside i use: <br> select dbinfo("dbspace",partnum) location, tabname <br> from systables <br> where partnum is not null and --for exclude fagmented tables <br> tabid > 99 --for exclude system catalog <br> union <br> select dbinfo("dbspace",partn) location, t.tabname <br> from sysfragments f, systables t <br> where t.tabid > 99 and <br> f.tabid = t.tabid and <br> f.fragtipe="T" <p>and work fine. <p>But, Whow i can identify the chunk where a extent reside? <br> <p>working environment: <br> IDS = 7.24.UC7-1 <br> OS = Solaris 2.4 <p>Thanks. <p>--------------------------------------- <br> Isidre PONS ROCA <br> BASE - Gestió d'Ingressos Locals <br> (Diputacio de Tarragona) <br> Servei de Sistemes de Informacio <br> Av President Lluis Companys 12-C <br> 43005 - Tarragona <br> SPAIN <br> Tel # +34 977 236731 <br> Fax # +34 977 227302 <br> <a href="http://www.altanet.org">http://www.altanet.org</a> <br> ipons@dtgna.altanet.org <br>---------------------------------------</blockquote> </html>