The Query Monitor Signature Mode and Statement Mode views contain two tools that help you with query, schema, and index optimization. The AI Powered Query Optimization and AI Powered Schema & Index Optimization buttons give you the ability to use the power of AI to review and optimize your queries, schema, and index within seconds. In addition, the AI Optimization History tab displays the results of your queries, including the responses from your completed optimization sessions.

Enable or disable AI features

Managing the AI features in SQL DM involves global configuration, permissions activation, and finally individual user consent for optimum security. MAke sure you perform all three of the following actions:

Global configuration

Your admin first must enable the feature globally using the management service config file SQLdmManagementService.exe.Config.

To enable AI optimization tools globally

  1. Navigate to your SQL DM installation folder, locate the SQLdmManagementService.exe.Config file, and then open it in a text editor, such as Notepad. 
  2. Find enableAIFeatures, and then change it from false to true.

    When this feature is set to false, all AI features including buttons and the history tab are disabled for all users, overriding any subsequent user-level permissions. When set to true, AI access is then governed by the Application Security settings.


  3. Open Services, and then restart SQLdmManagementService.
  4. Open SQL DM, and then navigate to the Queries tab to verify that the AI Powered Query Optimization and AI Powered Schema & Index Optimization buttons are available and that the AI Optimization History tab is active.

To disable AI optimization tools globally

Permissions activation

Your admin must allow each user access to the AI features by managing permissions in the Administration > Application Security page. An admin must check the AI Access box for each user to access these features.

The AI Access checkbox already may be checked when the user is initially added to the application. In the Specify Permission page if the Add Permission Wizard, checking Grant AI Access gives the user account the AI features access when added. 

Individual user consent

Finally, each user must agree to the AI Features Terms and Conditions upon attempting to use any of the AI features within SQL DM. This dialog box appears only the first time the user attempts to use one of the AI features after they are enabled. Subsequent uses of the AI features do not require additional acceptance.

To agree to the AI features terms and conditions on an individual user level

  1. Click either the AI Powered Query Optimization or AI Powered Schema & Index Optimization buttons for the first time after the AI features are enabled. SQL DM displays the AI Feature Terms and Conditions dialog box.
    >>>NEED IMAGE OF TS&CS<<<
  2. Read the contents of the agreement, scrolling to the bottom as you read. Note that the agreement checkbox and Accept button are disabled until you scroll to the bottom of the content.
  3. Once you read all of the terms and conditions, check I agree to the Terms and Conditions, and then click Accept to continue. 

  



| | | | | | |