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.

Навыки: SQL-сервер Microsoft, SQL, Управление базами данных, Database Management, Database Design

О работодателе:
( 18 отзыв(-а, -ов) ) Lagos, Nigeria

ID проекта: #32715264

13 фрилансеров(-а) готовы выполнить эту работу в среднем за $436

(54 отзывов(-а))

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 за 3 дней(-я)
(3 отзывов(-а))

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 за 7 дней(-я)
(8 отзывов(-а))

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 Больше

$250 USD за 3 дней(-я)
(10 отзывов(-а))

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 Больше

$667 USD за 3 дней(-я)
(8 отзывов(-а))

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

$250 USD за 7 дней(-я)
(1 отзыв)

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 за 1 день
(1 отзыв)

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 Больше

$555 USD за 6 дней(-я)
(0 отзывов(-а))

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 за 1 день
(0 отзывов(-а))

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 за 15 дней(-я)
(0 отзывов(-а))

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 за 7 дней(-я)
(0 отзывов(-а))

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

$500 USD за 7 дней(-я)
(0 отзывов(-а))

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 Больше

$500 USD за 7 дней(-я)
(0 отзывов(-а))