Looks like a bottleneck in the remote connection. I also suggest that you need to edit and re-enter the database access code frequently.
Some type providers may point to local SQL scripts instead of a live join, if this is not the case, then create a local database that will replicate the schema (and static data in the enum tables, if you have one). The connections for type / compiler providers and for the runtime need not be the same.
There are tools for synchronizing schemas from time to time, for example egRed Gate SQL Compare (this is great, but not free), or just regenerating a full SQL DB schema, re-creating a local database and starting it from time to time (this can also be automated). but this is a different story).
source share