Speed & Secure Sybase


Optimize Ops, Protect PII, and Move Data



You may face one or more of these speed or security issues:

  • Unloading and loading of large Sybase tables
  • Slow utility operations (e.g., reorgs) or queries
  • Unprotected personally identifiable information (PII)
  • Cumbersome database migration or replication
  • Generation of, or access to, test data sets

Specific performance diagnoses and tuning also take time, and may affect other users. Specialized data masking and test data management tools are expensive and too hard to use. Finally, stored SQL procedures may also be programmed inefficiently, require optimization, and then still take too long to run.



Speed Sybase Unloads

Dump transaction tables in parallel to flat files with IRI FACT (Fast Extract), which supports Sybase IQ and ASE, OCS 15 and later. FACT is many times faster than other extract methods, and is supported in the IRI Workbench GUI for use standalone, or with other IRI operations like ETL, reorg, and migration.

Speed Transforms, Queries, and Loads

Use the SortCL program in the IRI CoSort product or IRI Voracity platform to filter, sort, join, and aggregate the extracts in parallel. The Sybase SQL Server Reference Manual recommends external pre-sort to accelerate index creation during database loads. Multiple tables created quickly in query index order should help speed queries.

CoSort's SortCL program can also transform and reformat data for database migrations and custom (detail, summary, and delta) reports, and protect sensitive data at the field level with a variety of encryption, masking, and other functions.

How to Speed Sybase Loads

"CoSorting" data in the file system prior to loading Sybase can:

  • Speed load performance between 2 and 10X
  • Remove the sorting aspect of the load
  • Reduce database and disk overhead
  • Increase load processing rate (rows per hour)

The recommended technique says to pre-sort flat files on the clustered index key. CoSort is designed to sort huge files in parallel, with performance scaling linearly in volume. You will want to create a clustered index. But first, eliminate the indexes by creating tables without indexes or triggers, or by dropping them from the table to be loaded. Then you can:

  • CoSort the data on the primary index key
  • bcp load the sorted table using fast bcp path (as there are no indexes on the table)
  • Use the SQL command CREATE INDEX, using the SORTED_DATA option, to create the clustered index.


    Speed Sybase Reorgs

    Accelerate reorgs by performing them offline; i.e., use the file system instead of encumbering the database. The offline DB reorg wizard available to FACT and CoSort (or Voracity) users in the IRI Workbench combines FACT, CoSort and bcp in batch operations you can schedule and run in or outside the Workbench GUI.

    Migrate & Replicate Sybase Data

    Move data in and out of Sybase databases and other data sources with the IRI NextForm DB edition or Voracity. Perform complex ETL, change data capture, and replication operations in Voracity.

    Mask PII in Sybase

    Build static data masking jobs for Sybase, SAP HANA, and other JDBC and ODBC-connected sources with the standalone IRI FieldShield package or Voracity platform. For dynamic data masking, make a call to FieldShield functions in its SDK, or deploy custom redaction policies in the IRI Chakra Max DB firewall for Sybase.

    Generate and Populate Sybase Test Data

    To rapidly populate Sybase with safe test data, use the high-volume test data generator, IRI RowGen. RowGen uses your data models to automatically generate the test data for an entire database with referential integrity, and is also built into the Voracity platform.


Blog Links

Other Resources