Wednesday, June 15, 2011

Документация

Oracle® Exadata Storage Server Software User's Guide
11g Release 2 (11.2)

Part Number E13861-10

гласит:
 "File creation operations are offloaded to Exadata Cells. Operations such as CREATE TABLESPACE, which can create one or more files, have a significant increase in speed due to file creation offload."


Проверим:
SQL> set timing on

SQL> create bigfile tablespace yu extent management local segment space management auto datafile '+DATA' size 32g;

Tablespace created.

Elapsed: 00:00:21.12

SQL> alter session set cell_offload_processing=false;

Session altered.

SQL> create bigfile tablespace yu extent management local segment space management auto datafile '+DATA' size 32g;

Tablespace created.

Elapsed: 00:00:21.55


SQL> alter session set "_cell_fast_file_create"=false;

SQL> create bigfile tablespace yu extent management local segment space management auto datafile '+DATA' size 32g;

Tablespace created.

Elapsed: 00:00:46.40

А попробуем-ка отключить offloading другим способом. Что получится?

$ ./sqlplus / as sysasm

SQL> alter diskgroup DATA set attribute 'cell.smart_scan_capable'='FALSE';

Diskgroup altered.

SQL> create bigfile tablespace yu extent management local segment space management auto datafile '+DATA' size 32g;

Tablespace created.

Elapsed: 00:00:44.79

SQL> alter session set "_cell_fast_file_create"=false;

Session altered.

Elapsed: 00:00:00.00

SQL> drop tablespace yu;

Tablespace dropped.

Elapsed: 00:00:00.40

SQL> create bigfile tablespace yu extent management local segment space management auto datafile '+DATA' size 32g;

Tablespace created.

Elapsed: 00:00:45.67


Итак, на 36 дисках файл создается 22-45 секунд.
Учитывая зеркалирование будем считать, что дисков 18.
Интересно, а как долго создается этот датафайл не на Экзадате, а просто на 18 шпинделях ?


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

How to disable/setup autostart parameters for specified instance ?

Q: We have a 4-node RAC. I need to disable autostart of the DB on one node only.    How to do it and how to see autostart parameters, confir...