wordpress goes slow after upload bulk data

After upload bulk data 20k+ and continue uploading, wordpress goes slow, it's takes 20 sec approx to load home page. Home page contain google map, which show all the uploaded locations. And on the category page i'm using pagination with 5 results per page but still it takes 30 sec approx to load page.