On 2017/03/21 21:25, Haribabu Kommi wrote:
Thank you for reviewing the patch.
The attached patch implements a way to report sample rows count from acquire_sample_rows() even if called for child tables.
I have added the phase called PROGRESS_ANALYZE_PHASE_COLLECT_INH_SAMPLE_ROWS.
I have also updated the documentation.
The ANALYZE command takes long time in computing statistics phase.So I think we can add some column or phase so that user can easily understand the progress.
How about adding new column like "num_rows_processed" will compute the statistics of specified column?
How about separate the computing "inheritance statistics" phase from the computing regular "single table" statistics.
Comment?
Regards,
Vinayak Pokale
NTT Open Source Software Center