[RU]
Источник ошибки: Ядро мониторинга работы СУБД Oracle
Текст сообщения: Monitoring (Oracle destination status)
Информация
Получение данных о состоянии директориях архивирования журналов REDO и передачи данных на stendby базы
Запрос
select dest_name,
status,
type,
case when database_mode like ('%STANDBY%') then 'STANDBY' else database_mode end "typedb",
destination,
standby_logfile_count,
archived_seq#,
applied_seq#,
db_unique_name,
error
from V$ARCHIVE_DEST_STATUS
where status<>'INACTIVE'
Решение
Предоставить пользователю права на чтение данных системного каталога, например
grant select any dictionary to <UserName>;
или
grant select on V$ARCHIVE_DEST_STATUS to <UserName>;
[EN]
Error Source: Oracle DBMS Operation Monitoring Kernel
Message text: Monitoring (Oracle destination status)
Information
Obtaining data on the status of REDO log archiving directories and transferring data to standby databases
Query
select dest_name,
status,
type,
case when database_mode like ('%STANDBY%') then 'STANDBY' else database_mode end "typedb",
destination,
standby_logfile_count,
archived_seq#,
applied_seq#,
db_unique_name,
error
from V$ARCHIVE_DEST_STATUS
where status<>'INACTIVE'
Solution
Grant the user rights to read system directory data, for example
grant select any dictionary to <UserName>;
or
grant select on V$ARCHIVE_DEST_STATUS to <UserName>;
The solution to obtain data on the status of REDO log archiving directories and transfer data to standby databases is to grant the user rights to read system directory data. Specifically, granting the user select rights on V$ARCHIVE_DEST_STATUS will allow them to obtain the necessary information. The following is an example of how to grant select rights on V$ARCHIVE_DEST_STATUS to a user: vbnetCopy code grant select on V$ARCHIVE_DEST_STATUS to <UserName>; Alternatively, granting the user the ability to select any dictionary will also allow them to obtain the necessary information. This can be done using the following command: sqlCopy code grant select any dictionary to <UserName>; Granting these rights will allow the user to monitor the Oracle destination status and obtain data on the status of REDO log archiving directories, which can then be transferred to standby databases.