SAP IQ Database Migration: Exporting Users, Indexes and Stored Procedures

Migrating an SAP IQ database involves more than transferring table data. You also need to account for database users, permissions, indexes, stored procedures and their dependencies.

What to check

  1. Check the source and target SAP IQ versions. The documented iqunload schema transfer to an existing database requires a compatible same-version target; use the appropriate upgrade or migration guide when versions differ.
  2. Back up the source and inventory the required schemas, owners, users, roles, grants, indexes and routines. Identify any external dependencies or custom scripts.
  3. Use the version-specific iqunload utility to export the required schema to an SQL script. Check the available options before running the export; handle password-related output as sensitive data.
  4. Review the generated SQL before executing it on the target. Check object creation order, user ownership, grants, database options and existing objects. Do not run an unreviewed reload script against production.
  5. Perform the import and any data transfer in an isolated test database. Compare object counts and definitions, validate user access, run representative stored procedures and confirm indexes are available before cutover.

Schema export alone does not guarantee a complete migration. Some system objects, authentication settings and external dependencies may require separate treatment. Keep a tested rollback plan and protect exported SQL files containing security information.

Reference

SAP Help: Schema and Data Export.

SAP Help: iqunload Schema and Data Export Utility.

SAP Note: 3794370.

You May Also Like

Leave a Reply?