Fermé

Very Slow MSSQL Connection when Using IP Address

Hello,

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.

Compétences : Serveur SQL Microsoft, SQL, Administration de Bases de données, Database Management, Database Design

About the Client:
( 18 commentaires ) Lagos, Nigeria

Nº du projet : #32715264

13 freelances font une offre moyenne de 436 $ pour ce travail

(54 Commentaires)
5.7
ivanovatale

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(3 Commentaires)
4.4
ilmarsparols

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(8 Commentaires)
4.4
Shakerfawzy

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(10 Commentaires)
3.8
bizmanas

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(8 Commentaires)
2.9
tracygearth

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
2.3
Shuhrat1

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
0.6
sharytariq007

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 6 jours
(0 Commentaires)
0.0
yhsiong

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
vimpalshah

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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 15 jours
(0 Commentaires)
0.0
dfbaaaa

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).

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
jani123h

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
alexismercado

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0