Skip to main content

PureData System for Transactions T1500 Fix Pack 1: Restrictions and Limitations for IBM database tools


Product documentation


Abstract

Use the IBM database tools to perform administration and development tasks on databases in PureData System for Transactions.

Content

This technote is focused towards the database users who perform administrative or development tasks on databases in IBM PureData System for Transactions.

Important: You must install the required interim fix for IBM Data Studio V3.1.1 to connect to databases in IBM PureData System for Transactions. For information on how to download and install the required interim fix, see the technote at http://www.ibm.com/support/docview.wss?uid=swg27036336



IBM Database Tools Overview

The following IBM database tools are covered in this technote:

  • IBM Data Studio V3.1.1
  • The database performance monitor in IBM PureData System for Transactions

You use the web-based interface of IBM PureData System for Transactions to create and deploy DB2 pureScale databases in the cloud. You can then use IBM Data Studio to perform certain administration and development tasks on the DB2 pureScale instances and individual databases. For more information, see Using the workload console.

Each DB2 pureScale database is provisioned with a license for IBM Optim Query Workload Tuner, so you can use Data Studio to tune your SQL queries.

If you enable extended insight monitoring with the database performance monitor in IBM PureData System for Transactions, you can then access the performance metrics from the IBM Data Studio client.


Connecting to Databases

You create a connection to a database in IBM PureData System for Transactions by specifying the database connection information in the client. For details about obtaining the connection information and creating a connection to a database, see Connecting to databases in the information center.

The database performance monitor maintains a separate repository database named PERFDB, which you can also connect to with Data Studio for performance metrics and query workload tuning.

To connect to the PERFDB database with Data Studio, you use a JDBC URL which is similar to the URL you use to access the workload console in IBM PureData System for Transactions, for example jdbc:db2://example.server.com:50000/PERFDB. For information about how to specify the connection information in the client, see Creating a connection in the client in the information center.

To view the JDBC URL for the repository database of the database performance monitor, you must navigate to the system console of IBM PureData System for Transactions by clicking System Console > Hardware > Management Nodes and then clicking the management node.

You must use the tooluser user ID and password to connect to and access the PERFDB database. For more information about the tooluser user ID, see Required system-level user accounts in the information center.

Remember: When required, IBM Data Studio uses the JDBC URL to establish SSH connectivity. Not having an SSH connection will disable a number of IBM Data Studio features, for example: CLP execution of scripts, Remote System Explorer services for data movement, and execution of database operations that are available only through SSH.


User Groups and Privileges for Database Users

Use this section to create user groups and grant privileges to other user IDs that use Data Studio to connect to databases in PureData System for Transactions. You must grant the necessary privileges to the other user IDs before those database users can perform database administration and development tasks on the database.

By default, when you create a database in PureData System for Transactions, only the default user that is created with the database has the privileges to perform database tasks in Data Studio.

Before other database users can access the database with Data Studio, the default database user must create a user group on the database host and then grant privileges to that user group on the database. For information about user groups, see Managing user groups in the information center.

In the following sections, we will refer to the default user ID that is created with a database as user ID instuser.

1. Create a user group with non-instance-level privileges:

  1. Log in to the Workload Console with a user ID that has the privileges to perform administrative tasks, for example, log in with the admin user ID. For information about the user privileges in PureData System for Transactions, see User Roles in the information center.
  2. In the Workload Console, click Manage:
  3. In the Operation menu, click User Groups:
  4. Create a new user group by clicking and specifying the required fields:


    In this example, the admin user created the DBAGRP user group and granted it non-instance-level privileges.

2. Grant privileges to the user group on the database:

To grant privileges to a user group, you must use the default database user ID instuser in Data Studio to run SQL statements against the database.

For example, the following statements grant the required privileges for a group named DBAGRP by using the DBADM, CREATE_NOT_FENCED, LOAD, and CREATE_EXTERNAL_ROUTINE commands:

connect to mydb user instuser using instuser_password
grant CONNECT on database to DBAGRP
grant DBADM on database to DBAGRP
grant CREATE_NOT_FENCED on database to DBAGRP
grant CREATE_EXTERNAL_ROUTINE on database to DBAGRP


Result: All users that are members of the DBAGRP group will inherit the privileges for performing database administration and application development tasks in Data Studio.


Information Centers

For more information about these products, see the following topics the IBM PureData System for Transactions Information Center:


Restrictions, Known Issues, and Workarounds

See the following restrictions, known issues, and workarounds for IBM database tools when connected to databases in IBM PureData System for Transactions:


For information about the known issues for IBM PureData System for Transactions, see PureData System for Transactions T1500 Fix Pack 1.0.0.1 readme document


Restrictions

The following restrictions exist for IBM database tools:



Restrictions for IBM Data Studio


Do not use Data Studio to perform instance level operations on databases

You must not use IBM Data Studio to perform instance level operations on databases in IBM PureData System for Transactions. Use the system and workload consoles of IBM PureData System for Transactions to perform those tasks.



Monitoring databases and managing jobs

The integrated database monitoring and job management features in the Data Studio client are not supported.

To monitor databases and manage jobs in IBM PureData System for Transactions, you can use the following features:

Monitoring databases:
You can use the in the database performance monitor in IBM PureData System for Transactions. For more information, see Database monitoring with the database performance monitor in the information center.
Managing jobs:
You can use either the database performance monitor or the database configuration manager in IBM PureData System for Transactions. For more information, see Creating and managing jobs in the information center.

Note: If issues occur while using the Data Studio web console to monitor databases and manage jobs, you can use the database monitoring and job management features in IBM PureData System for Transactions.



You cannot collect performance data within IBM Data Studio V3.1.1

Collecting performance data in the IBM Data Studio full client is currently not supported by the database performance monitor in IBM PureData System for Transactions. Currently, you cannot use the IBM Data Studio client to collect performance data from the database performance monitor in the following views:

  • SQL Outline view
  • Performance metrics tab of the SQL and XQuery editor view


Restrictions for Database Performance Monitor


Firefox version 20.0 is unsupported

The GUI fails to load the login page or provide any corrective instructions when viewed through the latest version of Firefox (20.0) released on April 2, 2013.

You cannot update passwords for user IDs that are used to create monitored databases

A database is created in IBM PureData System for Transactions with a default user ID and password, which gets passed to the database performance monitor so that it has permission to monitor that database.

Currently, you cannot change the user ID or password for a database that you want to monitor with the database performance monitor. Changes to the user ID or password do not get propagated to the database performance monitor and you will no longer be able to monitor the health and performance of that database.



You cannot import metadata from IBM Optim pureQuery Runtime applications

Importing metadata from pureQuery applications into the database performance monitor is unsupported. Currently, you cannot import the detailed information about SQL statements from the application to display Java package names, method names, and line numbers in the Extended Insight Dashboard.



You cannot export and import connection profiles from the database performance monitor to IBM Data Studio

Currently, exporting database connection information from the database performance monitor and then importing it into IBM Data Studio is unsupported.



Do not change the settings on the database performance monitor Monitoring Server panel

When you access the database performance monitor Product Setup menu as an administrative user (for example: http:// : /dbperfmon/setup/product/index.jsp ), the Monitoring Server panel allows you to change the pre-configured Extended Insight ports and external IP address that are used by network address translators (NAT). However, changing these settings after they have been configured by IBM will cause the Extended Insight functionality of the database performance monitor to become unusable.


Known Issues and Workarounds

The following known issues and workarounds exist for IBM database tools:



Known Issues and Workarounds for IBM Data Studio


Migrating data

To migrate data that exists in local databases to databases in IBM PureData System for Transactions, you must follow the steps in the following section.

To migrate your data:

  1. In IBM Data Studio V3.1.1 open to the Database Administration perspective.
  2. Create a connection to the IBM PureData System for Transactions database. In the Administration Explorer, select the virtual machine host -> db2inst1 -> db, where the virtual machine host is the IP address of the virtual machine that hosts the DB2 database, and db is the name of the database on the virtual machine host.
  3. Right-click Change plans and create a new change plan named, for example, migration.
  4. On the menu bar, select Migrate > Compare and Migrate Objects and then migrate the source schema to the IBM PureData System for Transactions database.
  5. On the menu bar, select Migrate > Migrate Data and then migrate the data to the IBM PureData System for Transactions database.
    Important: The IBM Data Studio V3.1.1 migration services expect that a shared file system exists between the source host and the target host in order to move data files for the purpose of migration. If a shared file system does not exist between the two systems, create a directory path which is identical on both systems, for example, /tmp, and then set the export path in the generated data migration script.
    To set the export path in the generated data migration script, click “” in the Review and Deploy dialog box and then specify the directory. See the example in Figure 2.


    Figure 2: Setting the export path in the Review and Deploy dialog box

  6. Click Edit to edit the generated script:
    1. Specify the local connection.
    2. Highlight all of the export statements.
    3. Right-click the selection and select Run SQL to run the export statements on the local system.
      Result:
      The exported files are created in the source host /tmp directory. See the example in Figure 3.


    Figure 3: Editing the script generated from the data migration wizard

  7. Switch to the Remote System Explorer perspective and then connect to both the source and target hosts. Copy the files from the source /tmp directory to the target /tmp directory using the copy/paste function in the Remote System Explorer perspective.
  8. Return to the generated script in the script editor and then set the connection to the remote system.
  9. Highlight the remaining portion of the generated script.
  10. Right-click the selection and select Run SQL to load the data onto the target database.


Migrating tables

The following known issues and workarounds exist when migrating tables with IBM Data Studio:

  1. Statements that include clauses that are unsupported by DB2 pureScale databases result in an error:
    Example of a statement that includes an unsupported clause:
    CREATE TABLE DB2ADMIN.EMPMDC ( EMPNO INTEGER, DEPT INTEGER, DIV INTEGER ) ORGANIZE BY DIMENSIONS ( ( DEPT ), ( DIV ))
    Error due to the unsupported clause:
    The statement, clause, command, API, or function is not supported in a DB2 pureScale environment. Reason code: 6".. SQLCODE=-1419, SQLSTATE=56038, DRIVER=4.13.111

  2. Statements for creating MQT tables in generated scripts are out of order:
    For example, the following statement fails during schema migration:
    CREATE TABLE DB2ADMIN.MQT1 ( EMPNO, FIRSTNME, MIDINIT, LASTNAME, WORKDEPT, PHONENO, HIREDATE, JOB, EDLEVEL, SEX, BIRTHDATE, SALARY, BONUS, COMM ) AS ( select * from db2admin.employee where lastname > 'A' ) DATA INITIALLY DEFERRED REFRESH IMMEDIATE MAINTAINED BY SYSTEM COMPRESS YES ADAPTIVE VALUE COMPRESSION
    In the example, the statement for db2admin.employee appears after the create table statement, but before an alter statement which defines the primary key EMPNO for db2admin.employee.

    Workaround:

    To resolve this issue, you must revise the script by moving the alter statement before the create table statement.

  3. IBM Data Studio generates exports statements for tables that use the IXF format and incorrectly generates matching load statements that use the DEL format when migrating data from a DB2 database to a DB2 PureScale database.
    EXPORT/LOAD with IXF/DEL formats as shown in the screen shot below. For clarity, the screen shot only shows the statements generated for a single table.


    Figure 4: Review and Deploy dialog box



    Workaround:

    You must edit the file by clicking Edit in the Review and Deploy dialog box and then replace DEL with IXF, so that both export and load use the same file format.


Opening the IBM Query Tuning perspective from the database performance monitor

The Tune All feature requires you to restart the database performance monitor server before you can use it.

Workaround:

To identify and analyze single SQL statements, you can open the IBM Query Tuning perspective in IBM Data Studio from the database performance monitor in IBM PureData System for Transactions.

For scenario information about using the IBM Query Tuning perspective in IBM Data Studio with the database performance monitor, see the topic, Scenarios for database monitoring in the information center.

To open the IBM Query Tuning perspective from the database performance monitor:

  1. From the workload console, select the database that you want to monitor by clicking Database > DB2 pureScale Instances to display the database information, including the Endpoint and Monitor links. The Monitor link shows if the database performance monitor is up and running, see the example in Figure 5:


    Figure 5: Monitor link in the workload console

  2. Open the SQL Statements dashboard to view a list of recent SQL statements, including any long running SQL statements:
    1. Click the Monitor link to open the database performance monitor page.
    2. On the database performance monitor page, click Performance > SQL Statements, see the example in Figure 6:


      Figure 6: SQL Statements dashboard of the database performance monitor

  3. Ensure that the Data Studio full client is up and running. See the topic, Starting the IBM Data Studio full client in the IBM PureData System for Transactions Information Center for more information.

    Important: The IBM Data Studio full client must be installed on the same computer as the browser that you are using to access the database performance monitor. See the topic, Finding problematic SQL by using the SQL Statements dashboard in the IBM PureData System for Transactions Information Center for prerequisite information.
  4. Open the IBM Query Tuning perspective in the Data Studio full client by clicking Tune in the SQL Statements dashboard as circled in Figure 6.

    Important: To use the Tune All feature, you must restart the database performance monitor server by clicking Restart Database Tools in the System Console:


    Figure 7: Restart Database Tools



    The IBM Query Tuning perspective opens in the Data Studio full client, displaying the same SQL statement or set of SQL statements (also known as query workloads) that are displayed in the SQL Statements dashboard in the database performance monitor.


    Result: You can now run the query tuning advisors in the IBM Query Tuning perspective in IBM Data Studio to analyze the SQL statements.


Known Issues and Workarounds for the Database Performance Monitor


Cluster Caching Facility (CF) performance metrics are not displayed on the Overview dashboard

Some CF metrics are not displayed on the Overview dashboard of the database performance monitor. You might see a blank value or a "--" instead of the metric value.

Workaround:

You can view any available CF metrics on the System dashboard of the database performance monitor.



The database configuration manager does not open from the SQL Statements dashboard

Clicking View Configuration Changes in the SQL Statements dashboard of the database performance monitor does not open the database configuration manager.

Workaround:

Open the database configuration manager with one of the following methods:

Open the database configuration manager by using a URL

  1. Open the following URL in your browser:
    http://server:55000/dbconfigmgr/ipasindex.jsp#tasks=ocm.configChanges.task.id&activeTask=ocm.configChanges.task.id
    Where server is the IP address for the workload console.
  2. Select the Configuration Changes tab.
  3. Select the managed connection from the managed connections list.

Navigate to the database configuration manager in the workload console

  1. Open the database configuration manager by clicking Database > Database Configuration Manager.
  2. Open the Configuration Changes tab by clicking Show > Configuration Changes.
  3. Select the managed connection from the managed connections list.


Database performance monitor shows an error when you attempt to send an alert via email

On the Alerts page of the database performance monitor, there is an option to send an alert from the Alert List tab via email.

When you click the Send button, the following error is displayed:
EML37403E: The notification was not sent. Review the reason, take corrective action if possible, and try again. Reason: EMail not configured.

Workaround:

To configure the SMTP mail server for the database performance monitor, complete the following steps:

  1. As an administrative user, go to the setup URL for the database performance monitor:
    http://host:port/dbperfmon/setup/product/index.jsp
  2. Click Product Setup > Services.
  3. Select Email service and click Configure.
  4. In the window that opens, specify the settings for the outbound SMTP mail server.


Transparent LDAP users have no password-based secure shell (SSH) access to the operating system

SSH access is not enabled for users created when LDAP authentication is in use. This compromises some Data Studio functionality.

Workaround:

Have the instance deployer or workload administrator create an instance-level (OS) user with SSH access. Use these credentials when prompted by Data Studio to enter an SSH userid and password.


Cross reference information
Segment Product Component Platform Version Edition
Information Management PureData System for Transactions T1500

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Data Studio


Software version:
3.1.1


Operating system(s):
Linux, Windows


Reference #:
7036907


Modified date:
2013-04-16

Translate my page

Content navigation