nerdexam
Oracle

1Z0-497 · Question #56

Examine the statements: SQL> CREATE TABLESPACE MYTBS DATAFILE '/disk1/mytbs_l.dbf ' SIZE 10M; SQL> CREATE TABLE mytab (id NUMBER, descr VARCHAR2 (100) ) PARTITION BY RANGE(id) ( partition pi values…

The correct answer is B. Add a data file: C. Move a partition to another tablespace: D. Resize the existing data file. See the full explanation below for the reasoning.

Question

Examine the statements:

SQL> CREATE TABLESPACE MYTBS DATAFILE '/disk1/mytbs_l.dbf ' SIZE 10M; SQL> CREATE TABLE mytab (id NUMBER, descr VARCHAR2 (100) ) PARTITION BY RANGE(id) ( partition pi values loss than (100000) tablespacemytbs storage (initial lm), partition p2 values less than (MAXVALUE) tablespacemytbs storage (initial 1m) ); When inserting data, you get the error:

ORA-01688: unable to extend table SYS.MYTAB partition P2 by 128 in tablespace MYTBS Which three operations would allow you to insert data without getting the error message?

Options

  • AExtend the logical volume by 10 MB where the data files are stored; # lvextend -L+10M /diskl
  • BAdd a data file:
  • CMove a partition to another tablespace:
  • DResize the existing data file:

How the community answered

(27 responses)
  • A
    22% (6)
  • B
    78% (21)

Community Discussion

No community discussion yet for this question.

Full 1Z0-497 Practice