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 features 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 features globally

Permissions activation

Your admin must allow each user access to the AI features by managing permissions in the Application Security page. 

To activate AI features on a per-user basis using Application Security

  1. Using an administrator account, go to Administration > Application Security.
  2. Click Enable Application Security, and then click Yes. All users now should have a check in the AI Access box.
  3. If you want to revoke access for an individual user, clear the AI Access checkbox on the row for that user account.

    You cannot grant or revoke AI access from system administrator user accounts.

    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. 

  



| | | | | | |