HI
We implemented active dataguard on an 11.2.0.2 database. We have a weekly stats collection job that runs against the primary node and gathers stats on select schemas
dbms_stats.gather_schema_stats
There are certain queries that subsequently hang when running against the read-only standby database (the whole database then hangs). To fix it we restart the standby database and the queries run fine. The queries will be fine until the next time the stats collection job runs and the same issue occurs.
any ideas as to what is happening here ? Why do we need to restart the standby database after stats collection in order to fix the issue?
We implemented active dataguard on an 11.2.0.2 database. We have a weekly stats collection job that runs against the primary node and gathers stats on select schemas
dbms_stats.gather_schema_stats
There are certain queries that subsequently hang when running against the read-only standby database (the whole database then hangs). To fix it we restart the standby database and the queries run fine. The queries will be fine until the next time the stats collection job runs and the same issue occurs.
any ideas as to what is happening here ? Why do we need to restart the standby database after stats collection in order to fix the issue?