Very Slow MSSQL Connection when Using IP Address


I am having an issue and need a professional, well experienced MSSQL Server person to help resolve it.

There are 2 issues i have :

1) My initial connection / Query to MSSQL Database is usually very slow. Average about 10 to 15 seconds. But once the first connection is made, subsequent queries or connection is faster and take only about 2 to 3 seconds. This happens for either connections via Instance Name or IP address.

2) When i use Instance Name in my connection string, query is faster, less than 2 seconds. But if i use IP Address and Port for connection on same machine, connection is extremely slow. Most times i get Query time out for complex queries that i do when the Connection String contains IP Address and Port. But i do same complex query on same machine, using Database instance name directly, i never get timeout and it takes a second or two to run.

Example :

Query 1 : ConnectString = "Driver={SQL Server};Server=MSSQLSERVER5;Database=SchoolMain;Uid=Admin;Pwd=admin101;"

When i use this query, recordset is fast. Less than 2 seconds.

Query 2 : ConnectString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=Admin;Password=admin101;Initial Catalog=SchoolMain;Data Source=[login to view URL],1433"

When i use this query, i get Query time out expired.

Notes :

> I am using same machine. For first query, i am connecting to MSSQL database directly and i do not need internet. For second query, i plug internet to my system and use the IP address to connect to same database as with Query 1

> I have read so many things on the internet like turning off the LLMNR protocol and adding entries in the hosts file to tackle Reverse DNS. I tried them but nothing changes. Connections over IP ADDRESS still very very slow.

> I am using MSSQL Server 2008

I need help with this. I want my MSSQL queries to run super fast.

Skills: Microsoft SQL Server, SQL, Database Administration, Database Management, Database Design

About the Employer:
( 18 reviews ) Lagos, Nigeria

Project ID: #32715264

13 freelancers are bidding on average $436 for this job

(54 Reviews)

I am c#, .Net developer with mssql. I've worked in many project with Msssql. so if you award me your project, I can fix your issue in a short time Thank you

$250 USD in 3 days
(3 Reviews)

Hi, can look into that right away, the issue most probably in the db connector config. Not the first time with such issue.

$300 USD in 7 days
(8 Reviews)

Hi, I can help you I'm Database Administrator with 10+ years of experience in maintenance, security, backup, recovery, designing, coding, testing and supporting solutions in SQL Server environments. Proficient in an as More

$250 USD in 3 days
(10 Reviews)

Hi I have 15 years of experience in SQL server Database development, MySQL development, postgress SQL development, Python,C#, power bi. I will be able to help you with the project. Please ping me offline to discuss fur More

$667 USD in 3 days
(8 Reviews)

Hire me to investigate where the problem lies..................................................................... Trac

$250 USD in 7 days
(1 Review)

Hello there, Can you give me chance to talk you and give some working solution? I am database admin with more than 7 years of experience. I will look forward to hear from you. Thanks

$250 USD in 1 day
(1 Review)

Hello ! It takes just 2.5 seconds to capture people’s attention – which means your design has to be visually stunning and speak directly to how you can help your customers. we are an expert web developer with an expe More

$555 USD in 6 days
(0 Reviews)

I can help you investigate tk find the configuration bootleneck then suggest and help you apply the fix to optimise the mssql performance.

$500 USD in 1 day
(0 Reviews)

I am software engineer having 14+ years of experience in developing and handling different type of applications. I believe in quality work and long term relationship with firm with customer satisfaction.

$600 USD in 15 days
(0 Reviews)

Hello, the problem that you describe can be solved. Many thing to verify. First run query analizer. Check data on SQL processesor usage and ram. Network problems (even in the same computer can happen).

$500 USD in 7 days
(0 Reviews)

I will be working as a SQL server DBA and expertise in performing tuning and resolved many slow running queries

$500 USD in 7 days
(0 Reviews)

Hi, I read your description and I am interested to work in your proyect. I have 8 years of experience working with relational databases as SQL, MySQL, DB2, Oracle and access so,I think my experience it will be really More

$500 USD in 7 days
(0 Reviews)