request for a db2 querry
Up to DB2request for a db2 querry
Posted by abcd at November 25. 2009Can any one share a direct db2 SQL to list out the all table names of a given schema into single file
Regards
kanak
Re: request for a db2 querry
Posted by abcd at November 26. 2009THanks,
Can you pls give me the SQL to get the tablespace names and bufferpool names in for a given database
Regards
kanak
Re: request for a db2 querry
Posted by perallis at November 30. 2009TABLESPACES
db2 list tablespaces show detail
or
db2 "select TBSPACE from syscat.tablespaces"
or
db2pd -d <dbname> -tablespaces
or
db2look -d <dbname> -l
BUFFERPOOLS
db2 "select BPNAME from syscat.bufferpools"
or
db2pd -d <dbname> -bufferpools
or
db2look -d <dbname> -l
Powered by
Ploneboard