How to speed up WP_Posts_List_Table __construct() Query on a wordpress website with over 1 million posts?

How to speed up WP_Posts_List_Table __construct() Query on a wordpress website with over 1 million posts?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)