Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksFinding
Explore with Pulumi AI
This data source provides details about a specific Managed Database Sql Tuning Advisor Tasks Finding resource 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 testManagedDatabaseSqlTuningAdvisorTasksFinding = oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksFinding({
managedDatabaseId: testManagedDatabase.id,
sqlTuningAdvisorTaskId: testSqlTuningAdvisorTask.id,
beginExecId: testBeginExec.id,
endExecId: testEndExec.id,
findingFilter: managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter,
indexHashFilter: managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter,
searchPeriod: managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod,
statsHashFilter: managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter,
});
import pulumi
import pulumi_oci as oci
test_managed_database_sql_tuning_advisor_tasks_finding = oci.DatabaseManagement.get_managed_database_sql_tuning_advisor_tasks_finding(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,
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/v2/go/oci/DatabaseManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseManagement.GetManagedDatabaseSqlTuningAdvisorTasksFinding(ctx, &databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs{
ManagedDatabaseId: testManagedDatabase.Id,
SqlTuningAdvisorTaskId: testSqlTuningAdvisorTask.Id,
BeginExecId: pulumi.StringRef(testBeginExec.Id),
EndExecId: pulumi.StringRef(testEndExec.Id),
FindingFilter: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter),
IndexHashFilter: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter),
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 testManagedDatabaseSqlTuningAdvisorTasksFinding = Oci.DatabaseManagement.GetManagedDatabaseSqlTuningAdvisorTasksFinding.Invoke(new()
{
ManagedDatabaseId = testManagedDatabase.Id,
SqlTuningAdvisorTaskId = testSqlTuningAdvisorTask.Id,
BeginExecId = testBeginExec.Id,
EndExecId = testEndExec.Id,
FindingFilter = managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter,
IndexHashFilter = managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter,
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.GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs;
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 testManagedDatabaseSqlTuningAdvisorTasksFinding = DatabaseManagementFunctions.getManagedDatabaseSqlTuningAdvisorTasksFinding(GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs.builder()
.managedDatabaseId(testManagedDatabase.id())
.sqlTuningAdvisorTaskId(testSqlTuningAdvisorTask.id())
.beginExecId(testBeginExec.id())
.endExecId(testEndExec.id())
.findingFilter(managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter)
.indexHashFilter(managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter)
.searchPeriod(managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod)
.statsHashFilter(managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter)
.build());
}
}
variables:
testManagedDatabaseSqlTuningAdvisorTasksFinding:
fn::invoke:
Function: oci:DatabaseManagement:getManagedDatabaseSqlTuningAdvisorTasksFinding
Arguments:
managedDatabaseId: ${testManagedDatabase.id}
sqlTuningAdvisorTaskId: ${testSqlTuningAdvisorTask.id}
beginExecId: ${testBeginExec.id}
endExecId: ${testEndExec.id}
findingFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingFindingFilter}
indexHashFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingIndexHashFilter}
searchPeriod: ${managedDatabaseSqlTuningAdvisorTasksFindingSearchPeriod}
statsHashFilter: ${managedDatabaseSqlTuningAdvisorTasksFindingStatsHashFilter}
Using getManagedDatabaseSqlTuningAdvisorTasksFinding
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 getManagedDatabaseSqlTuningAdvisorTasksFinding(args: GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseSqlTuningAdvisorTasksFindingResult>
function getManagedDatabaseSqlTuningAdvisorTasksFindingOutput(args: GetManagedDatabaseSqlTuningAdvisorTasksFindingOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseSqlTuningAdvisorTasksFindingResult>
def get_managed_database_sql_tuning_advisor_tasks_finding(begin_exec_id: Optional[str] = None,
end_exec_id: Optional[str] = None,
finding_filter: Optional[str] = None,
index_hash_filter: Optional[str] = None,
managed_database_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) -> GetManagedDatabaseSqlTuningAdvisorTasksFindingResult
def get_managed_database_sql_tuning_advisor_tasks_finding_output(begin_exec_id: Optional[pulumi.Input[str]] = None,
end_exec_id: Optional[pulumi.Input[str]] = None,
finding_filter: Optional[pulumi.Input[str]] = None,
index_hash_filter: Optional[pulumi.Input[str]] = None,
managed_database_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[GetManagedDatabaseSqlTuningAdvisorTasksFindingResult]
func GetManagedDatabaseSqlTuningAdvisorTasksFinding(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs, opts ...InvokeOption) (*GetManagedDatabaseSqlTuningAdvisorTasksFindingResult, error)
func GetManagedDatabaseSqlTuningAdvisorTasksFindingOutput(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksFindingOutputArgs, opts ...InvokeOption) GetManagedDatabaseSqlTuningAdvisorTasksFindingResultOutput
> Note: This function is named GetManagedDatabaseSqlTuningAdvisorTasksFinding
in the Go SDK.
public static class GetManagedDatabaseSqlTuningAdvisorTasksFinding
{
public static Task<GetManagedDatabaseSqlTuningAdvisorTasksFindingResult> InvokeAsync(GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseSqlTuningAdvisorTasksFindingResult> Invoke(GetManagedDatabaseSqlTuningAdvisorTasksFindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseSqlTuningAdvisorTasksFindingResult> getManagedDatabaseSqlTuningAdvisorTasksFinding(GetManagedDatabaseSqlTuningAdvisorTasksFindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksFinding:getManagedDatabaseSqlTuningAdvisorTasksFinding
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.
- Finding
Filter string - The filter used to display specific findings in the report.
- Index
Hash stringFilter - The hash value of the index table name.
- 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.
- Finding
Filter string - The filter used to display specific findings in the report.
- Index
Hash stringFilter - The hash value of the index table name.
- 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.
- finding
Filter String - The filter used to display specific findings in the report.
- index
Hash StringFilter - The hash value of the index table name.
- 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.
- finding
Filter string - The filter used to display specific findings in the report.
- index
Hash stringFilter - The hash value of the index table name.
- 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.
- finding_
filter str - The filter used to display specific findings in the report.
- index_
hash_ strfilter - The hash value of the index table name.
- 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.
- finding
Filter String - The filter used to display specific findings in the report.
- index
Hash StringFilter - The hash value of the index table name.
- 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.
getManagedDatabaseSqlTuningAdvisorTasksFinding Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Managed Database Sql Tuning Advisor Tasks Finding Item> - An array of the findings for a tuning task.
- Managed
Database stringId - 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 - Finding
Filter string - Index
Hash stringFilter - Search
Period string - Stats
Hash stringFilter
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Managed Database Sql Tuning Advisor Tasks Finding Item - An array of the findings for a tuning task.
- Managed
Database stringId - 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 - Finding
Filter string - Index
Hash stringFilter - Search
Period string - Stats
Hash stringFilter
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Managed Database Sql Tuning Advisor Tasks Finding Item> - An array of the findings for a tuning task.
- managed
Database StringId - 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 - finding
Filter String - index
Hash StringFilter - search
Period String - stats
Hash StringFilter
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Managed Database Sql Tuning Advisor Tasks Finding Item[] - An array of the findings for a tuning task.
- managed
Database stringId - 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 - finding
Filter string - index
Hash stringFilter - search
Period string - stats
Hash stringFilter
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[databasemanagement.
Get Managed Database Sql Tuning Advisor Tasks Finding Item] - An array of the findings for a tuning task.
- managed_
database_ strid - 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 - finding_
filter str - index_
hash_ strfilter - search_
period str - stats_
hash_ strfilter
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- An array of the findings for a tuning task.
- managed
Database StringId - 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 - finding
Filter String - index
Hash StringFilter - search
Period String - stats
Hash StringFilter
Supporting Types
GetManagedDatabaseSqlTuningAdvisorTasksFindingItem
- 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.