Closes #5610. & update fetch-policy when fetching database on the remote databases show page to get freshest status.