Solved

Slow speed in SQL Pervasive calls on certain router conditions

Posted on 2011-03-05
12
499 Views
Last Modified: 2012-06-22
I use Pervasive SQL (ODBC has Pervasive Engine loaded)
On certain locations (meaning different locations in the country,)  when connected on the router (by hub) it takes some 20 seconds before SQL  responds, if I disconnect network cable its fast!
0
Comment
Question by:BIAPRO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 4
12 Comments
 
LVL 28

Expert Comment

by:Bill Bach
ID: 35043137
Can we assume that the database is on the local system, with data on the local hard disk?
Otherwise, this makes little sense, as without the NIC cable, the call will fail.

Can you set yp Wireshark and get a network trace of the calls going out over the network?  I expect that you'll see a call going out that does not get a reply -- perhaps a DNS lookup, based on the time -- and if you know what is failing, you can figure out how to fix it.
0
 

Author Comment

by:BIAPRO
ID: 35043156
Yes the database is local,  as I stated when not on the network conneted ist fast, i just have to disconnect every time my internet
will download wireshark and test it
0
 

Author Comment

by:BIAPRO
ID: 35043201
when connected to the net and using a test call in the odbc to the database whiresharks generated the attached log.
my ip in this log is 192.168.1.36 for this workstation
the log itself does not (with my level of knowledge)  not tell me what makes the delay on the odbc / sql call

shark1.jpg
0
Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

 

Author Comment

by:BIAPRO
ID: 35043207
0
 

Author Comment

by:BIAPRO
ID: 35043209
0
 
LVL 28

Accepted Solution

by:
Bill Bach earned 500 total points
ID: 35056896
The problem seems to be the MDNS queries, which are issued, but no reply ever comes back.  Here's a starting point:
    http://laurachappell.blogspot.com/2009/06/iphone-youre-sexy-but-you-talk-too-much.html
But you can query mDNS in your favorite web search tool for more information.

These multi-cast DNS queries are being issued when you are connected to the network, but the system is waiting for a response.  You will probably find the system runs faster after you take some steps to disable it.
0
 

Author Comment

by:BIAPRO
ID: 35060383
hi Bill, it was searching and searching , I did discover 2 networkprinters wich were on usb anyway, so turned off their IP's, but more important to this problem I discovered this way that the pervasive engine was not only looking for Ms-TCP/IP mode but multi mode.
After turning all mode's off, and only left Ms-TCP/IP mode on did solve the problem
Thanks
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 35060707
Can you post the exact steps you used to disable the other modes?  That will make this article a perfect reference for someone in the future.
0
 

Author Comment

by:BIAPRO
ID: 35060902
this tab in pervasive settings

modes.jpg
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 35060928
Wow!  I forgot all about those options from Pervasive.SQL 2000i!  In all of the newer engines, it is merely a checkbox for TCP.  I would guess, then, that you wouldn't have an issue with any of the newer engines.
0
 

Author Comment

by:BIAPRO
ID: 35061102
I understand Bill,  but since I have a few (and coming) pervasive dos users (netware) in the process off stepping from total dos  tpo total windows (perv. v10 and up)  I must use 2000i since I was never able to get the Btrieve dos client working in Perv. v10+
and some programs are still not converted from dos to VB6 and can't miss them
0
 

Author Comment

by:BIAPRO
ID: 35061114
this way I  can run on XP both VB6 and compiled dos on the same server
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question