| Sv translation | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
Рекомендуем архивировать единичные ежедневные табличные пространства (ЕТП) через веб-интерфейс или с помощью сервиса iw_space_manager. Архивирование ЕТП вручную в базе данных производится в порядке, представленном ниже.
Выборка ЕТП и файлов данных Список отключаемых ТП можно получить, выполнив запросы к базе данных от имени владельца схемы базы данных. Запросы составляются в соответствии со стратегией архивирования, принятой в вашей организации. Например, для выборки ЕТП, в которых хранятся объекты, перехваченные более 100 дней назад, можно применить следующий запрос:
Для выборки файлов данных в этом случае создается следующий запрос:
где Отключение ЕТП от базы данных
Перенос файлов данных Перенесите файлы данных, принадлежащие отключенным ЕТП, на другой носитель информации.
где
|
| Sv translation | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
It is recommended to archive single DTS via web interface or using the iw_space_manager utility. The order of archiving daily tablespaces manually in the database is described below.
Selecting daily tablespaces and data files To get a list of disconnected tablespaces, you must run the following query to the database under the account of the database schema owner. The queries are built according to the archiving policy of your company. For example, to select the daily TS storing the objects which were intercepted more than 100 days ago, run the following query:
In this case, the following query is created to select data files:
where Disconnecting Daily Tablespaces from the Database
Moving Datafiles Transfer the data files belonging to the disabled daily TS to the other data carrier. To get a list of data files for all disconnected tablespaces, use the following script:
where
Data files are stored in the catalogue:
|