Show / Hide Table of Contents

Class SubsetDataDetails

Details required to perform data subsetting on a target database using a subsetting policy

Inheritance
object
SubsetDataDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class SubsetDataDetails

Properties

IsRedoLoggingEnabled

Declaration
[JsonProperty(PropertyName = "isRedoLoggingEnabled")]
public bool? IsRedoLoggingEnabled { get; set; }
Property Value
Type Description
bool?

Indicates if redo logging is enabled during a subsetting operation. Set this attribute to true to enable redo logging. If set as false, subsetting disables redo logging and flashback logging to purge any original data from logs. However, in certain circumstances when you only want to test subsetting, rollback changes, and retry, you could enable logging and use a flashback database to retrieve the original data after it has been subsetted. If it's not provided, the value of the isRedoLoggingEnabled attribute in the SubsettingPolicy resource is used.

IsRefreshStatsEnabled

Declaration
[JsonProperty(PropertyName = "isRefreshStatsEnabled")]
public bool? IsRefreshStatsEnabled { get; set; }
Property Value
Type Description
bool?

Indicates if statistics gathering is enabled. Set this attribute to false to disable statistics gathering. The subsetting process gathers statistics on subset database tables after subsetting completes. If it's not provided, the value of the isRefreshStatsEnabled attribute in the SubsettingPolicy resource is used.

IsRerun

Declaration
[JsonProperty(PropertyName = "isRerun")]
public bool? IsRerun { get; set; }
Property Value
Type Description
bool?

Indicates if the request is to rerun the previously failed subsetting job

Masking

Declaration
[JsonProperty(PropertyName = "masking")]
[JsonConverter(typeof(StringEnumConverter))]
public SubsetDataDetails.MaskingEnum? Masking { get; set; }
Property Value
Type Description
SubsetDataDetails.MaskingEnum?

Indicates whether masking should be triggered after successful subsetting

ParallelDegree

Declaration
[JsonProperty(PropertyName = "parallelDegree")]
public string ParallelDegree { get; set; }
Property Value
Type Description
string

ReRunFromStep

Declaration
[JsonProperty(PropertyName = "reRunFromStep")]
[JsonConverter(typeof(StringEnumConverter))]
public SubsetDataDetails.ReRunFromStepEnum? ReRunFromStep { get; set; }
Property Value
Type Description
SubsetDataDetails.ReRunFromStepEnum?

Specifies the step from which subsetting needs to be rerun. This param will be used only when isRerun attribute is true. If PRE_SUBSETTING_SCRIPT is passed, it will rerun the pre-subsetting script, followed by subsetting, and then the post-subsetting script. If POST_SUBSETTING_SCRIPT is passed, it will rerun only the post-subsetting script. If this field is not set and isRerun is set to true, then it will default to the last failed step.

Recompile

Declaration
[JsonProperty(PropertyName = "recompile")]
[JsonConverter(typeof(StringEnumConverter))]
public SubsettingPolicy.RecompileEnum? Recompile { get; set; }
Property Value
Type Description
SubsettingPolicy.RecompileEnum?

Specifies how to recompile invalid objects post data subsetting. Allowed values are 'SERIAL' (recompile in serial), 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree attribute is used. Use the built-in UTL_RECOMP package to recompile any remaining invalid objects after subsetting completes. If it's not provided, the value of the recompile attribute in the SubsettingPolicy resource is used.

Tablespace

Declaration
[JsonProperty(PropertyName = "tablespace")]
public string Tablespace { get; set; }
Property Value
Type Description
string

The tablespace that should be used to create the temporary tables for data subsetting. If no tablespace is provided, the DEFAULT tablespace is used.

TargetCredentials

Declaration
[Required(ErrorMessage = "TargetCredentials is required.")]
[JsonProperty(PropertyName = "targetCredentials")]
public Credentials TargetCredentials { get; set; }
Property Value
Type Description
Credentials
Remarks

Required

TargetId

Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type Description
string

The OCID of the target database to be subsetted. If it's not provided, the value of the targetId attribute in the SubsettingPolicy resource is used

In this article
Back to top