Re: gather stats standard way with concurrent enabled

  • From: Stefan Knecht <knecht.stefan@xxxxxxxxx>
  • To: laurentiu.oprea06@xxxxxxxxx
  • Date: Thu, 16 Sep 2021 18:46:30 +0700

You can use the set_*_prefs procedures to set the default value for
concurrent.

https://docs.oracle.com/database/121/ARPLS/d_stats.htm#ARPLS059



On Thu, Sep 16, 2021 at 1:30 PM Laurentiu Oprea <laurentiu.oprea06@xxxxxxxxx>
wrote:

Hello,

I have a situation where in the database during a particular window stats
are gathered concurrently (thus CONCURRENT is set to true GLOBAL).

During this time there are other activities running and one is an ETL job
that gathers some stats on some GTTs before selecting from them. The
problem is that this job is failing as it doesn't have privileges to gather
stats concurrently. I`m not able to provide required privileges to this
particular user.

Is there any workaround I can do for those sessions so that the stats are
gathered normally (without concurrent) even if the CONCURENT flag is set to
true ? Or any workaround so that those jobs will not fail?

Thanks.



-- 
//
zztat - The Next-Gen Oracle Performance Monitoring and Reaction Framework!
Visit us at zztat.net | @zztat_oracle | fb.me/zztat | zztat.net/blog/

Other related posts: