Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The profiling session is saved automatically or when you try to close it according to the choices made in the Profile Configuration dialog. For information on configuring profiling sessions, see Building Profiling Configurations. Profiling sessions can be saved in the current workspace in an archive file with a .oar suffix or for Oracle users, into a Profiling Repository.

The .oar archive file is named with a default file name of:

  • The name of the data source if the session was not initiated from a named launch configuration
  • The name of the launch configuration if the session was initiated from a named launch configuration.

...

  • .

...

For information on working with the Profiling Repository, see Work with the Profiling Repository. The time period of the saved session is the amount of data on the chart. The maximum amount of data on the chart is determined when profiling is started (1-hour default). You can specify the amount of time to profile the data source in the Profile Configurations dialog and you can also stop the profiling at any time.

Saving the profile lets you open the archive at a later time for subsequent analysis by yourself or by other SQL Query Tuner users. Use standard SQL Query Tuner file techniques to save, open, or close SQL Profiling archives. If you open a profiling archive on a machine on which the associated data source is not registered, a Data source not available warning appears in the profiling editor header. Use the associated control to specify a data source already defined on the machine or to register a new data source.

...

Info

Saving wait-time statistics to the Profiling Repository is not supported in Developer Editions of SQL Query Tuner. 

The Profiling Repository is only available when profile session data is saved to an Oracle data source. You can specify a profiling repository on any Oracle 9i, 10g, or 11g data source. For information configuring profiling repositories, see Specify Profile Repositories Preferences. You can specify which profiling to save a session to using the Profile Configurations dialog. For more information, see Building Profiling Configurations. When the system is configured to automatically save profiling information to a Profiling Repository SQL Query Tuner can profile 24 hours a day 7 days a week, thus providing much more statistical data for analysis. Also, since a Profiling Repository resides on a data source and not on the local disk, other SQL Query Tuner users can also view and analyze the profiles. 

To start saving profile sessions to the Profiling Repository

  1. From the Data Source Explorer right-click the data source you want to profile for and select Profile As from the menu, then choose Profile Configurations.
    The Profile Configurations dialog appears. 
    Image Removed
  2. In the Name field of the Profile tab, enter a name for the profile session for this data source.
  3. In the Profiling Target Data source field, select a data source from the list.
  4. In the Profiling Repository area of the Profile tab, click Save to data source and then from the list of registered profiling repositories, choose the Oracle data source to which you want to store the profiling session information.
  5. Click Apply and then click Profile to start a profiling session immediately.
    Any new profiling session that you start continue until you manually stop it. The profile session can be for as long as you like, days or weeks even. When the profiling session has been stopped a profile file is stored in the profile group for this data source. The name of the profile file is the date and time when the profile finished. 

To delete profile sessions saved in the Profiling Repository

...

In the Data Source Explorer, locate and then click the Profiling Repository.

Info

You access the profile repositories either in the Managed Data Sources node or in the Profiling Repositories. 

Image Removed
If the data source is not already connected, SQL Query Tuner connects to the Profiling Repository data source. 

To delete all sessions in the Profiling Repository, right-click Profiling Repository and then select Delete All.
To delete a specific profiling session, expand the Profiling Repository and the data source containing the profiling session, and right-click the name of the profiling session, and then select Delete.
The profiling session data is deleted, however, some information about the data source is retained in order to expedite future profiling on this data source. If you are certain you will not want to retain this information, right-click the Profiling Repository and then select Clean

...