Unix Technical Forum

way to speed-up/tune database creation?

This is a discussion on way to speed-up/tune database creation? within the DB2 forums, part of the Database Server Software category; --> Howdy, is there a way to speed-up or tune the database creation? On my laptop (DB2-UDB PE) it takes ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:52 AM
Hans Horn
 
Posts: n/a
Default way to speed-up/tune database creation?

Howdy,

is there a way to speed-up or tune the database creation?
On my laptop (DB2-UDB PE) it takes 2 minutes to create a virgin database.
This virgin, btw. is 30MBytes heavy.
Is there a way to reduce its size?

H.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:53 AM
JoKlassen@email.com
 
Posts: n/a
Default Re: way to speed-up/tune database creation?

Hans Horn wrote:
> Howdy,
>
> is there a way to speed-up or tune the database creation?

Use faster disk and cpu(s) :-)
> On my laptop (DB2-UDB PE) it takes 2 minutes to create a virgin database.
> This virgin, btw. is 30MBytes heavy.
> Is there a way to reduce its size?

Not that I'm aware of. The system catalog for an empty database needs
approx. 18 MB and per default there are 3 log files each 4 MB. You
might want to decrease the LOGFILSIZ aftre database creation to save
some of the 12 MB for log files.
>
> H.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:53 AM
Anton Versteeg via DBMonster.com
 
Posts: n/a
Default Re: way to speed-up/tune database creation?

I don't think you can speed it up much.
The space is taken by log files (12MB) and the catalog tables (20 MB)

--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....m-db2/200505/1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:53 AM
Serge Rielau
 
Posts: n/a
Default Re: way to speed-up/tune database creation?

Hans Horn wrote:
> Howdy,
>
> is there a way to speed-up or tune the database creation?
> On my laptop (DB2-UDB PE) it takes 2 minutes to create a virgin database.
> This virgin, btw. is 30MBytes heavy.
> Is there a way to reduce its size?
>
> H.
>
>

Aside from the size, may I ask why the time is an issue?
This reminds me on a certain competitive report where DBA's allegedly
spent more tim ecreating DBs than managing loads and backups....
Ths assumption by us developers is that CREATE DB is the odd one, thus
it is not exactly tuned for speed.
Time to creat a DB increased a lot with V8 btw because CREATE DB now
includes binding all sorts of packages for the clients.
The result is that FAQ about NULLID. packages have pretty much
disapeared..

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com