@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public interface OperationsInsights extends AutoCloseable
Use the Operations Insights API to perform data extraction operations to obtain database resource utilization, performance statistics, and reference information. For more information, see About Oracle Cloud Infrastructure Operations Insights.
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
OperationsInsightsPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
IngestSqlBucketResponse |
ingestSqlBucket(IngestSqlBucketRequest request)
The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.
|
IngestSqlPlanLinesResponse |
ingestSqlPlanLines(IngestSqlPlanLinesRequest request)
The SqlPlanLines endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
|
IngestSqlTextResponse |
ingestSqlText(IngestSqlTextRequest request)
The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
|
ListDatabaseInsightsResponse |
listDatabaseInsights(ListDatabaseInsightsRequest request)
Lists database insight resources
|
ListSqlPlansResponse |
listSqlPlans(ListSqlPlansRequest request)
Query SQL Warehouse to list the plan xml for a given SQL execution plan.
|
ListSqlSearchesResponse |
listSqlSearches(ListSqlSearchesRequest request)
Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.
|
ListSqlTextsResponse |
listSqlTexts(ListSqlTextsRequest request)
Query SQL Warehouse to get the full SQL Text for a SQL.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
SummarizeDatabaseInsightResourceCapacityTrendResponse |
summarizeDatabaseInsightResourceCapacityTrend(SummarizeDatabaseInsightResourceCapacityTrendRequest request)
Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified.
|
SummarizeDatabaseInsightResourceForecastTrendResponse |
summarizeDatabaseInsightResourceForecastTrend(SummarizeDatabaseInsightResourceForecastTrendRequest request)
Get Forecast predictions for CPU and Storage resources since a time in the past.
|
SummarizeDatabaseInsightResourceStatisticsResponse |
summarizeDatabaseInsightResourceStatistics(SummarizeDatabaseInsightResourceStatisticsRequest request)
Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled) for each database filtered by utilization level
|
SummarizeDatabaseInsightResourceUsageResponse |
summarizeDatabaseInsightResourceUsage(SummarizeDatabaseInsightResourceUsageRequest request)
A cumulative distribution function is used to rank the usage data points per database within the specified time period.
|
SummarizeDatabaseInsightResourceUsageTrendResponse |
summarizeDatabaseInsightResourceUsageTrend(SummarizeDatabaseInsightResourceUsageTrendRequest request)
Returns response with time series data (endTimestamp, usage, capacity) for the time period specified.
|
SummarizeDatabaseInsightResourceUtilizationInsightResponse |
summarizeDatabaseInsightResourceUtilizationInsight(SummarizeDatabaseInsightResourceUtilizationInsightRequest request)
Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
|
SummarizeSqlInsightsResponse |
summarizeSqlInsights(SummarizeSqlInsightsRequest request)
Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given time period across the given databases or database types.
|
SummarizeSqlPlanInsightsResponse |
summarizeSqlPlanInsights(SummarizeSqlPlanInsightsRequest request)
Query SQL Warehouse to get the performance insights on the execution plans for a given SQL for a given time period.
|
SummarizeSqlResponseTimeDistributionsResponse |
summarizeSqlResponseTimeDistributions(SummarizeSqlResponseTimeDistributionsRequest request)
Query SQL Warehouse to summarize the response time distribution of query executions for a given SQL for a given time period.
|
SummarizeSqlStatisticsResponse |
summarizeSqlStatistics(SummarizeSqlStatisticsRequest request)
Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given time period across the given databases or database types.
|
SummarizeSqlStatisticsTimeSeriesResponse |
summarizeSqlStatisticsTimeSeries(SummarizeSqlStatisticsTimeSeriesRequest request)
Query SQL Warehouse to get the performance statistics time series for a given SQL across given databases for a given time period.
|
SummarizeSqlStatisticsTimeSeriesByPlanResponse |
summarizeSqlStatisticsTimeSeriesByPlan(SummarizeSqlStatisticsTimeSeriesByPlanRequest request)
Query SQL Warehouse to get the performance statistics time series for a given SQL by execution plans for a given time period.
|
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region - The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
regionId - The public region ID.IngestSqlBucketResponse ingestSqlBucket(IngestSqlBucketRequest request)
The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use IngestSqlBucket API.
IngestSqlPlanLinesResponse ingestSqlPlanLines(IngestSqlPlanLinesRequest request)
The SqlPlanLines endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use IngestSqlPlanLines API.
IngestSqlTextResponse ingestSqlText(IngestSqlTextRequest request)
The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline. Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use IngestSqlText API.
ListDatabaseInsightsResponse listDatabaseInsights(ListDatabaseInsightsRequest request)
Lists database insight resources
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListDatabaseInsights API.
ListSqlPlansResponse listSqlPlans(ListSqlPlansRequest request)
Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListSqlPlans API.
ListSqlSearchesResponse listSqlSearches(ListSqlSearchesRequest request)
Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListSqlSearches API.
ListSqlTextsResponse listSqlTexts(ListSqlTextsRequest request)
Query SQL Warehouse to get the full SQL Text for a SQL.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListSqlTexts API.
SummarizeDatabaseInsightResourceCapacityTrendResponse summarizeDatabaseInsightResourceCapacityTrend(SummarizeDatabaseInsightResourceCapacityTrendRequest request)
Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
SummarizeDatabaseInsightResourceForecastTrendResponse summarizeDatabaseInsightResourceForecastTrend(SummarizeDatabaseInsightResourceForecastTrendRequest request)
Get Forecast predictions for CPU and Storage resources since a time in the past.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
SummarizeDatabaseInsightResourceStatisticsResponse summarizeDatabaseInsightResourceStatistics(SummarizeDatabaseInsightResourceStatisticsRequest request)
Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled) for each database filtered by utilization level
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceStatistics API.
SummarizeDatabaseInsightResourceUsageResponse summarizeDatabaseInsightResourceUsage(SummarizeDatabaseInsightResourceUsageRequest request)
A cumulative distribution function is used to rank the usage data points per database within the specified time period. For each database, the minimum data point with a ranking > the percentile value is included in the summation. Linear regression functions are used to calculate the usage change percentage.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceUsage API.
SummarizeDatabaseInsightResourceUsageTrendResponse summarizeDatabaseInsightResourceUsageTrend(SummarizeDatabaseInsightResourceUsageTrendRequest request)
Returns response with time series data (endTimestamp, usage, capacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
SummarizeDatabaseInsightResourceUtilizationInsightResponse summarizeDatabaseInsightResourceUtilizationInsight(SummarizeDatabaseInsightResourceUtilizationInsightRequest request)
Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
SummarizeSqlInsightsResponse summarizeSqlInsights(SummarizeSqlInsightsRequest request)
Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given time period across the given databases or database types.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlInsights API.
SummarizeSqlPlanInsightsResponse summarizeSqlPlanInsights(SummarizeSqlPlanInsightsRequest request)
Query SQL Warehouse to get the performance insights on the execution plans for a given SQL for a given time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlPlanInsights API.
SummarizeSqlResponseTimeDistributionsResponse summarizeSqlResponseTimeDistributions(SummarizeSqlResponseTimeDistributionsRequest request)
Query SQL Warehouse to summarize the response time distribution of query executions for a given SQL for a given time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlResponseTimeDistributions API.
SummarizeSqlStatisticsResponse summarizeSqlStatistics(SummarizeSqlStatisticsRequest request)
Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given time period across the given databases or database types.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlStatistics API.
SummarizeSqlStatisticsTimeSeriesResponse summarizeSqlStatisticsTimeSeries(SummarizeSqlStatisticsTimeSeriesRequest request)
Query SQL Warehouse to get the performance statistics time series for a given SQL across given databases for a given time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlStatisticsTimeSeries API.
SummarizeSqlStatisticsTimeSeriesByPlanResponse summarizeSqlStatisticsTimeSeriesByPlan(SummarizeSqlStatisticsTimeSeriesByPlanRequest request)
Query SQL Warehouse to get the performance statistics time series for a given SQL by execution plans for a given time period.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
OperationsInsightsPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2021. All rights reserved.