Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DatabaseManagement.getManagedMySqlDatabaseSqlData
Explore with Pulumi AI
This data source provides the list of Managed My Sql Database Sql Data in Oracle Cloud Infrastructure Database Management service.
Retrieves SQL performance data for given MySQL Instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedMySqlDatabaseSqlData = oci.DatabaseManagement.getManagedMySqlDatabaseSqlData({
    endTime: managedMySqlDatabaseSqlDataEndTime,
    managedMySqlDatabaseId: testManagedMySqlDatabase.id,
    startTime: managedMySqlDatabaseSqlDataStartTime,
    filterColumn: managedMySqlDatabaseSqlDataFilterColumn,
});
import pulumi
import pulumi_oci as oci
test_managed_my_sql_database_sql_data = oci.DatabaseManagement.get_managed_my_sql_database_sql_data(end_time=managed_my_sql_database_sql_data_end_time,
    managed_my_sql_database_id=test_managed_my_sql_database["id"],
    start_time=managed_my_sql_database_sql_data_start_time,
    filter_column=managed_my_sql_database_sql_data_filter_column)
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.GetManagedMySqlDatabaseSqlData(ctx, &databasemanagement.GetManagedMySqlDatabaseSqlDataArgs{
			EndTime:                managedMySqlDatabaseSqlDataEndTime,
			ManagedMySqlDatabaseId: testManagedMySqlDatabase.Id,
			StartTime:              managedMySqlDatabaseSqlDataStartTime,
			FilterColumn:           pulumi.StringRef(managedMySqlDatabaseSqlDataFilterColumn),
		}, 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 testManagedMySqlDatabaseSqlData = Oci.DatabaseManagement.GetManagedMySqlDatabaseSqlData.Invoke(new()
    {
        EndTime = managedMySqlDatabaseSqlDataEndTime,
        ManagedMySqlDatabaseId = testManagedMySqlDatabase.Id,
        StartTime = managedMySqlDatabaseSqlDataStartTime,
        FilterColumn = managedMySqlDatabaseSqlDataFilterColumn,
    });
});
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.GetManagedMySqlDatabaseSqlDataArgs;
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 testManagedMySqlDatabaseSqlData = DatabaseManagementFunctions.getManagedMySqlDatabaseSqlData(GetManagedMySqlDatabaseSqlDataArgs.builder()
            .endTime(managedMySqlDatabaseSqlDataEndTime)
            .managedMySqlDatabaseId(testManagedMySqlDatabase.id())
            .startTime(managedMySqlDatabaseSqlDataStartTime)
            .filterColumn(managedMySqlDatabaseSqlDataFilterColumn)
            .build());
    }
}
variables:
  testManagedMySqlDatabaseSqlData:
    fn::invoke:
      function: oci:DatabaseManagement:getManagedMySqlDatabaseSqlData
      arguments:
        endTime: ${managedMySqlDatabaseSqlDataEndTime}
        managedMySqlDatabaseId: ${testManagedMySqlDatabase.id}
        startTime: ${managedMySqlDatabaseSqlDataStartTime}
        filterColumn: ${managedMySqlDatabaseSqlDataFilterColumn}
Using getManagedMySqlDatabaseSqlData
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 getManagedMySqlDatabaseSqlData(args: GetManagedMySqlDatabaseSqlDataArgs, opts?: InvokeOptions): Promise<GetManagedMySqlDatabaseSqlDataResult>
function getManagedMySqlDatabaseSqlDataOutput(args: GetManagedMySqlDatabaseSqlDataOutputArgs, opts?: InvokeOptions): Output<GetManagedMySqlDatabaseSqlDataResult>def get_managed_my_sql_database_sql_data(end_time: Optional[str] = None,
                                         filter_column: Optional[str] = None,
                                         filters: Optional[Sequence[GetManagedMySqlDatabaseSqlDataFilter]] = None,
                                         managed_my_sql_database_id: Optional[str] = None,
                                         start_time: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetManagedMySqlDatabaseSqlDataResult
def get_managed_my_sql_database_sql_data_output(end_time: Optional[pulumi.Input[str]] = None,
                                         filter_column: Optional[pulumi.Input[str]] = None,
                                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagedMySqlDatabaseSqlDataFilterArgs]]]] = None,
                                         managed_my_sql_database_id: Optional[pulumi.Input[str]] = None,
                                         start_time: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetManagedMySqlDatabaseSqlDataResult]func GetManagedMySqlDatabaseSqlData(ctx *Context, args *GetManagedMySqlDatabaseSqlDataArgs, opts ...InvokeOption) (*GetManagedMySqlDatabaseSqlDataResult, error)
func GetManagedMySqlDatabaseSqlDataOutput(ctx *Context, args *GetManagedMySqlDatabaseSqlDataOutputArgs, opts ...InvokeOption) GetManagedMySqlDatabaseSqlDataResultOutput> Note: This function is named GetManagedMySqlDatabaseSqlData in the Go SDK.
public static class GetManagedMySqlDatabaseSqlData 
{
    public static Task<GetManagedMySqlDatabaseSqlDataResult> InvokeAsync(GetManagedMySqlDatabaseSqlDataArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedMySqlDatabaseSqlDataResult> Invoke(GetManagedMySqlDatabaseSqlDataInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedMySqlDatabaseSqlDataResult> getManagedMySqlDatabaseSqlData(GetManagedMySqlDatabaseSqlDataArgs args, InvokeOptions options)
public static Output<GetManagedMySqlDatabaseSqlDataResult> getManagedMySqlDatabaseSqlData(GetManagedMySqlDatabaseSqlDataArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseManagement/getManagedMySqlDatabaseSqlData:getManagedMySqlDatabaseSqlData
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EndTime string
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- ManagedMy stringSql Database Id 
- The OCID of the Managed MySQL Database.
- StartTime string
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- FilterColumn string
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- Filters
List<GetManaged My Sql Database Sql Data Filter> 
- EndTime string
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- ManagedMy stringSql Database Id 
- The OCID of the Managed MySQL Database.
- StartTime string
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- FilterColumn string
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- Filters
[]GetManaged My Sql Database Sql Data Filter 
- endTime String
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- managedMy StringSql Database Id 
- The OCID of the Managed MySQL Database.
- startTime String
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterColumn String
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- filters
List<GetManaged My Sql Database Sql Data Filter> 
- endTime string
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- managedMy stringSql Database Id 
- The OCID of the Managed MySQL Database.
- startTime string
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterColumn string
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- filters
GetManaged My Sql Database Sql Data Filter[] 
- end_time str
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- managed_my_ strsql_ database_ id 
- The OCID of the Managed MySQL Database.
- start_time str
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filter_column str
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- filters
Sequence[GetManaged My Sql Database Sql Data Filter] 
- endTime String
- The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- managedMy StringSql Database Id 
- The OCID of the Managed MySQL Database.
- startTime String
- The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterColumn String
- The parameter to filter results by key criteria which include :- AVG_TIMER_WAIT
- SUM_TIMER_WAIT
- COUNT_STAR
- SUM_ERRORS
- SUM_ROWS_AFFECTED
- SUM_ROWS_SENT
- SUM_ROWS_EXAMINED
- SUM_CREATED_TMP_TABLES
- SUM_NO_INDEX_USED
- SUM_NO_GOOD_INDEX_USED
- FIRST_SEEN
- LAST_SEEN
- HEATWAVE_OFFLOADED
- HEATWAVE_OUT_OF_MEMORY
 
- filters List<Property Map>
getManagedMySqlDatabaseSqlData Result
The following output properties are available:
- EndTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagedMy stringSql Database Id 
- MySql List<GetData Collections Managed My Sql Database Sql Data My Sql Data Collection> 
- The list of my_sql_data_collection.
- StartTime string
- FilterColumn string
- Filters
List<GetManaged My Sql Database Sql Data Filter> 
- EndTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagedMy stringSql Database Id 
- MySql []GetData Collections Managed My Sql Database Sql Data My Sql Data Collection 
- The list of my_sql_data_collection.
- StartTime string
- FilterColumn string
- Filters
[]GetManaged My Sql Database Sql Data Filter 
- endTime String
- id String
- The provider-assigned unique ID for this managed resource.
- managedMy StringSql Database Id 
- mySql List<GetData Collections Managed My Sql Database Sql Data My Sql Data Collection> 
- The list of my_sql_data_collection.
- startTime String
- filterColumn String
- filters
List<GetManaged My Sql Database Sql Data Filter> 
- endTime string
- id string
- The provider-assigned unique ID for this managed resource.
- managedMy stringSql Database Id 
- mySql GetData Collections Managed My Sql Database Sql Data My Sql Data Collection[] 
- The list of my_sql_data_collection.
- startTime string
- filterColumn string
- filters
GetManaged My Sql Database Sql Data Filter[] 
- end_time str
- id str
- The provider-assigned unique ID for this managed resource.
- managed_my_ strsql_ database_ id 
- my_sql_ Sequence[Getdata_ collections Managed My Sql Database Sql Data My Sql Data Collection] 
- The list of my_sql_data_collection.
- start_time str
- filter_column str
- filters
Sequence[GetManaged My Sql Database Sql Data Filter] 
- endTime String
- id String
- The provider-assigned unique ID for this managed resource.
- managedMy StringSql Database Id 
- mySql List<Property Map>Data Collections 
- The list of my_sql_data_collection.
- startTime String
- filterColumn String
- filters List<Property Map>
Supporting Types
GetManagedMySqlDatabaseSqlDataFilter       
GetManagedMySqlDatabaseSqlDataMySqlDataCollection          
- Items
List<GetManaged My Sql Database Sql Data My Sql Data Collection Item> 
- The list of SQLDataSummary records.
- Items
[]GetManaged My Sql Database Sql Data My Sql Data Collection Item 
- The list of SQLDataSummary records.
- items
List<GetManaged My Sql Database Sql Data My Sql Data Collection Item> 
- The list of SQLDataSummary records.
- items
GetManaged My Sql Database Sql Data My Sql Data Collection Item[] 
- The list of SQLDataSummary records.
- items
Sequence[GetManaged My Sql Database Sql Data My Sql Data Collection Item] 
- The list of SQLDataSummary records.
- items List<Property Map>
- The list of SQLDataSummary records.
GetManagedMySqlDatabaseSqlDataMySqlDataCollectionItem           
- AvgTimer doubleWait 
- The average execution time.
- CountStar double
- The number Of times the query has been executed.
- Digest string
- The digest information of the normalized query.
- DigestText string
- The normalized query.
- FirstSeen string
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- HeatWave doubleOffloaded 
- The number of query executions offloaded to HeatWave.
- HeatWave doubleOut Of Memory 
- The number of query executions with HeatWave out-of-memory errors.
- LastSeen string
- The date and time the query was last seen.
- MaxControlled stringMemory 
- The maximum amount of controlled memory used by a statement during execution.
- MaxTimer doubleWait 
- The slowest the query has been executed.
- MaxTotal stringMemory 
- The maximum amount of memory used by a statement during execution.
- MinTimer doubleWait 
- The fastest the query has been executed.
- Quantile95 double
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- Quantile99 double
- The 99th percentile of the query latency.
- Quantile999 double
- The 99.9th percentile of the query latency.
- SchemaName string
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- SumCpu stringTime 
- The total amount of time spent on CPU for this statement.
- SumCreated doubleTemp Disk Tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- SumCreated doubleTemp Tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- SumErrors double
- The total number of errors that have been encountered executing the query.
- SumLock doubleTime 
- The total amount of time that has been spent waiting for table locks.
- SumNo doubleGood Index Used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- SumNo doubleIndex Used 
- The total number of times no index was used to execute the query.
- SumRows doubleAffected 
- The total number of rows that have been modified by the query.
- SumRows doubleExamined 
- The total number of rows that have been examined by the query.
- SumRows doubleSent 
- The total number of rows that have been returned (sent) to the client.
- SumSelect doubleFull Join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- SumSelect doubleFull Range Join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- SumSelect doubleRange 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- SumSelect doubleRange Check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- SumSelect doubleScan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- SumSort doubleMerge Passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- SumSort doubleRange 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- SumSort doubleRows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- SumSort doubleScan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- SumTimer doubleWait 
- The total amount of time that has been spent executing the query.
- SumWarnings double
- The total number of warnings that have been encountered executing the query.
- AvgTimer float64Wait 
- The average execution time.
- CountStar float64
- The number Of times the query has been executed.
- Digest string
- The digest information of the normalized query.
- DigestText string
- The normalized query.
- FirstSeen string
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- HeatWave float64Offloaded 
- The number of query executions offloaded to HeatWave.
- HeatWave float64Out Of Memory 
- The number of query executions with HeatWave out-of-memory errors.
- LastSeen string
- The date and time the query was last seen.
- MaxControlled stringMemory 
- The maximum amount of controlled memory used by a statement during execution.
- MaxTimer float64Wait 
- The slowest the query has been executed.
- MaxTotal stringMemory 
- The maximum amount of memory used by a statement during execution.
- MinTimer float64Wait 
- The fastest the query has been executed.
- Quantile95 float64
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- Quantile99 float64
- The 99th percentile of the query latency.
- Quantile999 float64
- The 99.9th percentile of the query latency.
- SchemaName string
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- SumCpu stringTime 
- The total amount of time spent on CPU for this statement.
- SumCreated float64Temp Disk Tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- SumCreated float64Temp Tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- SumErrors float64
- The total number of errors that have been encountered executing the query.
- SumLock float64Time 
- The total amount of time that has been spent waiting for table locks.
- SumNo float64Good Index Used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- SumNo float64Index Used 
- The total number of times no index was used to execute the query.
- SumRows float64Affected 
- The total number of rows that have been modified by the query.
- SumRows float64Examined 
- The total number of rows that have been examined by the query.
- SumRows float64Sent 
- The total number of rows that have been returned (sent) to the client.
- SumSelect float64Full Join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- SumSelect float64Full Range Join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- SumSelect float64Range 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- SumSelect float64Range Check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- SumSelect float64Scan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- SumSort float64Merge Passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- SumSort float64Range 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- SumSort float64Rows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- SumSort float64Scan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- SumTimer float64Wait 
- The total amount of time that has been spent executing the query.
- SumWarnings float64
- The total number of warnings that have been encountered executing the query.
- avgTimer DoubleWait 
- The average execution time.
- countStar Double
- The number Of times the query has been executed.
- digest String
- The digest information of the normalized query.
- digestText String
- The normalized query.
- firstSeen String
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- heatWave DoubleOffloaded 
- The number of query executions offloaded to HeatWave.
- heatWave DoubleOut Of Memory 
- The number of query executions with HeatWave out-of-memory errors.
- lastSeen String
- The date and time the query was last seen.
- maxControlled StringMemory 
- The maximum amount of controlled memory used by a statement during execution.
- maxTimer DoubleWait 
- The slowest the query has been executed.
- maxTotal StringMemory 
- The maximum amount of memory used by a statement during execution.
- minTimer DoubleWait 
- The fastest the query has been executed.
- quantile95 Double
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- quantile99 Double
- The 99th percentile of the query latency.
- quantile999 Double
- The 99.9th percentile of the query latency.
- schemaName String
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- sumCpu StringTime 
- The total amount of time spent on CPU for this statement.
- sumCreated DoubleTemp Disk Tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- sumCreated DoubleTemp Tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- sumErrors Double
- The total number of errors that have been encountered executing the query.
- sumLock DoubleTime 
- The total amount of time that has been spent waiting for table locks.
- sumNo DoubleGood Index Used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- sumNo DoubleIndex Used 
- The total number of times no index was used to execute the query.
- sumRows DoubleAffected 
- The total number of rows that have been modified by the query.
- sumRows DoubleExamined 
- The total number of rows that have been examined by the query.
- sumRows DoubleSent 
- The total number of rows that have been returned (sent) to the client.
- sumSelect DoubleFull Join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- sumSelect DoubleFull Range Join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- sumSelect DoubleRange 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- sumSelect DoubleRange Check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- sumSelect DoubleScan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- sumSort DoubleMerge Passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- sumSort DoubleRange 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- sumSort DoubleRows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- sumSort DoubleScan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- sumTimer DoubleWait 
- The total amount of time that has been spent executing the query.
- sumWarnings Double
- The total number of warnings that have been encountered executing the query.
- avgTimer numberWait 
- The average execution time.
- countStar number
- The number Of times the query has been executed.
- digest string
- The digest information of the normalized query.
- digestText string
- The normalized query.
- firstSeen string
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- heatWave numberOffloaded 
- The number of query executions offloaded to HeatWave.
- heatWave numberOut Of Memory 
- The number of query executions with HeatWave out-of-memory errors.
- lastSeen string
- The date and time the query was last seen.
- maxControlled stringMemory 
- The maximum amount of controlled memory used by a statement during execution.
- maxTimer numberWait 
- The slowest the query has been executed.
- maxTotal stringMemory 
- The maximum amount of memory used by a statement during execution.
- minTimer numberWait 
- The fastest the query has been executed.
- quantile95 number
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- quantile99 number
- The 99th percentile of the query latency.
- quantile999 number
- The 99.9th percentile of the query latency.
- schemaName string
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- sumCpu stringTime 
- The total amount of time spent on CPU for this statement.
- sumCreated numberTemp Disk Tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- sumCreated numberTemp Tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- sumErrors number
- The total number of errors that have been encountered executing the query.
- sumLock numberTime 
- The total amount of time that has been spent waiting for table locks.
- sumNo numberGood Index Used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- sumNo numberIndex Used 
- The total number of times no index was used to execute the query.
- sumRows numberAffected 
- The total number of rows that have been modified by the query.
- sumRows numberExamined 
- The total number of rows that have been examined by the query.
- sumRows numberSent 
- The total number of rows that have been returned (sent) to the client.
- sumSelect numberFull Join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- sumSelect numberFull Range Join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- sumSelect numberRange 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- sumSelect numberRange Check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- sumSelect numberScan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- sumSort numberMerge Passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- sumSort numberRange 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- sumSort numberRows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- sumSort numberScan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- sumTimer numberWait 
- The total amount of time that has been spent executing the query.
- sumWarnings number
- The total number of warnings that have been encountered executing the query.
- avg_timer_ floatwait 
- The average execution time.
- count_star float
- The number Of times the query has been executed.
- digest str
- The digest information of the normalized query.
- digest_text str
- The normalized query.
- first_seen str
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- heat_wave_ floatoffloaded 
- The number of query executions offloaded to HeatWave.
- heat_wave_ floatout_ of_ memory 
- The number of query executions with HeatWave out-of-memory errors.
- last_seen str
- The date and time the query was last seen.
- max_controlled_ strmemory 
- The maximum amount of controlled memory used by a statement during execution.
- max_timer_ floatwait 
- The slowest the query has been executed.
- max_total_ strmemory 
- The maximum amount of memory used by a statement during execution.
- min_timer_ floatwait 
- The fastest the query has been executed.
- quantile95 float
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- quantile99 float
- The 99th percentile of the query latency.
- quantile999 float
- The 99.9th percentile of the query latency.
- schema_name str
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- sum_cpu_ strtime 
- The total amount of time spent on CPU for this statement.
- sum_created_ floattemp_ disk_ tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- sum_created_ floattemp_ tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- sum_errors float
- The total number of errors that have been encountered executing the query.
- sum_lock_ floattime 
- The total amount of time that has been spent waiting for table locks.
- sum_no_ floatgood_ index_ used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- sum_no_ floatindex_ used 
- The total number of times no index was used to execute the query.
- sum_rows_ floataffected 
- The total number of rows that have been modified by the query.
- sum_rows_ floatexamined 
- The total number of rows that have been examined by the query.
- sum_rows_ floatsent 
- The total number of rows that have been returned (sent) to the client.
- sum_select_ floatfull_ join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- sum_select_ floatfull_ range_ join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- sum_select_ floatrange 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- sum_select_ floatrange_ check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- sum_select_ floatscan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- sum_sort_ floatmerge_ passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- sum_sort_ floatrange 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- sum_sort_ floatrows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- sum_sort_ floatscan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- sum_timer_ floatwait 
- The total amount of time that has been spent executing the query.
- sum_warnings float
- The total number of warnings that have been encountered executing the query.
- avgTimer NumberWait 
- The average execution time.
- countStar Number
- The number Of times the query has been executed.
- digest String
- The digest information of the normalized query.
- digestText String
- The normalized query.
- firstSeen String
- The date and time the query was first seen. If the table is truncated, the first seen value is reset.
- heatWave NumberOffloaded 
- The number of query executions offloaded to HeatWave.
- heatWave NumberOut Of Memory 
- The number of query executions with HeatWave out-of-memory errors.
- lastSeen String
- The date and time the query was last seen.
- maxControlled StringMemory 
- The maximum amount of controlled memory used by a statement during execution.
- maxTimer NumberWait 
- The slowest the query has been executed.
- maxTotal StringMemory 
- The maximum amount of memory used by a statement during execution.
- minTimer NumberWait 
- The fastest the query has been executed.
- quantile95 Number
- The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
- quantile99 Number
- The 99th percentile of the query latency.
- quantile999 Number
- The 99.9th percentile of the query latency.
- schemaName String
- The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
- sumCpu StringTime 
- The total amount of time spent on CPU for this statement.
- sumCreated NumberTemp Disk Tables 
- The total number of On-Disk internal temporary tables that have been created by the query.
- sumCreated NumberTemp Tables 
- The total number of internal temporary tables (in memory or on disk), which have been created by the query.
- sumErrors Number
- The total number of errors that have been encountered executing the query.
- sumLock NumberTime 
- The total amount of time that has been spent waiting for table locks.
- sumNo NumberGood Index Used 
- The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
- sumNo NumberIndex Used 
- The total number of times no index was used to execute the query.
- sumRows NumberAffected 
- The total number of rows that have been modified by the query.
- sumRows NumberExamined 
- The total number of rows that have been examined by the query.
- sumRows NumberSent 
- The total number of rows that have been returned (sent) to the client.
- sumSelect NumberFull Join 
- The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
- sumSelect NumberFull Range Join 
- The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
- sumSelect NumberRange 
- The total number of times the query has used a range search. This is the same as the select_range status variable.
- sumSelect NumberRange Check 
- The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
- sumSelect NumberScan 
- The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
- sumSort NumberMerge Passes 
- The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
- sumSort NumberRange 
- The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
- sumSort NumberRows 
- The total number of rows sorted. This is the same as the sort_rowsStatus variable.
- sumSort NumberScan 
- The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
- sumTimer NumberWait 
- The total amount of time that has been spent executing the query.
- sumWarnings Number
- The total number of warnings that have been encountered executing the query.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.