+

Search Tips   |   Advanced Search

Plan for DB2 for z/OS


When planning to transfer data to IBM DB2 Universal Database™ for z/OS, you should consider the databases and user information, such as database names, what data is stored, and the database space needed. Some fix packs require steps prior to the transfer task to complete successfully.

When planning to transfer data to IBM DB2 Universal Database for z/OS, consider the following factors:

When planning to install DB2 for z/OS to use as the database for WebSphere Portal, consider the following:

The database names and users on this page are suggested values and provide consistency throughout the documentation. Replace these values with values in the environment. The database name cannot exceed eight characters and can only contain letters and numbers.

The WebSphere Portal Customization Dialog generates jobs for creating the databases and end users, and granting privileges to these end users. The following table gives an overview of the databases WebSphere Portal requires.

To use a single DB2 for z/OS subsystem to hold data for more than one portal installation, use the same user name but a separate schema name for each database domain. For Member Manager, the user name must match the schema; the same database user cannot be used for the Member Manager databases of two distinct portal installations.

To use a single DB2 for z/OS subsystem to hold data for more than one portal installation, create unique schema names for each portal installation to prevent table name conflicts. For Member Manager data, create and use a unique Member Manager database user ID for each portal instance, to prevent table name conflicts. We can share some of the portal databases between the portal instances. For more information, refer to the topis that explains sharing database domains between separate portal instances.

Each portal installation must be in separate and distinct WAS cells. If the portals are installed in the same file system, each must be installed in a separate and unique directory. If the portals are installed in different file systems, the same directory name can be used.

Each portal installation must be in separate and distinct WAS cells and in separate and unique directories.

In a remote database environment, WebSphere Portal and DB2 Connect are installed on one machine (the local machine) and the DB2 for z/OS server is installed on a separate machine (the remote machine).

  1. Review the different databases shown in the following table and replace these values with the values in the environment; schema names must be different when the database subsystem is shared. Configure WebSphere Portal to use one database. However, using separate databases will improve scalability and performance.

    Application DB name Space required
    WebSphere Portal

    Used for WebSphere Portal (at a minimum) or to hold all data. Stores information about user customizations, such as pages, and user profile and login information.

    • relzos

    • commzos

    • custzos

    Depends on the number of WebSphere Portal users and portal objects, such as pages and portlets.
    Personalization, Web Content Manager

    Contains documents and other content, personalization rules, personalization campaigns, and document library configuration information.

    jcrdbzos Depends on the number and size of Personalization rules and campaigns, and the number and size of items and elements created in Web Content Manager.
    Feedback

    Information logged by the Web site for generating reports for analysis of site activity.

    • Database: fdbkzos

    • Table space: fdbkdbts

    Depends on the amount of traffic to the site. The amount of data logged per login-enabled page can vary.
    LikeMinds

    Contains the recommendations to be displayed to users when their interactions with the Web site have been analyzed and predictions generated.

    • Database: lmdbzos

    • Table space: lmdbts

    Depends on the amount of traffic to the site.

    Application and domains DB names Function Space required

    • Release

    • Customization

    • Community

    Used for WebSphere Portal (at a minimum) or to hold all data. Stores information about user customizations, such as pages, and user profile and login information.

    • WPSDBREL

    • WPSDBCUS

    • WPSDBCOM

    Core user who owns approximately 230 tables in total for all database domains used for WebSphere Portal core objects, including tables that store the page customizations made by users:

    • Release, approximately 120

    • Community, approximately 80

    • Customization, approximately 30

    Depends on the number of WebSphere Portal users and portal objects, such as pages and portlets.

    Contains documents and other content, personalization rules, personalization campaigns, and document library configuration information.

    The JCR domain needs to be unique, specifically, the JCR prefix cannot be the same exact (3 or 4) letters as the beginning of another database name; for example, it cannot be the same 3 or 4 letters as the LikeMinds domain.

    WPSDBJCR While only one database is indicated here, set the appropriate values in the icm.properties file to specify the tables for each database and the database prefix and create the necessary JCR databases. Depends on the size and number of documents created and uploaded, the number and size of Personalization rules and campaigns, and number of Web Content Manager objects.

    Application and domains DB names Function Space required

    Information logged by the Web site for generating reports for analysis of site activity.

    WPSDBFEE   Depends on the amount of traffic to the site. The amount of data logged per login-enabled page can vary.

    Application and domains DB names Function Space required

    Contains the recommendations to be displayed to users when their interactions with the Web site have been analyzed and predictions generated.

    WPSDBLIK   Depends on the amount of traffic to the site.

  2. Review the tables and types of objects owned by each user. The architecture allows each of the following users to exist in the same database. All table spaces are approximately 2.8 GB by default. The size increases with the use of Java Content Repository.

    Application Database user placeholder Function
    WebSphere Portal

    • releaseusr
    • communityusr
    • customizationusr

    Core user who owns approximately 230 tables, used for WebSphere Portal core objects, which includes tables that store the user customizations made to pages.
    Java Content Repository

    • jcr

    Java Content Repository user who owns at least 1130 tables. The number could be higher depending on usage.
    Feedback

    • feedback

    Feedback user who owns approximately 50 tables used for logging site and personalization usage.
    LikeMinds

    • likeminds

    LikeMinds user who owns approximately 15 tables used to hold the Web site usage analysis routines and recommendation text.

  3. Review the tables and types of objects owned by each user. The WebSphere Portal architecture allows each of the following users to be the same.

    Application Database user placeholder Runtime database user Function
    WebSphere Portal

    Core user who owns tables for each domain, used for WebSphere Portal core objects, including tables that store the page customizations made by users:

    • reladm

    • comadm

    • cusadm

    An optional database user who can connect to the database domain to perform configuration tasks.

    • reladm owns 121 tables, used for WebSphere Portal core objects, for example, page hierarchy definitions.

    • comadm owns 77 tables, used for WebSphere Portal core objects,

    • cusadm owns 30 tables, used for WebSphere Portal core objects, which includes tables that store the user customizations made to pages.

    Java Content Repository icmadmin

    An optional database user who can connect to the Java Content Repository database domain to perform configuration tasks.

    Java Content Repository user who owns at least 1130 tables; the number could be higher depending on usage.
    Feedback feedback

    An optional database user who can connect to the Feedback database domain to perform configuration tasks.

    Feedback user who owns approximately 50 tables used for logging site and personalization usage.
    LikeMinds lmadm

    An optional database user who can connect to the LikeMinds database domain to perform configuration tasks.

    LikeMinds user who owns approximately 15 tables used to hold the web site usage analysis routines and recommendation text.

  4. If the Java Content Repository is using declared global temporary tables (DGTT), you must have the appropriate TEMP database and TEMP tablespaces configured prior to use. The TEMP database may also require additional allocated space. Use the following information as a guideline to create a TEMP database and a TEMP tablespace to contain the declared temporary tables:

    on how to create a TEMP database and a TEMP tablespace by database
    Database version Example
    DB2 for z/OS v8 Create a TEMP database and tablespace if it does not already exist. The following is a representative example of a TEMP database definition:
    CREATE DATABASE TEMP AS TEMP STOGROUP SYSDEFLT;
    CREATE TABLESPACE TEMP IN TEMP   USING STOGROUP SYSDEFLT   BUFFERPOOL BP8   SEGSIZE 32;  
    This version also requires work file database storage for SQL statemento that require working storage, such as sorts. This requires the addition of a table space to support sorting operations in addition to the TEMP database.
    DB2 for z/OS Version 9 in a non-data sharing environment The TEMP database is DSNDB07 and is created during database installation. Temporary table spaces are added to the existing TEMP database. The following is a representative example of a temporary table space:

      CREATE TABLESPACE ICMTEMP IN DSNDB07 USING STOGROUP SYSDEFLT BUFFERPOOL BP8 SEGSIZE 32;

    In this version the work file database and TEMP databases are combined.

    See the DB2 for z/OS information center for the procedures and sizing recommendations for creating work file databases.

    DB2 for z/OS Version 9 in a data sharing environment Create a WORKFILE database. Only one WORKFILE database can be created per subsystem. The following is a representative example for creating a WORKFILE database and temporary table space:

      CREATE DATABASE WORKTEMP AS WORKFILE STOGROUP SYSDEFLT; CREATE TABLESPACE ICMTEMP IN WORKTEMP USING STOGROUP SYSDEFLT BUFFERPOOL BP8 SEGSIZE 32;

    In this version the work file database and TEMP databases are combined.

    See the DB2 for z/OS information center for the procedures and sizing recommendations for creating work file databases.

    Refer to the DB2 for z/OS documentation for additional information on setting up the TEMP database and TEMP tablespaces.


Parent: Database considerations
Related:

System requirements

http://www.ibm.com/software/data/pubs/
Related:

DB2 for z/OS

DB2 Installation Guide