Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reg: GTT and representative statistics -

915396May 19 2016 — edited May 21 2016

Hi Experts,

Recently, I got to hear something about statistics on a GTT. The DBA was telling in some cases they will set some default statistics like NUM_ROWS or BLOCKS for the GTTs.

My doubt - when the table doesn't have any permanent data, what is the need to set some statistics for it ? Will it not confuse the optimizer in runtime.

Is this a documented behavior ?

Please help me understand this. Any pointers ?

Thanks and Regards,

-Ranit

( on Oracle 11.2.0.4.0 )

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2016
Added on May 19 2016
8 comments
493 views