|
Can LZ do the following in SEQUENCE:
1) Truncate 09 tables, and load 09 data into these three tables, and runstats on these tables, then do the query explain and save the output to tab09_stats09_data09.plan
2) Run the query below:
select max(cnt), avg(cnt), min(cnt), sum(cnt)
from (select cust_id, count(cust_id) as cnt from <table_name> group by cust_id)
Replace <table_name> with the three table names and save the output as pattern09.out
3) Truncate 09 tables, and load 10 data into 09 tables, DON'T runstats any more. Do the query explain and save the output to tab09_stats09_data10.plan
4) Run the query as in step 2 and save the output as pattern10.out
5) RUNSTATS on 09 tables, and do the query explain and save the output as tab09_stats10_data10.plan
6) Upload the outputs from the above steps |
|