SELECT a.tenant_id, a.database_id,b.database_name, a.table_id, table_name AS index_name, data_table_id, index_status from __all_virtual_table a,__all_virtual_database b where a.database_id=b.database_id and table_type=5 and index_status not in (1, 2, 3) LIMIT 30;