Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / Параметры при создании таблиц / 2 сообщений из 2, страница 1 из 1
30.09.2010, 15:56
    #36874927
Azeke
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Параметры при создании таблиц
Привет
Подскажите пожалуйста начинающему.
Что значат следующие параметры при создании таблицы.

Код: plaintext
1.
2.
3.
4.
5.
  DATA CAPTURE NONE
  IN TSIOMMM1
  PARTITIONING KEY
   (MM_D
   ) USING HASHING
  NOT LOGGED INITIALLY;

и

Код: plaintext
1.
2.
3.
ALTER TABLE MMDOC.VPUT
  LOCKSIZE ROW
  APPEND OFF
  NOT VOLATILE;
...
Рейтинг: 0 / 0
30.09.2010, 16:25
    #36875034
FireCat
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Параметры при создании таблиц
IN TSIOMMM1 - в каком tablespace создавать.

NOT LOGGED INITIALLY - изменения будут без логирования: Any changes made to the table by an Insert, Delete, Update, Create Index, Drop Index, or Alter Table operation in the same unit of work in which the table is created are not logged. For other considerations when using this option, see the "Notes" section of this statement.
All catalog changes and storage related information are logged, as are all operations that are done on the table in subsequent units of work.

Note: If non-logged activity occurs against a table that has the NOT LOGGED INITIALLY attribute activated, and if a statement fails (causing a rollback), or a ROLLBACK TO SAVEPOINT is executed, the entire unit of work is rolled back (SQL1476N). Furthermore, the table for which the NOT LOGGED INITIALLY attribute was activated is marked inaccessible after the rollback has occurred, and can only be dropped. Therefore, the opportunity for errors within the unit of work in which the NOT LOGGED INITIALLY attribute is activated should be minimized.

NOT VOLATILE - Specifies that the cardinality of table-name is not volatile. Access plans to this table will continue to be based on existing statistics and on the current optimization level.


Все тут: InfoCenter
...
Рейтинг: 0 / 0
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / Параметры при создании таблиц / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]