Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksFindings
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Managed Database Sql Tuning Advisor Tasks Findings in Oracle Cloud Infrastructure Database Management service.
Gets an array of the details of the findings that match specific filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabaseSqlTuningAdvisorTasksFindings = oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksFindings({
managedDatabaseId: testManagedDatabase.id,
sqlTuningAdvisorTaskId: testSqlTuningAdvisorTask.id,
beginExecId: testBeginExec.id,
endExecId: testEndExec.id,
findingFilter: managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter,
indexHashFilter: managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter,
opcNamedCredentialId: managedDatabaseSqlTuningAdvisorTasksFindingOpcNamedCredentialId,
searchPeriod: managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod,
statsHashFilter: managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter,
});
import pulumi
import pulumi_oci as oci
test_managed_database_sql_tuning_advisor_tasks_findings = oci.DatabaseManagement.get_managed_database_sql_tuning_advisor_tasks_findings(managed_database_id=test_managed_database["id"],
sql_tuning_advisor_task_id=test_sql_tuning_advisor_task["id"],
begin_exec_id=test_begin_exec["id"],
end_exec_id=test_end_exec["id"],
finding_filter=managed_database_sql_tuning_advisor_tasks_finding_finding_filter,
index_hash_filter=managed_database_sql_tuning_advisor_tasks_finding_index_hash_filter,
opc_named_credential_id=managed_database_sql_tuning_advisor_tasks_finding_opc_named_credential_id,
search_period=managed_database_sql_tuning_advisor_tasks_finding_search_period,
stats_hash_filter=managed_database_sql_tuning_advisor_tasks_finding_stats_hash_filter)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseManagement.GetManagedDatabaseSqlTuningAdvisorTasksFindings(ctx, &databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs{
ManagedDatabaseId: testManagedDatabase.Id,
SqlTuningAdvisorTaskId: testSqlTuningAdvisorTask.Id,
BeginExecId: pulumi.StringRef(testBeginExec.Id),
EndExecId: pulumi.StringRef(testEndExec.Id),
FindingFilter: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter),
IndexHashFilter: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter),
OpcNamedCredentialId: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingOpcNamedCredentialId),
SearchPeriod: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod),
StatsHashFilter: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testManagedDatabaseSqlTuningAdvisorTasksFindings = Oci.DatabaseManagement.GetManagedDatabaseSqlTuningAdvisorTasksFindings.Invoke(new()
{
ManagedDatabaseId = testManagedDatabase.Id,
SqlTuningAdvisorTaskId = testSqlTuningAdvisorTask.Id,
BeginExecId = testBeginExec.Id,
EndExecId = testEndExec.Id,
FindingFilter = managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter,
IndexHashFilter = managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter,
OpcNamedCredentialId = managedDatabaseSqlTuningAdvisorTasksFindingOpcNamedCredentialId,
SearchPeriod = managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod,
StatsHashFilter = managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testManagedDatabaseSqlTuningAdvisorTasksFindings = DatabaseManagementFunctions.getManagedDatabaseSqlTuningAdvisorTasksFindings(GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs.builder()
.managedDatabaseId(testManagedDatabase.id())
.sqlTuningAdvisorTaskId(testSqlTuningAdvisorTask.id())
.beginExecId(testBeginExec.id())
.endExecId(testEndExec.id())
.findingFilter(managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter)
.indexHashFilter(managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter)
.opcNamedCredentialId(managedDatabaseSqlTuningAdvisorTasksFindingOpcNamedCredentialId)
.searchPeriod(managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod)
.statsHashFilter(managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter)
.build());
}
}
variables:
testManagedDatabaseSqlTuningAdvisorTasksFindings:
fn::invoke:
Function: oci:DatabaseManagement:getManagedDatabaseSqlTuningAdvisorTasksFindings
Arguments:
managedDatabaseId: ${testManagedDatabase.id}
sqlTuningAdvisorTaskId: ${testSqlTuningAdvisorTask.id}
beginExecId: ${testBeginExec.id}
endExecId: ${testEndExec.id}
findingFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter}
indexHashFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter}
opcNamedCredentialId: ${managedDatabaseSqlTuningAdvisorTasksFindingOpcNamedCredentialId}
searchPeriod: ${managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod}
statsHashFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter}
Using getManagedDatabaseSqlTuningAdvisorTasksFindings
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedDatabaseSqlTuningAdvisorTasksFindings(args: GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult>
function getManagedDatabaseSqlTuningAdvisorTasksFindingsOutput(args: GetManagedDatabaseSqlTuningAdvisorTasksFindingsOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult>
def get_managed_database_sql_tuning_advisor_tasks_findings(begin_exec_id: Optional[str] = None,
end_exec_id: Optional[str] = None,
filters: Optional[Sequence[_databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksFindingsFilter]] = None,
finding_filter: Optional[str] = None,
index_hash_filter: Optional[str] = None,
managed_database_id: Optional[str] = None,
opc_named_credential_id: Optional[str] = None,
search_period: Optional[str] = None,
sql_tuning_advisor_task_id: Optional[str] = None,
stats_hash_filter: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult
def get_managed_database_sql_tuning_advisor_tasks_findings_output(begin_exec_id: Optional[pulumi.Input[str]] = None,
end_exec_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksFindingsFilterArgs]]]] = None,
finding_filter: Optional[pulumi.Input[str]] = None,
index_hash_filter: Optional[pulumi.Input[str]] = None,
managed_database_id: Optional[pulumi.Input[str]] = None,
opc_named_credential_id: Optional[pulumi.Input[str]] = None,
search_period: Optional[pulumi.Input[str]] = None,
sql_tuning_advisor_task_id: Optional[pulumi.Input[str]] = None,
stats_hash_filter: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult]
func GetManagedDatabaseSqlTuningAdvisorTasksFindings(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs, opts ...InvokeOption) (*GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult, error)
func GetManagedDatabaseSqlTuningAdvisorTasksFindingsOutput(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksFindingsOutputArgs, opts ...InvokeOption) GetManagedDatabaseSqlTuningAdvisorTasksFindingsResultOutput
> Note: This function is named GetManagedDatabaseSqlTuningAdvisorTasksFindings
in the Go SDK.
public static class GetManagedDatabaseSqlTuningAdvisorTasksFindings
{
public static Task<GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult> InvokeAsync(GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult> Invoke(GetManagedDatabaseSqlTuningAdvisorTasksFindingsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseSqlTuningAdvisorTasksFindingsResult> getManagedDatabaseSqlTuningAdvisorTasksFindings(GetManagedDatabaseSqlTuningAdvisorTasksFindingsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksFindings:getManagedDatabaseSqlTuningAdvisorTasksFindings
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Database stringId - The OCID of the Managed Database.
- Sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- Begin
Exec stringId - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- End
Exec stringId - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- Filters
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Filter> - Finding
Filter string - The filter used to display specific findings in the report.
- Index
Hash stringFilter - The hash value of the index table name.
- Opc
Named stringCredential Id - The OCID of the Named Credential.
- Search
Period string - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- Stats
Hash stringFilter - The hash value of the object for the statistic finding search.
- Managed
Database stringId - The OCID of the Managed Database.
- Sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- Begin
Exec stringId - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- End
Exec stringId - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- Filters
[]Get
Managed Database Sql Tuning Advisor Tasks Findings Filter - Finding
Filter string - The filter used to display specific findings in the report.
- Index
Hash stringFilter - The hash value of the index table name.
- Opc
Named stringCredential Id - The OCID of the Named Credential.
- Search
Period string - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- Stats
Hash stringFilter - The hash value of the object for the statistic finding search.
- managed
Database StringId - The OCID of the Managed Database.
- sql
Tuning StringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- begin
Exec StringId - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- end
Exec StringId - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- filters
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Filter> - finding
Filter String - The filter used to display specific findings in the report.
- index
Hash StringFilter - The hash value of the index table name.
- opc
Named StringCredential Id - The OCID of the Named Credential.
- search
Period String - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- stats
Hash StringFilter - The hash value of the object for the statistic finding search.
- managed
Database stringId - The OCID of the Managed Database.
- sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- begin
Exec stringId - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- end
Exec stringId - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- filters
Get
Managed Database Sql Tuning Advisor Tasks Findings Filter[] - finding
Filter string - The filter used to display specific findings in the report.
- index
Hash stringFilter - The hash value of the index table name.
- opc
Named stringCredential Id - The OCID of the Named Credential.
- search
Period string - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- stats
Hash stringFilter - The hash value of the object for the statistic finding search.
- managed_
database_ strid - The OCID of the Managed Database.
- sql_
tuning_ stradvisor_ task_ id - The SQL tuning task identifier. This is not the OCID.
- begin_
exec_ strid - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- end_
exec_ strid - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- filters
Sequence[databasemanagement.
Get Managed Database Sql Tuning Advisor Tasks Findings Filter] - finding_
filter str - The filter used to display specific findings in the report.
- index_
hash_ strfilter - The hash value of the index table name.
- opc_
named_ strcredential_ id - The OCID of the Named Credential.
- search_
period str - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- stats_
hash_ strfilter - The hash value of the object for the statistic finding search.
- managed
Database StringId - The OCID of the Managed Database.
- sql
Tuning StringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- begin
Exec StringId - The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
- end
Exec StringId - The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
- filters List<Property Map>
- finding
Filter String - The filter used to display specific findings in the report.
- index
Hash StringFilter - The hash value of the index table name.
- opc
Named StringCredential Id - The OCID of the Named Credential.
- search
Period String - The search period during which the API will search for begin and end exec id, if not supplied. Unused if beginExecId and endExecId optional query params are both supplied.
- stats
Hash StringFilter - The hash value of the object for the statistic finding search.
getManagedDatabaseSqlTuningAdvisorTasksFindings Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Database stringId - Sql
Tuning List<GetAdvisor Task Finding Collections Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection> - The list of sql_tuning_advisor_task_finding_collection.
- Sql
Tuning stringAdvisor Task Id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- Begin
Exec stringId - End
Exec stringId - Filters
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Filter> - Finding
Filter string - Index
Hash stringFilter - Opc
Named stringCredential Id - Search
Period string - Stats
Hash stringFilter
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Database stringId - Sql
Tuning []GetAdvisor Task Finding Collections Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection - The list of sql_tuning_advisor_task_finding_collection.
- Sql
Tuning stringAdvisor Task Id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- Begin
Exec stringId - End
Exec stringId - Filters
[]Get
Managed Database Sql Tuning Advisor Tasks Findings Filter - Finding
Filter string - Index
Hash stringFilter - Opc
Named stringCredential Id - Search
Period string - Stats
Hash stringFilter
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Database StringId - sql
Tuning List<GetAdvisor Task Finding Collections Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection> - The list of sql_tuning_advisor_task_finding_collection.
- sql
Tuning StringAdvisor Task Id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- begin
Exec StringId - end
Exec StringId - filters
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Filter> - finding
Filter String - index
Hash StringFilter - opc
Named StringCredential Id - search
Period String - stats
Hash StringFilter
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Database stringId - sql
Tuning GetAdvisor Task Finding Collections Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection[] - The list of sql_tuning_advisor_task_finding_collection.
- sql
Tuning stringAdvisor Task Id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- begin
Exec stringId - end
Exec stringId - filters
Get
Managed Database Sql Tuning Advisor Tasks Findings Filter[] - finding
Filter string - index
Hash stringFilter - opc
Named stringCredential Id - search
Period string - stats
Hash stringFilter
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
database_ strid - sql_
tuning_ Sequence[databasemanagement.advisor_ task_ finding_ collections Get Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection] - The list of sql_tuning_advisor_task_finding_collection.
- sql_
tuning_ stradvisor_ task_ id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- begin_
exec_ strid - end_
exec_ strid - filters
Sequence[databasemanagement.
Get Managed Database Sql Tuning Advisor Tasks Findings Filter] - finding_
filter str - index_
hash_ strfilter - opc_
named_ strcredential_ id - search_
period str - stats_
hash_ strfilter
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Database StringId - sql
Tuning List<Property Map>Advisor Task Finding Collections - The list of sql_tuning_advisor_task_finding_collection.
- sql
Tuning StringAdvisor Task Id - The unique identifier of the SQL Tuning Advisor task. This is not the OCID.
- begin
Exec StringId - end
Exec StringId - filters List<Property Map>
- finding
Filter String - index
Hash StringFilter - opc
Named StringCredential Id - search
Period String - stats
Hash StringFilter
Supporting Types
GetManagedDatabaseSqlTuningAdvisorTasksFindingsFilter
GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollection
- Items
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection Item> - An array of the findings for a tuning task.
- Items
[]Get
Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection Item - An array of the findings for a tuning task.
- items
List<Get
Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection Item> - An array of the findings for a tuning task.
- items
Get
Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection Item[] - An array of the findings for a tuning task.
- items
Sequence[databasemanagement.
Get Managed Database Sql Tuning Advisor Tasks Findings Sql Tuning Advisor Task Finding Collection Item] - An array of the findings for a tuning task.
- items List<Property Map>
- An array of the findings for a tuning task.
GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollectionItem
- Db
Time doubleBenefit - The time benefit (in seconds) for the highest-rated finding for this object.
- Is
Alternative boolPlan Finding Present - Indicates whether an alternative execution plan was reported for this SQL statement.
- Is
Error boolFinding Present - Indicates whether there is an error in this SQL statement.
- Is
Index boolFinding Present - Indicates whether an index recommendation was reported for this SQL statement.
- Is
Miscellaneous boolFinding Present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- Is
Restructure boolSql Finding Present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- Is
Sql boolProfile Finding Implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- Is
Sql boolProfile Finding Present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- Is
Stats boolFinding Present - Indicates whether a statistics recommendation was reported for this SQL statement.
- Is
Timeout boolFinding Present - Indicates whether the task timed out.
- Parsing
Schema string - The parsing schema of the object.
- Per
Execution intPercentage - The per-execution percentage benefit.
- Sql
Key string - The unique key of this SQL statement.
- Sql
Text string - The text of the SQL statement.
- Sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- Sql
Tuning stringAdvisor Task Object Execution Id - The execution id of the analyzed SQL object. This is not the OCID.
- Sql
Tuning stringAdvisor Task Object Id - The key of the object to which these recommendations apply. This is not the OCID.
- Db
Time float64Benefit - The time benefit (in seconds) for the highest-rated finding for this object.
- Is
Alternative boolPlan Finding Present - Indicates whether an alternative execution plan was reported for this SQL statement.
- Is
Error boolFinding Present - Indicates whether there is an error in this SQL statement.
- Is
Index boolFinding Present - Indicates whether an index recommendation was reported for this SQL statement.
- Is
Miscellaneous boolFinding Present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- Is
Restructure boolSql Finding Present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- Is
Sql boolProfile Finding Implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- Is
Sql boolProfile Finding Present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- Is
Stats boolFinding Present - Indicates whether a statistics recommendation was reported for this SQL statement.
- Is
Timeout boolFinding Present - Indicates whether the task timed out.
- Parsing
Schema string - The parsing schema of the object.
- Per
Execution intPercentage - The per-execution percentage benefit.
- Sql
Key string - The unique key of this SQL statement.
- Sql
Text string - The text of the SQL statement.
- Sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- Sql
Tuning stringAdvisor Task Object Execution Id - The execution id of the analyzed SQL object. This is not the OCID.
- Sql
Tuning stringAdvisor Task Object Id - The key of the object to which these recommendations apply. This is not the OCID.
- db
Time DoubleBenefit - The time benefit (in seconds) for the highest-rated finding for this object.
- is
Alternative BooleanPlan Finding Present - Indicates whether an alternative execution plan was reported for this SQL statement.
- is
Error BooleanFinding Present - Indicates whether there is an error in this SQL statement.
- is
Index BooleanFinding Present - Indicates whether an index recommendation was reported for this SQL statement.
- is
Miscellaneous BooleanFinding Present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- is
Restructure BooleanSql Finding Present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- is
Sql BooleanProfile Finding Implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- is
Sql BooleanProfile Finding Present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- is
Stats BooleanFinding Present - Indicates whether a statistics recommendation was reported for this SQL statement.
- is
Timeout BooleanFinding Present - Indicates whether the task timed out.
- parsing
Schema String - The parsing schema of the object.
- per
Execution IntegerPercentage - The per-execution percentage benefit.
- sql
Key String - The unique key of this SQL statement.
- sql
Text String - The text of the SQL statement.
- sql
Tuning StringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- sql
Tuning StringAdvisor Task Object Execution Id - The execution id of the analyzed SQL object. This is not the OCID.
- sql
Tuning StringAdvisor Task Object Id - The key of the object to which these recommendations apply. This is not the OCID.
- db
Time numberBenefit - The time benefit (in seconds) for the highest-rated finding for this object.
- is
Alternative booleanPlan Finding Present - Indicates whether an alternative execution plan was reported for this SQL statement.
- is
Error booleanFinding Present - Indicates whether there is an error in this SQL statement.
- is
Index booleanFinding Present - Indicates whether an index recommendation was reported for this SQL statement.
- is
Miscellaneous booleanFinding Present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- is
Restructure booleanSql Finding Present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- is
Sql booleanProfile Finding Implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- is
Sql booleanProfile Finding Present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- is
Stats booleanFinding Present - Indicates whether a statistics recommendation was reported for this SQL statement.
- is
Timeout booleanFinding Present - Indicates whether the task timed out.
- parsing
Schema string - The parsing schema of the object.
- per
Execution numberPercentage - The per-execution percentage benefit.
- sql
Key string - The unique key of this SQL statement.
- sql
Text string - The text of the SQL statement.
- sql
Tuning stringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- sql
Tuning stringAdvisor Task Object Execution Id - The execution id of the analyzed SQL object. This is not the OCID.
- sql
Tuning stringAdvisor Task Object Id - The key of the object to which these recommendations apply. This is not the OCID.
- db_
time_ floatbenefit - The time benefit (in seconds) for the highest-rated finding for this object.
- is_
alternative_ boolplan_ finding_ present - Indicates whether an alternative execution plan was reported for this SQL statement.
- is_
error_ boolfinding_ present - Indicates whether there is an error in this SQL statement.
- is_
index_ boolfinding_ present - Indicates whether an index recommendation was reported for this SQL statement.
- is_
miscellaneous_ boolfinding_ present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- is_
restructure_ boolsql_ finding_ present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- is_
sql_ boolprofile_ finding_ implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- is_
sql_ boolprofile_ finding_ present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- is_
stats_ boolfinding_ present - Indicates whether a statistics recommendation was reported for this SQL statement.
- is_
timeout_ boolfinding_ present - Indicates whether the task timed out.
- parsing_
schema str - The parsing schema of the object.
- per_
execution_ intpercentage - The per-execution percentage benefit.
- sql_
key str - The unique key of this SQL statement.
- sql_
text str - The text of the SQL statement.
- sql_
tuning_ stradvisor_ task_ id - The SQL tuning task identifier. This is not the OCID.
- sql_
tuning_ stradvisor_ task_ object_ execution_ id - The execution id of the analyzed SQL object. This is not the OCID.
- sql_
tuning_ stradvisor_ task_ object_ id - The key of the object to which these recommendations apply. This is not the OCID.
- db
Time NumberBenefit - The time benefit (in seconds) for the highest-rated finding for this object.
- is
Alternative BooleanPlan Finding Present - Indicates whether an alternative execution plan was reported for this SQL statement.
- is
Error BooleanFinding Present - Indicates whether there is an error in this SQL statement.
- is
Index BooleanFinding Present - Indicates whether an index recommendation was reported for this SQL statement.
- is
Miscellaneous BooleanFinding Present - Indicates whether a miscellaneous finding was reported for this SQL statement.
- is
Restructure BooleanSql Finding Present - Indicates whether a restructure SQL recommendation was reported for this SQL statement.
- is
Sql BooleanProfile Finding Implemented - Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.
- is
Sql BooleanProfile Finding Present - Indicates whether a SQL Profile recommendation was reported for this SQL statement.
- is
Stats BooleanFinding Present - Indicates whether a statistics recommendation was reported for this SQL statement.
- is
Timeout BooleanFinding Present - Indicates whether the task timed out.
- parsing
Schema String - The parsing schema of the object.
- per
Execution NumberPercentage - The per-execution percentage benefit.
- sql
Key String - The unique key of this SQL statement.
- sql
Text String - The text of the SQL statement.
- sql
Tuning StringAdvisor Task Id - The SQL tuning task identifier. This is not the OCID.
- sql
Tuning StringAdvisor Task Object Execution Id - The execution id of the analyzed SQL object. This is not the OCID.
- sql
Tuning StringAdvisor Task Object Id - The key of the object to which these recommendations apply. This is not the OCID.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi