Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace LoadSqlPlanBaselinesFromCursorCacheDetails

The details of SQL statements and plans to be loaded from cursor cache. You can specify the plans to load using SQL ID, plan identifier, or filterName and filterValue pair. You can also control the SQL plan baseline into which the plans are loaded using either SQL text or SQL handle. It takes either credentials or databaseCredential. It's recommended to provide databaseCredential

Properties

Optional credentials

Optional databaseCredential

Optional filterName

filterName: FilterName

The name of the filter.

- SQL_TEXT: Search pattern to apply to SQL text. - PARSING_SCHEMA_NAME: Name of the parsing schema. - MODULE: Name of the module. - ACTION: Name of the action.

Optional filterValue

filterValue: undefined | string

The filter value. It is upper-cased except when it is enclosed in double quotes or filter name is {@code SQL_TEXT}.

Optional isEnabled

isEnabled: undefined | false | true

Indicates whether the loaded plans are enabled ({@code true}) or not ({@code false}). By default, they are enabled.

Optional isFixed

isFixed: undefined | false | true

Indicates whether the plans are loaded as fixed plans ({@code true}) or non-fixed plans ({@code false}). By default, they are loaded as non-fixed plans.

Optional jobDescription

jobDescription: undefined | string

The description of the job.

jobName

jobName: string

The name of the database job used for loading SQL plan baselines.

Optional planHash

planHash: undefined | number

The plan identifier. By default, all plans present in the cursor cache for the SQL statement identified by {@code sqlId} are captured. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional sqlHandle

sqlHandle: undefined | string

The SQL handle to use in identifying the SQL plan baseline into which the plans are loaded.

Optional sqlId

sqlId: undefined | string

The SQL statement identifier. Identifies a SQL statement in the cursor cache.

Optional sqlText

sqlText: undefined | string

The SQL text to use in identifying the SQL plan baseline into which the plans are loaded. If the SQL plan baseline does not exist, it is created.

Functions

getDeserializedJsonObj

getJsonObj