Show / Hide Table of Contents

Class CreateTablespaceDetails

The details required to create a tablespace. It takes either credentialDetails or databaseCredential. It's recommended to provide databaseCredential

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

Properties

AutoExtendMaxSize

Declaration
[JsonProperty(PropertyName = "autoExtendMaxSize")]
public TablespaceStorageSize AutoExtendMaxSize { get; set; }
Property Value
Type Description
TablespaceStorageSize

The maximum disk space allowed for automatic extension of the data files or temp files.

AutoExtendNextSize

Declaration
[JsonProperty(PropertyName = "autoExtendNextSize")]
public TablespaceStorageSize AutoExtendNextSize { get; set; }
Property Value
Type Description
TablespaceStorageSize

The size of the next increment of disk space to be allocated automatically when more extents are required.

BlockSizeInKilobytes

Declaration
[JsonProperty(PropertyName = "blockSizeInKilobytes")]
public int? BlockSizeInKilobytes { get; set; }
Property Value
Type Description
int?

Block size for the tablespace.

CredentialDetails

Declaration
[JsonProperty(PropertyName = "credentialDetails")]
public TablespaceAdminCredentialDetails CredentialDetails { get; set; }
Property Value
Type Description
TablespaceAdminCredentialDetails

DataFiles

Declaration
[JsonProperty(PropertyName = "dataFiles")]
public List<string> DataFiles { get; set; }
Property Value
Type Description
List<string>

The list of data files or temp files created for the tablespace.

DatabaseCredential

Declaration
[JsonProperty(PropertyName = "databaseCredential")]
public DatabaseCredentialDetails DatabaseCredential { get; set; }
Property Value
Type Description
DatabaseCredentialDetails

DefaultCompress

Declaration
[JsonProperty(PropertyName = "defaultCompress")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateTablespaceDetails.DefaultCompressEnum? DefaultCompress { get; set; }
Property Value
Type Description
CreateTablespaceDetails.DefaultCompressEnum?

The default compression of data for all tables created in the tablespace.

EncryptionAlgorithm

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

The name of the encryption algorithm to be used for tablespace encryption.

ExtentManagement

Declaration
[JsonProperty(PropertyName = "extentManagement")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateTablespaceDetails.ExtentManagementEnum? ExtentManagement { get; set; }
Property Value
Type Description
CreateTablespaceDetails.ExtentManagementEnum?

Specifies how the extents of the tablespace should be managed.

ExtentUniformSize

Declaration
[JsonProperty(PropertyName = "extentUniformSize")]
public TablespaceStorageSize ExtentUniformSize { get; set; }
Property Value
Type Description
TablespaceStorageSize

The size of the extent when the tablespace is managed with uniform extents of a specific size.

FileCount

Declaration
[JsonProperty(PropertyName = "fileCount")]
public int? FileCount { get; set; }
Property Value
Type Description
int?

The number of data files or temp files created for the tablespace. This is for Oracle Managed Files only.

FileSize

Declaration
[JsonProperty(PropertyName = "fileSize")]
public TablespaceStorageSize FileSize { get; set; }
Property Value
Type Description
TablespaceStorageSize

The size of each data file or temp file.

IsAutoExtensible

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

Specifies whether the data file or temp file can be extended automatically.

IsBigfile

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

Specifies whether the tablespace is a bigfile or smallfile tablespace. A bigfile tablespace contains only one data file or temp file, which can contain up to approximately 4 billion (232) blocks. A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 data files or temp files, each of which can contain up to approximately 4 million (222) blocks.

IsDefault

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

Specifies whether the tablespace is the default tablespace.

IsEncrypted

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

Indicates whether the tablespace is encrypted.

IsMaxSizeUnlimited

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

Specifies whether the disk space of the data file or temp file can be limited.

IsReusable

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

Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of the tablespace. It must be unique within a database.

Remarks

Required

SegmentManagement

Declaration
[JsonProperty(PropertyName = "segmentManagement")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateTablespaceDetails.SegmentManagementEnum? SegmentManagement { get; set; }
Property Value
Type Description
CreateTablespaceDetails.SegmentManagementEnum?

Specifies whether tablespace segment management should be automatic or manual.

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateTablespaceDetails.StatusEnum? Status { get; set; }
Property Value
Type Description
CreateTablespaceDetails.StatusEnum?

The status of the tablespace.

Type

Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateTablespaceDetails.TypeEnum? Type { get; set; }
Property Value
Type Description
CreateTablespaceDetails.TypeEnum?

The type of tablespace.

In this article
Back to top