2 Improved the detail of the solution, more customized to the question
source | link

Another way is to use count_estimate function to get an idea of the progress counting the records with a SELECT count_estimate('SELECT * FROM tableREGDATA')

Another way is to use count_estimate function to get an idea of the progress counting the records with a SELECT * FROM table

Another way is to use count_estimate function to get an idea of the progress counting the records with a SELECT count_estimate('SELECT * FROM REGDATA')

1
source | link

Another way is to use count_estimate function to get an idea of the progress counting the records with a SELECT * FROM table