[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

Database engine tuning advisor

Hi experts:
What is the difference between
Database for workload analysis
table to select and tune databases.

In both cases I select the same database.
--query 1
USE [AdventureWorks];

SELECT  p.Color,
       SUM(p.DaysToManufacture * p.ListPrice) AS DurationEstimate
    FROM Production.Product AS p
    LEFT OUTER JOIN Production.ProductModel AS pm
    ON p.ProductModelID = pm.ProductModelID
    LEFT OUTER JOIN Production.ProductDescription AS pd
    ON pm.ProductModelID = pd.ProductDescriptionID
GROUP BY p.Color;

When I select other?
1 Solution
Aneesh RetnakaranDatabase AdministratorCommented:
from msdn
Database for workload analysis :
Specify the first database to which Database Engine Tuning Advisor connects when tuning a workload. After tuning begins, Database Engine Tuning Advisor connects to the databases specified by the USE DATABASE statements contained in the workload.
Select databases and tables to tune :
Specify the databases and tables to be tuned. To specify all of the databases, select the check box in the Name column heading. To specify certain databases, select the check box next to the database name. By default, all of the tables for selected databases are automatically included in the tuning session. To exclude tables, click the arrow in the Selected Tables column, and then clear the check boxes next to the tables that you do not want to tune.
enrique_aeoAuthor Commented:
if the query would be formed by more than one database?
that data base would select "Database for workload analysis"

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now