Skip to main content
Delphix

Synchronizing an ASE dSource After Performing an ASE Reorg Rebuild (KBA5293)

 

KBA

KBA# 5293

 

Issue

Following a "reorg rebuild" on a table in an ASE database, ASE requires a full database dump before transaction log dumps can be performed (refer to ASE reorg rebuild documentation). Delphix is unable to resume loading transaction logs until it first loads the full database dump.

Once Delphix ingests a full database dump, a background process called "Validated Sync" starts running on Delphix to keep it synchronized with the source database. Currently Validated Sync synchronizes itself with the source database by ingesting either transaction logs or full database dumps but not both:

  • If "truncate log on chkpt = true", Delphix ingests full database dumps.
  • If "truncate log on chkpt = false", Delphix ingests transactions logs (after ingesting an initial full database dump to get started).

In the case of a dSource that is ingesting transaction logs, Delphix skips the full database dump and tries to load the subsequent transaction log. A fault similar to the following will be raised:

Title Validated sync failed for dSource
Target bigdb
Details Validated sync failed for dSource "bigdb". For dSource "bigdb", failed to load a source transaction dump 4305: Specified file 'dump device' is out of sequence. Current time stamp is Dec 11 2019 12:00:01:053PM while dump was from Dec 11 2019 12:57:26:953PM.

 

Applicable Delphix Versions

This article applies to the following versions of the Delphix Engine:

Major Release

All Sub Releases

5.3 5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0
5.2 5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0, 5.1.10.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

4.3

4.3.1.0, 4.3.2.0, 4.3.2.1, 4.3.3.0, 4.3.4.0, 4.3.4.1, 4.3.5.0

4.2

4.2.0.0, 4.2.0.3, 4.2.1.0, 4.2.1.1, 4.2.2.0, 4.2.2.1, 4.2.3.0, 4.2.4.0 , 4.2.5.0, 4.2.5.1

 

Resolution

To resolve this issue, it is necessary to ask Delphix to ingest the full database dump that is taken right after the ASE reorg rebuild job/script completes. There are many ways to make Delphix ingest the backup:

Click the camera icon for the dSource and ask Delphix to ingest the "Most Recent Existing Full Backup" or "Specific Existing Full Backups".

The same ask can be initiated using the Delphix Command Line Interface (CLI) or APIs. These can be incorporated in a script for automation.

Some customers who have faced this issue have added the dxtoolkit dx_snapshot_db ( https://github.com/delphix/dxtoolkit/wiki/dx_snapshot_db ) command to their ASE "reorg rebuild" script such that it loads the full database dump created after the "reorg rebuild" command completes. For example:

$ isql -Udb_user -Pdb_password -S ASE160 -i reorg_rebuild.sql
$ isql -Udb_user -Pdb_password -S ASE160 -i dump_database_ABC.sql
$ dx_snapshot_db -engine neal5350.dcenter.delphix.com -name bigdb --usebackup yes

 

Troubleshooting

Does the database in question have the ASE "reorg rebuild" command run against it (typically a weekend activity)? If so, look for these types of faults being thrown by Delphix:

Title Validated sync failed for dSource
Target bigdb
Details Validated sync failed for dSource "bigdb". For dSource "bigdb", failed to load a source transaction dump 4305: Specified file 'dump device' is out of sequence. Current time stamp is Dec 11 2019 12:00:01:053PM while dump was from Dec 11 2019 12:57:26:953PM.

 

Related Articles

The following articles may provide more information or related information to this article: