C2090-544 Free Dumps Study Materials
Question 2: A database and a table space were created using the following commands:
CREATE DATABASE mydb AUTOMATIC STORAGE NO;
CONNECT TO mydb;
CREATE TABLESPACE tbsp1
MANAGED BY DATABASE USING (FILE '/mnt/file1' 1 M, FILE '/mnt/file2' 1 M)
AUTORESIZE YES
INCREASESIZE 2 M
MAXSIZE 100 M;
$>?
Afterwards, two tables were created in table space TBSP1 and both tables were populated
with 100,000
rows. If a DBA decides that database MYDB should use automatic storage, which
command(s) are
needed to convert both the database and table space TBSP1?
A. ALTER DATABASE mydb ADD STORAGE ON ?mnt/path_1? ?mnt/path_2?
B. ALTER DATABASE mydb ADD STORAGE ON ?mnt/path_1? ?mnt/path_2?
ALTER TABLESPACE tbsp1 MANAGED BY AUTOMATIC STORAGE;
C. ALTER DATABASE mydb AUTOMATIC STORAGE YES ON ?mnt/path_1? ?mnt/path_2?
D. ALTER DATABASE mydb AUTOMATIC STORAGE YES ON ?mnt/path_1? ?mnt/path_2?
ALTER TABLESPACE tbsp1 MANAGED BY AUTOMATIC STORAGE;
Correct Answer: B