1. Fix data size calculation of auto sample, before this pr, the data size is include all the replicas 2. Move some auto analyze related options to global session variable 3. Add some logs
1. Fix data size calculation of auto sample, before this pr, the data size is include all the replicas 2. Move some auto analyze related options to global session variable 3. Add some logs