С января 2023 года Оракл переименовал PMEM в XRMEM.
Т.е. те, после обновления БД на январсий пачсет 2023 в статистиках вместо PMEM будет XRMEM (и в AWR-отчёте тоже).
Oracle, Exadata, Crossplatform migration, RAC, Performance, Troubleshooting. The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
С января 2023 года Оракл переименовал PMEM в XRMEM.
Т.е. те, после обновления БД на январсий пачсет 2023 в статистиках вместо PMEM будет XRMEM (и в AWR-отчёте тоже).
alter system set "_awr_disabled_flush_tables"='wrh$_thread';Однако эта рекомендация "в лоб" не помогла. События 'control file sequential read' продолжались, и снапшот собирался долго. Поэтому пришлось еще немного покопаться: СмотримWAIT #46931816430624: nam='control file sequential read' ela= 260 file#=0 block#=1 blocks=1 obj#=-1 tim=1324626633244332 Событие ожидания относится к курсору #46931816430624Ищем в трейсе этот курсор: PARSING IN CURSOR #46931816430624 len=881 dep=1 uid=0 oct=2 lid=0 tim=1324626633222179 hv=2600278305 ad='c57822e90' sqlid='6vntx5ydgu691'
insert into wrh$_tempstatxs (snap_id, dbid, instance_number, file#, creation_change#, phyrds, phywrts, singleblkrds, readtim, writet
im, singleblkrdtim, phyblkrd, phyblkwrt, wait_count, time) select :snap_id, :dbid, :instance_number, tf.tfnum, to_number(tf.tfc
rc_scn) creation_change#, ftio.kcftiopyr, ftio.kcftiopyw, ftio.kcftiosbr, floor(ftio.kcftioprt / 10000), floor(ftio.kcftiopwt / 100
00), floor(ftio.kcftiosbt / 10000), ftio.kcftiopbr, ftio.kcftiopbw, fw.count, fw.time from x$kcftio ftio, x$kcctf tf, x$kcbfwai
t fw, x$kccfn fn, x$kccts ts where ts.tstsn = tf.tftsn and ftio.kcftiofno = fn.fnfno and tf.tfnum = fn.fnfno and
tf.tffnh = fn.fnnum and tf.tfdup <> 0 and fn.fntyp = 7 and fn.fnnam is not null and bitand(tf.
tfsta, 32) <> 32 and fw.indx+1 = (fn.fnfno + :db_files)
Оказывается, он относится к таблице wrh$_tempstatxs.Поэтому переписываем alter system:alter system set "_awr_disabled_flush_tables"='wrh$_tempstatxs'; ТОЖЕ НЕ ПОМОГЛО !Во-вторых: эта команда затерла значение предыдущей: "_awr_disabled_flush_tables"='wrh$_thread' Возникла мысль - что это за беда, если для каждой таблички WR* надо руками включать специфические свойства? Не является ли причина более общей?
Поэтому дальше сделал так:exec dbms_stats.gather_fixed_objects_stats;
exec dbms_stats.gather_dictionary_stats;
И - вуаля - результат налицо :
SQL> alter system reset "_awr_disabled_flush_tables" ;
System altered.
SQL> /
alter system reset "_awr_disabled_flush_tables"
*
ERROR at line 1:
ORA-32010: cannot find entry to delete in SPFILE
SQL> set timing on
SQL> exec dbms_workload_repository.create_snapshot;
PL/SQL procedure successfully completed.
Elapsed: 00:00:06.77
Отсюда вывод - СОБИРАЙТЕ СТАТИСТИКУ НА СЛОВАРЬ И НА FIXED TABLES!!! # ocrconfig -add +DATA PROT-30: The Oracle Cluster Registry location to be added is not usable. PROC-50: The Oracle Cluster Registry locatio...