Click here to Skip to main content
15,944,832 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all

I am working in a c# windows application with postgreSql.and it's running in 4 location.

Problem is this : In 3 locations it's working fine but in the 4th location application responding slowly.
records in database are far more in each 3 locations compare to the 4th one.

Please tell me what can be the issue..

Code wise i am unable to find.
Is there any problem with database..??

Need your suggestions..

1 solution

Kinda hard to answer. I am trying to suggest some pointers. I hope it helps...

If I understood correctly then you have the same .net code hosted at 4 locations and so is the DB. Now 3 out of 4 instances are fine. So the 4th one being slow is very unlikely to be caused by the .net code.

Then it boils down to slowness with that specific DB instance. And that can be due to any reason.

What all DB stats have you collected so far? Does it point to anything? How about blocking locks or long running sessions?

How about CPU, memory and disk read/write stats on the server that hosts the DB? How about network congestion from/to that server? Is this a VM? Does the data reside on a SAN?

[Please encourage participation by up-voting solutions or answers if they work for you]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900