728x90
Question
SQL to find list of the tables in a particular chunk
Answer
To obtain a list of the tables in a particular chunk, below sql can be used:
select dbinfo( "DBSPACE" , pe_partnum ) dbspace,
dbsname[1,12],
tabname,
pe_chunk,
pe_offset start,
pe_size size
from sysptnext, outer systabnames
where pe_partnum = partnum
and pe_chunk = <chunk number>
order by start, dbsname, tabname;
Replace chunk number with the number of the chunk for which you want to list the table names.
http://www-01.ibm.com/support/docview.wss?uid=swg21661265&myns=swgimgmt&mynp=OCSSGU8G&mync=E
728x90
'Informix > informix reference' 카테고리의 다른 글
How to retrieve IBM Informix Server Configuration File settings from sysmaster (0) | 2014.04.24 |
---|---|
How to get version of Informix JDBC Driver (0) | 2014.03.07 |
Chunk limitations (0) | 2014.01.14 |
Dynamic turning on and off of SQL Explain (0) | 2014.01.02 |
What is the 'partnum' and what does it means? (0) | 2014.01.01 |