Save Database Queries to a Trace File
When you reverse engineer a database, you can set a trace file to record the database queries. You can analyze the queries that are executed against the database during the reverse engineering process. You set options for the trace file in the Diagnostics tab of the Options dialog before starting the reverse engineering process. Saving trace files is a best practice as these files help in diagnosing problems, if any.
Follow these steps:
- Click Tools, Options.
The Options dialog opens.
- Click the Diagnostics tab and complete the following fields:
- SQL Trace
Save the queries that are used to retrieve information from the database. The time elapsed in retrieving is also recorded, which helps in diagnosing problems, if any. The SQL trace files are saved under the name erwin SQL Trace <date> <time>.txt.
- View Trace
Saves the actual syntax that you have used to create views and materialized views in your database. The SQL trace files are saved under the name erwin View Trace <date> <time>.sql.
- Trace Files
Displays the default location for saved trace files. You can browse for and can change the default location.
- Click OK.
The trace file options are saved, and the Options dialog closes.
Copyright © 2023 Quest Software, Inc. |