Data Model Scanning slowly progresses
search cancel

Data Model Scanning slowly progresses

book

Article ID: 207869

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

We are running TDM Portal 4.9.256.0. While running a Data Model scan on a vendor database, and noticed while running an advanced scan, the scan seems to progress very slowly. Even after letting it run for three days, it still has not completed. The basic scan on the exact same database completes within minutes. Could you help us understand why the advanced scan is taking so long?

Environment

Release : 4.9.1

Component : CA Test Data Manager

Resolution

After reviewing the TDMDataModel.log (in debug mode) with Engineering, Engineering confirmed that the Data Model scan is slowing down because TDM is running a comparison on tables of like names, and attempting to build logical relationships between those tables. This is something we normally do during an advanced scan. One way to speed this up is to have unique indexing and primary keys for your tables. However, since this is a vendor database, and you don't have control, there's not much you can do other than exclude tables that have a large amount of data.

The basic scan only scans the metadata in the database and does not look deeply at the data. Therefore, this scan completes much quicker than an advanced scan. If you do not require a deep analysis of the data, and logical relationships built between the tables, you should use the basic scan. 

Additional Information

For more information regarding Data Model scans, and looking for PII: