Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / September 2006

Tip: Looking for answers? Try searching our database.

DDL statements of Tablespaces and Bufferpools

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rAinDeEr - 01 Sep 2006 13:06 GMT
Hi,

Am trying to create the DDL statements of a database using
$ db2look -d TESTDB -e -z db2tar  -i testiii -w test123 -m -o
db2look.sql

I get all the useful information except that of the Bufferpools and
Tablespaces....
Is there any other alternative to get the DDL of the bufferpools and
Tablespaces ??

There are around 100's of tablespaces and bufferpools with varying
sizes and definitions..
Any option how to get the DDL's

Thanks in advance.....
Gert van der Kooij - 01 Sep 2006 13:21 GMT
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks in advance.....

You can use the -l option for that. Copied from the docs:

   If this option is specified, then the db2look utility will generate
DDL for user defined table spaces, database partition groups and buffer
pools. DDL for the following database objects is extracted when using
the -l option:

       *  User-defined table spaces
       *  User-defined database partition groups
       *  User-defined buffer pools
rAinDeEr - 01 Sep 2006 13:29 GMT
Hi......

Thanks ...was able to generate the scripts...

Regards,
Tariq
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.