Home > Back-end >  create tablespace in ASM in oracle rac db
create tablespace in ASM in oracle rac db

Time:07-19

I want to create tablespace in ASM in Oracle rac db create tablespace <tablespacexxx> DATAFILE ' data';. data is one disk storage. I saw there are multiple disk groups when executing select * from V$ASM_DISKGROUP;

There is one disk group called Data and another group called Reco. The voting_files column for the two groups is different. voting_files for Data is set to y, and voting_files for Reco is set no n. I am wondering what are the differences between the two, and can I use either one to create tablespaces?

CodePudding user response:

Use DATA for your datafiles. RECO or FRA should be for the fast recovery area, online redo logs, voting files, and control files.

The Fast Recovery Area is Oracle-managed disk space that provides a centralized disk location for backup and recovery files.

CodePudding user response:

According to the disk group names, DATA is supposed to be contain user data, and RECO is to store the recovery logs. It more like an agreement among the developers and DBAs. So, your new tablespace needs to placed at DATA. Voting disks manage information about RAC node membership. You should not use it store any user data.

  • Related