Tuning Options - List Recommendations

Elenca i consigli sugli oggetti disponibili.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}/recommendations?api-version=2025-08-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}/recommendations?api-version=2025-08-01&recommendationType={recommendationType}

Parametri dell'URI

Nome In Necessario Tipo Descrizione
resourceGroupName
path True

string

minLength: 1
maxLength: 90

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serverName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*

Il nome del server.

subscriptionId
path True

string (uuid)

ID della sottoscrizione di destinazione. Il valore deve essere un UUID.

tuningOption
path True

TuningOptionParameterEnum

Nome dell'opzione di ottimizzazione.

api-version
query True

string

minLength: 1

Versione dell'API da usare per questa operazione.

recommendationType
query

RecommendationTypeParameterEnum

Filtro elenco raccomandazioni. Recupera le raccomandazioni in base al tipo.

Risposte

Nome Tipo Descrizione
200 OK

ObjectRecommendationList

Operazione Azure completata con successo.

Other Status Codes

ErrorResponse

Risposta di errore imprevista.

Sicurezza

azure_auth

Azure Active Directory OAuth2 Flow.

Tipo: oauth2
Flow: implicit
URL di autorizzazione: https://login.microsoftonline.com/common/oauth2/authorize

Ambiti

Nome Descrizione
user_impersonation rappresentare l'account utente

Esempio

List available index recommendations, filtered to exclusively get those of CREATE INDEX type.
List available index recommendations.
List available table recommendations, filtered to exclusively get those of ANALYZE TABLE type.
List available table recommendations.

List available index recommendations, filtered to exclusively get those of CREATE INDEX type.

Esempio di richiesta

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations?api-version=2025-08-01&recommendationType=CreateIndex

Risposta di esempio

{
  "value": [
    {
      "name": "CreateIndex_ecommerce_public_ps_suppkey_idx",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/1",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 25,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [
          {
            "absoluteValue": 15.3671875,
            "dimensionName": "IndexSize",
            "unit": "MB"
          },
          {
            "absoluteValue": 99.67668452400453,
            "dimensionName": "QueryCostImprovement",
            "queryId": -3775242682326862300,
            "unit": "Percentage"
          },
          {
            "absoluteValue": 85.56742436827899,
            "dimensionName": "QueryCostImprovement",
            "queryId": 6829938984138799000,
            "unit": "Percentage"
          }
        ],
        "implementationDetails": {
          "method": "SQL",
          "script": "create index concurrently ps_suppkey_idx on public.partsupp(ps_suppkey)"
        },
        "improvedQueryIds": [
          -3775242682326862300,
          6829938984138799000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query 6829938984138799352;",
        "recommendationType": "CreateIndex",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "ecommerce",
          "indexColumns": [
            "\"partsupp\".\"ps_suppkey\""
          ],
          "indexName": "ps_suppkey_idx",
          "indexType": "BTREE",
          "table": "partsupp"
        }
      }
    },
    {
      "name": "CreateIndex_ecommerce_public_ps_partkey_idx",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/2",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 25,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [
          {
            "absoluteValue": 15.3671875,
            "dimensionName": "IndexSize",
            "unit": "MB"
          },
          {
            "absoluteValue": 99.67668452400453,
            "dimensionName": "QueryCostImprovement",
            "queryId": -3775242682326862300,
            "unit": "Percentage"
          },
          {
            "absoluteValue": 79.06603712430707,
            "dimensionName": "QueryCostImprovement",
            "queryId": 4735984994430715000,
            "unit": "Percentage"
          }
        ],
        "implementationDetails": {
          "method": "SQL",
          "script": "create index concurrently ps_partkey_idx on public.partsupp(ps_partkey)"
        },
        "improvedQueryIds": [
          -3775242682326862300,
          4735984994430715000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Column \"partsupp\".\"ps_partkey\" appear in Equal Predicate clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_partkey\" appear in Join On clause(s) in query 4735984994430714735;",
        "recommendationType": "CreateIndex",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "ecommerce",
          "indexColumns": [
            "\"partsupp\".\"ps_partkey\""
          ],
          "indexName": "ps_partkey_idx",
          "indexType": "BTREE",
          "table": "partsupp"
        }
      }
    }
  ]
}

List available index recommendations.

Esempio di richiesta

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations?api-version=2025-08-01

Risposta di esempio

{
  "value": [
    {
      "name": "CreateIndex_ecommerce_public_ps_suppkey_idx",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/1",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 25,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [
          {
            "absoluteValue": 15.3671875,
            "dimensionName": "IndexSize",
            "unit": "MB"
          },
          {
            "absoluteValue": 99.67668452400453,
            "dimensionName": "QueryCostImprovement",
            "queryId": -3775242682326862300,
            "unit": "Percentage"
          },
          {
            "absoluteValue": 85.56742436827899,
            "dimensionName": "QueryCostImprovement",
            "queryId": 6829938984138799000,
            "unit": "Percentage"
          }
        ],
        "implementationDetails": {
          "method": "SQL",
          "script": "create index concurrently ps_suppkey_idx on public.partsupp(ps_suppkey)"
        },
        "improvedQueryIds": [
          -3775242682326862300,
          6829938984138799000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query 6829938984138799352;",
        "recommendationType": "CreateIndex",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "ecommerce",
          "indexColumns": [
            "\"partsupp\".\"ps_suppkey\""
          ],
          "indexName": "ps_suppkey_idx",
          "indexType": "BTREE",
          "table": "partsupp"
        }
      }
    },
    {
      "name": "CreateIndex_ecommerce_public_ps_partkey_idx",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/2",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 25,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [
          {
            "absoluteValue": 15.3671875,
            "dimensionName": "IndexSize",
            "unit": "MB"
          },
          {
            "absoluteValue": 99.67668452400453,
            "dimensionName": "QueryCostImprovement",
            "queryId": -3775242682326862300,
            "unit": "Percentage"
          },
          {
            "absoluteValue": 79.06603712430707,
            "dimensionName": "QueryCostImprovement",
            "queryId": 4735984994430715000,
            "unit": "Percentage"
          }
        ],
        "implementationDetails": {
          "method": "SQL",
          "script": "create index concurrently ps_partkey_idx on public.partsupp(ps_partkey)"
        },
        "improvedQueryIds": [
          -3775242682326862300,
          4735984994430715000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Column \"partsupp\".\"ps_partkey\" appear in Equal Predicate clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_partkey\" appear in Join On clause(s) in query 4735984994430714735;",
        "recommendationType": "CreateIndex",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "ecommerce",
          "indexColumns": [
            "\"partsupp\".\"ps_partkey\""
          ],
          "indexName": "ps_partkey_idx",
          "indexType": "BTREE",
          "table": "partsupp"
        }
      }
    }
  ]
}

List available table recommendations, filtered to exclusively get those of ANALYZE TABLE type.

Esempio di richiesta

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations?api-version=2025-08-01&recommendationType=AnalyzeTable

Risposta di esempio

{
  "value": [
    {
      "name": "Analyze_postgres_public_nation",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/1",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 22,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [],
        "implementationDetails": {
          "method": "SQL",
          "script": "analyze table public.nation"
        },
        "improvedQueryIds": [
          2071439792137543700,
          7860150533486302000,
          6411979446509506000,
          3219604056681277400,
          -360410933364310600,
          6171467644166225000,
          3548728559597612500,
          -4753875211349607000,
          -8711548294430095000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Table \"nation\" in schema \"public\" is unanalyzed and appears in the following queries: 2071439792137543669, 7860150533486301820, 6411979446509505239, 3219604056681277471, -360410933364310591, 6171467644166224729, 3548728559597612316, -4753875211349607298, -8711548294430094920",
        "recommendationType": "Analyze",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "postgres",
          "table": "nation"
        }
      }
    },
    {
      "name": "Analyze_postgres_public_region",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/2",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 22,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [],
        "implementationDetails": {
          "method": "SQL",
          "script": "analyze table public.region"
        },
        "improvedQueryIds": [
          3219604056681277400,
          6171467644166225000,
          -4753875211349607000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Table \"region\" in schema \"public\" is unanalyzed and appears in the following queries: 3219604056681277471, 6171467644166224729, -4753875211349607298",
        "recommendationType": "Analyze",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "postgres",
          "table": "region"
        }
      }
    }
  ]
}

List available table recommendations.

Esempio di richiesta

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations?api-version=2025-08-01

Risposta di esempio

{
  "value": [
    {
      "name": "Analyze_postgres_public_nation",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/1",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 22,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [],
        "implementationDetails": {
          "method": "SQL",
          "script": "analyze table public.nation"
        },
        "improvedQueryIds": [
          2071439792137543700,
          7860150533486302000,
          6411979446509506000,
          3219604056681277400,
          -360410933364310600,
          6171467644166225000,
          3548728559597612500,
          -4753875211349607000,
          -8711548294430095000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Table \"nation\" in schema \"public\" is unanalyzed and appears in the following queries: 2071439792137543669, 7860150533486301820, 6411979446509505239, 3219604056681277471, -360410933364310591, 6171467644166224729, 3548728559597612316, -4753875211349607298, -8711548294430094920",
        "recommendationType": "Analyze",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "postgres",
          "table": "nation"
        }
      }
    },
    {
      "name": "Analyze_postgres_public_region",
      "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/2",
      "kind": "",
      "properties": {
        "analyzedWorkload": {
          "endTime": "2025-06-01T20:30:22.123456Z",
          "queryCount": 22,
          "startTime": "2025-06-01T19:30:22.123456Z"
        },
        "estimatedImpact": [],
        "implementationDetails": {
          "method": "SQL",
          "script": "analyze table public.region"
        },
        "improvedQueryIds": [
          3219604056681277400,
          6171467644166225000,
          -4753875211349607000
        ],
        "initialRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "lastRecommendedTime": "2025-06-01T20:30:22.123456Z",
        "recommendationReason": "Table \"region\" in schema \"public\" is unanalyzed and appears in the following queries: 3219604056681277471, 6171467644166224729, -4753875211349607298",
        "recommendationType": "Analyze",
        "timesRecommended": 1,
        "details": {
          "schema": "public",
          "databaseName": "postgres",
          "table": "region"
        }
      }
    }
  ]
}

Definizioni

Nome Descrizione
createdByType

Tipo di identità che ha creato la risorsa.

ErrorAdditionalInfo

Informazioni aggiuntive sull'errore di gestione delle risorse.

ErrorDetail

Dettagli dell'errore.

ErrorResponse

Risposta di errore

ImpactRecord

Impatto su alcune metriche se viene applicata questa azione consigliata.

ObjectRecommendation

Proprietà dei consigli sugli oggetti.

ObjectRecommendationDetails

Dettagli della raccomandazione per l'azione consigliata.

ObjectRecommendationList

Elenco dei consigli sugli oggetti disponibili.

ObjectRecommendationPropertiesAnalyzedWorkload

Informazioni sul carico di lavoro per l'azione consigliata.

ObjectRecommendationPropertiesImplementationDetails

Dettagli di implementazione per l'azione consigliata.

RecommendationTypeEnum

Digitare per questa raccomandazione.

RecommendationTypeParameterEnum

Filtro elenco raccomandazioni. Recupera le raccomandazioni in base al tipo.

systemData

Metadati relativi alla creazione e all'ultima modifica della risorsa.

TuningOptionParameterEnum

Nome dell'opzione di ottimizzazione.

createdByType

Tipo di identità che ha creato la risorsa.

Valore Descrizione
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

Informazioni aggiuntive sull'errore di gestione delle risorse.

Nome Tipo Descrizione
info

object

Informazioni aggiuntive.

type

string

Tipo di informazioni aggiuntive.

ErrorDetail

Dettagli dell'errore.

Nome Tipo Descrizione
additionalInfo

ErrorAdditionalInfo[]

Informazioni aggiuntive sull'errore.

code

string

Codice di errore.

details

ErrorDetail[]

Dettagli dell'errore.

message

string

Messaggio di errore.

target

string

Destinazione dell'errore.

ErrorResponse

Risposta di errore

Nome Tipo Descrizione
error

ErrorDetail

Oggetto error.

ImpactRecord

Impatto su alcune metriche se viene applicata questa azione consigliata.

Nome Tipo Descrizione
absoluteValue

number (double)

Valore assoluto.

dimensionName

string

Nome dimensione.

queryId

integer (int64)

Proprietà facoltativa che può essere utilizzata per archiviare l'identificatore della query, se la metrica è per una query specifica.

unit

string

Unità di quota.

ObjectRecommendation

Proprietà dei consigli sugli oggetti.

Nome Tipo Descrizione
id

string (arm-id)

ID risorsa completo per la risorsa. Ad esempio, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

kind

string

Sempre vuoto.

name

string

Nome della risorsa

properties.analyzedWorkload

ObjectRecommendationPropertiesAnalyzedWorkload

Informazioni sul carico di lavoro per l'azione consigliata.

properties.currentState

string

Stato attuale.

properties.details

ObjectRecommendationDetails

Dettagli della raccomandazione per l'azione consigliata.

properties.estimatedImpact

ImpactRecord[]

Impatto stimato dell'azione raccomandata.

properties.implementationDetails

ObjectRecommendationPropertiesImplementationDetails

Dettagli di implementazione per l'azione consigliata.

properties.improvedQueryIds

integer[] (int64)

Elenco di identificatori per tutte le query identificate come obiettivi di miglioramento se viene applicata la raccomandazione. L'elenco viene popolato solo per le raccomandazioni CREATE INDEX.

properties.initialRecommendedTime

string (date-time)

Ora di creazione (UTC) di questa raccomandazione.

properties.lastRecommendedTime

string (date-time)

L'ultima volta (UTC) che questa raccomandazione è stata prodotta.

properties.recommendationReason

string

Motivo di questa raccomandazione.

properties.recommendationType

RecommendationTypeEnum

Digitare per questa raccomandazione.

properties.timesRecommended

integer (int32)

Numero di volte in cui questa raccomandazione è stata prodotta.

systemData

systemData

Azure Resource Manager metadati contenenti informazioni createBy e modifiedBy.

type

string

Tipo di risorsa. Ad esempio: "Microsoft. Compute/virtualMachines" oppure "Microsoft. Storage/storageAccounts"

ObjectRecommendationDetails

Dettagli della raccomandazione per l'azione consigliata.

Nome Tipo Descrizione
databaseName

string

Nome del database.

includedColumns

string[]

Colonne incluse nell'indice.

indexColumns

string[]

Colonne dell'indice.

indexName

string

Nome dell'indice.

indexType

string

Tipo di indice.

schema

string

Nome schema.

table

string

Nome della tabella.

ObjectRecommendationList

Elenco dei consigli sugli oggetti disponibili.

Nome Tipo Descrizione
nextLink

string (uri)

Il link alla pagina successiva degli elementi

value

ObjectRecommendation[]

Gli elementi ObjectRecommendation in questa pagina

ObjectRecommendationPropertiesAnalyzedWorkload

Informazioni sul carico di lavoro per l'azione consigliata.

Nome Tipo Descrizione
endTime

string (date-time)

Ora di fine (UTC) del carico di lavoro analizzato.

queryCount

integer (int32)

Numero di query del carico di lavoro esaminate per produrre questa raccomandazione. Per le raccomandazioni DROP INDEX è 0 (zero).

startTime

string (date-time)

Ora di inizio (UTC) del carico di lavoro analizzato.

ObjectRecommendationPropertiesImplementationDetails

Dettagli di implementazione per l'azione consigliata.

Nome Tipo Descrizione
method

string

Metodo di attuazione dell'azione raccomandata.

script

string

Script di implementazione per l'azione consigliata.

RecommendationTypeEnum

Digitare per questa raccomandazione.

Valore Descrizione
CreateIndex

Raccomandazione di creare un indice per migliorare le prestazioni delle query.

DropIndex

Consiglio di eliminare un indice esistente perché è duplicato o inutilizzato.

ReIndex

Raccomandazione di reindicizzare un indice invalido esistente.

AnalyzeTable

Raccomandazione di analizzare una tabella per aggiornare le statistiche dell'ottimizzatore di query.

RecommendationTypeParameterEnum

Filtro elenco raccomandazioni. Recupera le raccomandazioni in base al tipo.

Valore Descrizione
CreateIndex

Raccomandazione di creare un indice per migliorare le prestazioni delle query.

DropIndex

Consiglio di eliminare un indice esistente perché è duplicato o inutilizzato.

ReIndex

Raccomandazione di reindicizzare un indice invalido esistente.

AnalyzeTable

Raccomandazione di analizzare una tabella per aggiornare le statistiche dell'ottimizzatore di query.

systemData

Metadati relativi alla creazione e all'ultima modifica della risorsa.

Nome Tipo Descrizione
createdAt

string (date-time)

Timestamp della creazione della risorsa (UTC).

createdBy

string

Identità che ha creato la risorsa.

createdByType

createdByType

Tipo di identità che ha creato la risorsa.

lastModifiedAt

string (date-time)

Timestamp dell'ultima modifica della risorsa (UTC)

lastModifiedBy

string

Identità che ha modificato l'ultima volta la risorsa.

lastModifiedByType

createdByType

Tipo di identità che ha modificato l'ultima volta la risorsa.

TuningOptionParameterEnum

Nome dell'opzione di ottimizzazione.

Valore Descrizione
index

Raccomandazioni relative all'indice.

table

Raccomandazioni relative ai tavoli.