Check Fast Recovery Area Usage

Fast Recovery Area is used for various components such as duplicates of control files and redo logs, backups, archive logs and flashback logs. If a database is in ARCHIVELOG mode and there is no space left in FRA, the database…

Access Autonomous Database through CloudShell

To access the Autonomous Database using CloudShell you need to set the following parameters: export ADBID=ocid1….. –This is the OCID of the Autonomous database. export WNAME=wallet.zip —This is the wallet file. export WPWD=password — This is the password of the…

Partition Automatic Handling

Automatic Partition SET ANSI_NULLS, QUOTED_IDENTIFIER ON; <br>GO <br>use <Database> <br>Declare <br>@nextRange date, <br>@sql nvarchar(3000), <br>@maxBoundary date, <br>@tableList varchar(1000) ='Table1,Table2,Table3', <br>@tableName varchar(100), <br>@partitionFunction varchar(100), <br>@partitionScheme varchar(100), <br>@PartitionedTables as cursor , <br>@debug bit =0, <br>@monthsPartitionFuture smallint =7,<br>@filegroup = 'Primary' ; <br>set @PartitionedTables…