
Signature
"Ja, alles meine Herren" sprach Fürst Lichnowsky. "Ooch det roochen?"
"Ja, auch das Rauchen." "Ooch im Tiergarten?" "Ja, auch im Tiergarten
darf geraucht werden, meine Herren." Und so endeten die Barrikadenkämpfe
des 18. März in Berlin
>> I'm a newbie with DB2 and I'd like to know if a standardized layout
>> exists for planning a proper installation.
[quoted text clipped - 6 lines]
> "View SQL" button (or what ever it is named in your language & DB2
> version).
Hi Bernd and thanks for the answer.
Actually I'm looking on how to prepare the filesystem tree in advance.
where to place data, logs, binaries, etc.
If to divide them for instance and/or databases... and if a standard for
such a tree is provided/suggested by IBM or the DB2 community.
Many thanks

Signature
Fabrizio Magni
fabrizio.magni@mycontinent.com
replace mycontinent with europe
Norbert Munkel - 29 Sep 2005 08:20 GMT
Hi Fabrizio,
> Actually I'm looking on how to prepare the filesystem tree in advance.
>
> where to place data, logs, binaries, etc.
>
> If to divide them for instance and/or databases... and if a standard for
> such a tree is provided/suggested by IBM or the DB2 community.
http://publib.boulder.ibm.com/infocenter/db2help/index.jsp
In the index-frame, choose "Design->Database Systems->Physical Database
Design
If you need more information, the reference manuals
Administration Guide: Planning
Administration Guide: Implementation
They should be on the documentation cd and are available online:
http://www.ibm.com/software/data/db2/udb/support/manualsv8.html
As a newbie to db2
http://www.ibm.com/developerworks/db2/newto/
would be a good start.
IBM offers special training for experienced DBAs who are new to DB2.
This might be an option for you as well.
As you are asking for the community:
http://www.idug.org (Independent DB2 Users Group)
Have Fun,
Norbert
Fabrizio Magni - 29 Sep 2005 08:54 GMT
Thank you, Norbert.
The planning guide is more or less what I was looking for.
Just a question.
I cannot find any good reference to where placing the transactional logs.
Tha DB2 on linux HOWTO place them (mirrored) on two different
directories (ex: /db2log1).
Is it the proper way?
Should I generate sublevels to divide the log as than for containers?
(from the planning guide:
<your_directory>/<your_instance>/NODE0000/SQL00001/).
Regards

Signature
Fabrizio Magni
fabrizio.magni@mycontinent.com
replace mycontinent with europe
Norbert Munkel - 29 Sep 2005 11:12 GMT
Hi Fabrizio,
Fabrizio Magni schrieb:
> I cannot find any good reference to where placing the transactional logs.
Can be every directory. It is common sense that placing the logs on
other devices than the database containers is not a bad idea in terms of
performance.
> Tha DB2 on linux HOWTO place them (mirrored) on two different
> directories (ex: /db2log1).
> Is it the proper way?
It is always nice to have a copy ;-)
This should answer the question.
> Should I generate sublevels to divide the log as than for containers?
> (from the planning guide:
> <your_directory>/<your_instance>/NODE0000/SQL00001/).
Depends on your personal environment and taste. But I would not argue
with the authors of the planning guide.
BTW: I just know where the Documentation resides. That does not mean I
have read it completely. ;-)
Best regards,
Norbert
Bernd Hohmann - 29 Sep 2005 12:32 GMT
> Actually I'm looking on how to prepare the filesystem tree in advance.
>
> where to place data, logs, binaries, etc.
Well, I'm usually using a flat design (but I don't have any really large
databases).
There is a directory \DB2DATA where all other databases are placed below.
CREATE DATABASE WEBSHOP ON D:
USING CODESET IBM-850 TERRITORY DE COLLATE
USING SYSTEM USER TABLESPACE MANAGED BY SYSTEM
USING ('d:\DB2DATA\WEBSHOP\USERSPACE') ...
USING ('d:\DB2DATA\WEBSHOP\SYSCAT') ...
USING ('d:\DB2DATA\WEBSHOP\TEMP') ...
and so on.
Bernd

Signature
"Ja, alles meine Herren" sprach Fürst Lichnowsky. "Ooch det roochen?"
"Ja, auch das Rauchen." "Ooch im Tiergarten?" "Ja, auch im Tiergarten
darf geraucht werden, meine Herren." Und so endeten die Barrikadenkämpfe
des 18. März in Berlin