How to solve performance issue caused by custom post type overview with 20k+ custom taxonomy terms

How to solve performance issue caused by custom post type overview with 20k+ custom taxonomy terms

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