Phoenix 180

First revision for review.  There are some open points here.  Still no test case added to consume the stats.  Will do the performance test once the system is available with me.
That's fine, but just make sure you always get the physical name from PTable so this won't break if an attempt is made to analyze a view.