+

Search Tips   |   Advanced Search

Plan for IBM DB2 for i


When planning to transfer data to IBM DB2 for i, 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.

Before beginning:

DB2 is integrated with IBM i, but create the required databases and users and grant the proper privileges to those users. WebSphere Portal can create the databases for you.

The database names and users in this topic are suggested values and provide consistency throughout the documentation. Replace these values with values in the environment.

WebSphere Portal uses Apache Derby during installation, and supports configuration of DB2 for an IBM System i5 system. The Derby database is ideal for a test environment. For a production environment, we can move from the installed Derby database to IBM DB2 for i, but note that there is no option to transfer back to Derby.

The IBM DB2 for i database enables you to access and manage server data through an application or a user interface. In addition to providing access to and protection for the data, IBM DB2 Universal Databaseā„¢ for i provides advanced functions, such as referential integrity and parallel database processing.

IBM DB2 for i is the relational database managethat is fully integrated on the IBM i system. IBM DB2 for i also provides features such as triggers, stored procedures, and dynamic bitmapped indexinthat serve a wide variety of application types. These applications range from traditional host-based applications to client/server solutions to business intelligence applications.

As an interface to IBM DB2 for i, the DB2 Query Manager and Structured Query Language (SQL) Development Kit for System i5 add an interactive query and report writing interface, and precompilers and tools to assist in writing SQL application programs in high-level programming languages. The SQL implementation for OS/400 allows us to define, manipulate, query, and control access to the IBM i data. It works equally well with IBM i files and SQL tables.

T use one database to hold all WebSphere Portal, Member Manager, and content publishing information, only one user profile is required. Additional user profiles are necessary only if using multiple IBM i systems or separate databases are required.

When WebSphere Portal creates databases, it uses the database names specified in wkplc_dbdomain.properties, located in the UserData directory wp_profile_root/ConfigEngine/properties. It is possible to create up to six different databases by setting different values in wkplc_dbdomain.properties.

While configuring Portal to use one database is technically possible, use separate databases for scalability and performance tuning reasons. To use a single shared database, replace each database and user variable with the name of the database and database user, respectively.

The format for database names is *LOCAL/database_name for a Type 2 database connection, or a fully qualified server name such as myserver.mycompany.com/database_name for a Type 4 database connection.

In a local database environment, WebSphere Portal and IBM DB2 for i can be accessed with either a Type 4 or Type 2 connection. Type 4 is the default and recommended connection.

In a remote database environment, WebSphere Portal connects directly to the DB2 server (JDBC Type 4 connection).

  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 is shared.

    Application DB name Space required
    WebSphere Portal

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

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

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

    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 analysis of site activity and generating reports.

    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.

    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.


Parent: Database considerations
Related:

http://www.ibm.com/support/docview.wss?uid=swg27007791