The following forum message was posted by dong1 at http://sourceforge.net/projects/cubridcluster/forums/forum/1129809/topic/4049458:
Let me explain more about our question.
for sql query as:
[code]select count(*) from t1[/code]
we observed that,
if t1 is non-partition table, current CUBRID code just get stats info about
the count number for optimization. like case1 and case 2.
if t1 is partition table ,current CUBRID code do scan , do not get stats info.
like case 3 and case 4.
When we implement for global table, I think we should follow the same behavior
just like current CUBRID code.
But We think non-partition table and partition table should have the same
behavior.
That means, if non-partition table can get stats info, why partition table can
not?
so, our questions are:
1 why partition table have to do scan, do not like non-partition table , which
get stats info directly?
2 if we implement global partition table, can we get stats info from servers
, just like local non-partitiont table?
Hi, Park, This it the question That I have metioned to you in monday's VTC meeting,
How do you think?
Thanks a lot!
|