IBM Informix Dynamic Server Getting Started IBM Informix Version 11.50 IBM Informix Dynamic Server Getting

  • View
    1

  • Download
    0

Embed Size (px)

Text of IBM Informix Dynamic Server Getting Started IBM Informix Version 11.50 IBM Informix Dynamic Server...

  • IBM Informix Version 11.50

    IBM Informix Dynamic Server Getting Started Guide

    GI13-1803-00

    ����

  • IBM Informix Version 11.50

    IBM Informix Dynamic Server Getting Started Guide

    GI13-1803-00

    ����

  • Note Before using this information and the product it supports, read the information in “Notices” on page C-1.

    This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such.

    When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you.

    © Copyright IBM Corporation 1996, 2010. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

  • Contents

    Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix About This Publication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

    Types of Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Software Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Assumptions About Your Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Demonstration Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x

    What's New for Version 11.50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Documentation conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x

    Technical changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Feature, product, and platform markup . . . . . . . . . . . . . . . . . . . . . . . . . xi Example code conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Additional documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Compliance with Industry Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . xii How to Provide Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . xii

    Chapter 1. Introducing IDS and Client Products . . . . . . . . . . . . . . . . . . 1-1 IBM Informix Dynamic Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1

    IBM Informix Dynamic Server Edition Comparison . . . . . . . . . . . . . . . . . . . . . 1-1 Installation and Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Products Bundled with the Database Server . . . . . . . . . . . . . . . . . . . . . . . . 1-1

    BladeManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 DataBlade API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 IBM Informix Client SDK Products . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 IBM Informix DataBlade Developers Kit (DBDK) . . . . . . . . . . . . . . . . . . . . . 1-4 IBM Informix JDBC Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 IBM Data Server Driver for JDBC and SQLJ . . . . . . . . . . . . . . . . . . . . . . . 1-4 IBM Data Server Provider for .NET (Windows) . . . . . . . . . . . . . . . . . . . . . . 1-5 IBM Informix Spatial DataBlade Module . . . . . . . . . . . . . . . . . . . . . . . . 1-5 IBM Informix Web DataBlade Module . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 International Language Supplement . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 IBM Informix Warehouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 Rational Application Developer for WebSphere Software . . . . . . . . . . . . . . . . . . . 1-6 Server Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6

    Related IBM Informix Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 IBM Informix Server Administrator (ISA) . . . . . . . . . . . . . . . . . . . . . . . . 1-6 OpenAdmin Tool for IDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 IBM Informix MaxConnect (UNIX) . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 IBM Office Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 IBM Informix Data Director for Web . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 DataBlade Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 IBM Data Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7

    Client Products for IDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 JDBC Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 .NET Providers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 PHP Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Ruby on Rails Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Other Informix Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

    Other Related IBM Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

    Chapter 2. Using New Features in IDS . . . . . . . . . . . . . . . . . . . . . . 2-1 New Features in Version 11.50.xC6 of IBM Informix Dynamic Server . . . . . . . . . . . . . . . . 2-1

    Connection Manager Proxy Support . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 External Backups on RS Secondary Servers . . . . . . . . . . . . . . . . . . . . . . . 2-2 Dynamically Start, Stop, or Restart Listen Threads . . . . . . . . . . . . . . . . . . . . . 2-2 Improved Transaction Information . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2

    © Copyright IBM Corp. 1996, 2010 iii

  • SQL Administration API Portal: Arguments by Functional Categories . . . . . . . . . . . . . . . 2-2 View Event Alarms in the Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Enhancements to the OpenAdmin Tool for IDS . . . . . . . . . . . . . . . . . . . . . . 2-3 Enhancements to the Schema Manager plug-in for the OpenAdmin Tool for IDS . . . . . . . . . . . 2-3 An ALTER FRAGMENT Operation Can Now Force Out Transactions to Get Exclusive Access to Tables . . . 2-3 RETAINUPDATELOCKS Environment Option . . . . . . . . . . . . . . . . . . . . . . 2-4 New Column Size Field Format for CDC Records . . . . . . . . . . . . . . . . . . . . . 2-4 Enhancements to Merging Information into a Target Table with the MERGE Statement . . . . . . . . . 2-4 Enable or Disable Enterprise Replication Event Alarms . . . . . . . . . . . . . . . . . . . 2-4 Enhancements to the Enterprise Replication plug-in for the OpenAdmin Tool for IDS . . . . . . . . . 2-5 XA Transaction Support for Updatable Secondary Servers in a High-availability Cluster . . . . . . . . 2-5 Simplified Deployment of an IDS Instance (Windows) . . . . . . . . . . . . . . . . . . . . 2-5 Dynamic dbspace Relocation when Deploying Snapshots (Windows) . . . . . . . . . . . . . . . 2-6 Deploying Instances with the Deployment Utility . . . . . . . . . . . . . . . . . . . . . 2-6 Installing IDS by Using an RPM package (Linux) . . . . . . . . . . . . . . . . . . . . . 2-6 Migrating or Upgrading High-availability Clusters . . . . . . . . . . . . . . . . . . . . . 2-6 Upgrading to a New Server or Fix pack . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Quickly Reverting to Your Source Server After a Failed Upgrade . . . . . . . . . . . . . . . . 2-7 Light Scans on Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 Process Multiple Basic Text Search Queries Simultaneously . . . . . . . . . . . . . . . . . . 2-7 Load and Unload Data with External Tables . . . . . . . . . . . . . . . . . . . . . . . 2-7

    New Features in Version 11.50.xC5 of IBM Informix Dynamic Server . . . . . . . . . . . . . . . . 2-8 Configuring RS Secondary Server Latency for Disaster Recovery . . . . . . . . . . . . . . . . 2-8 Deploying IDS with the Deployment Utility (Windows) . . . . . . . . . . . . . . . . . . . 2-8 Forcing the Database Server to Shut Down . . . . . . . . . . . . . . . . . . . . . . . 2-9 Enhanced Support for Multibyte Character Strings . . . . . . . . . . . . . . . . . . . . . 2-9 Upgrading to IDS v11.50.xC5 in Silent Mode (Windows) . . . . . . . . . . . . . . . . . . . 2-9 New default for the INFORMIXTERM environment variable for terminal set up on UNIX . . . . . . . . 2-9 onconfig Portal: Configuration Parameters Listed by Functional Categories . . . . . . . . . . . . . 2-9 onstat Portal: onstat Commands Listed by Functional Categories . . . . . . . . . . . . . . . . 2-10 Enhancements to the Enterprise Replication plug-in for the OpenAdmin Tool for IDS . . . . . . . . . 2-10 Enterprise Replication Stops if Memory Allocation Fails . . . . . . . . . . . . . . . . . . . 2-10 Improving the Performance of Checking or Synchronizing Replicate Sets (Windows) . . . . . . . . . 2-10 Notification of an Incorrect Log Position When Enterprise Replication Restarts . . . . . . . . . . . 2-10 Improving the Performance of Consistency Checking with an Index . . . . . . . . . . . . . . . 2-11 Specifying the Range of Data Sync Threads to Apply Replicated Transactions. . . . . . . . . . . . 2-11 Loading Data into a Warehouse with the MERGE Statement . . . . . . . . . . . . . . . . . 2-11 Retrieving Data by Using Hierarchical Queries . . . . . . . . . . . . . . . . . . . . . . 2-11

    New Features in Version 11.50.xC4 of IBM Informix Dynamic Server . . . . . . . . . . . . . . . 2-12 High Availability Enabled on Windows 64-bit Operating Systems. . . . . . . . . . . . . . . . 2-13 Save Disk Space by Compressing Data. . . . . . . . . . . . . . . . . . . . . . . . . 2-13