How to show a Query is still running on a Vision Component?

I have several tables that use SQL queries for their data. Each query takes some time to run and return the result to the table. I want to provide a visual indication to the end-user that the query is still running until it is done. How do I do that?

Also, is there a way to measure the execution time and store it in the system?

Thanks.