Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

Query speed across network. Eek...Access97!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul_in_NZ - 24 May 2007 00:52 GMT
I posted this is Small Business Server forum too, as I'm not sure where it
should belong. Please read on....

I have a client running a legacy inhouse app developed by another party.
Developed using VB, it runs on Access97. This app is split into
client(frontend) and server(backend).

Up until recently they were running everything on a shoestring WindowsXP
peer2peer. As the machine handling "server" duties was suffering increasing
BSOD due to hardware issues, it was decided a "proper server" be put in place.

Citing performance, security and email prospects I sold them SBS 2003 R2
Premium. After an initial glitch with a RAID controller, the system has
settled down to be rock solid. Except for one major issue: network speed when
running a query on the backend of the legacy app they have.

On the p2p network, the query would provide a response within 3-5 seconds.
On the SBS 2003 server network, delivering from a network takes anything from
5 seconds to 2 minutes.

This is where I need some guidance.

I need to get this app stable and operating at 'normal' speed. Only then can
I then focus on getting a migration to a SQL based backend running.

Help...!

Signature

Math illiteracy affects 7 out of every 5 people...

Tom Wickerath MDB - 24 May 2007 01:01 GMT
Access MDB should have be used

you need to move to SQL Server

Access MDB has been obsolete for a decade

>I posted this is Small Business Server forum too, as I'm not sure where it
> should belong. Please read on....
[quoted text clipped - 27 lines]
>
> Help...!
Paul_in_NZ - 24 May 2007 01:28 GMT
> Access MDB should have be used

???

> you need to move to SQL Server

Read my last paragraphs. It is a work in progress. I'm having to filter
through a lot of debris in the BE.


> Access MDB has been obsolete for a decade

mmm....

> >I posted this is Small Business Server forum too, as I'm not sure where it
> > should belong. Please read on....
[quoted text clipped - 27 lines]
> >
> > Help...!
David W. Fenton - 24 May 2007 02:57 GMT
>> Access MDB should have be used
>
[quoted text clipped - 9 lines]
>
> mmm....

You are responding to a troll, Aaron Kempf, who is amusing himself
today by impersonating respected Access MVPs. Aaron's Leitmotif is
"switch to ADP," whether that advice makes any sense at all. Beyond
that, Aaron also specializes in providing completely wrong advice on
any number of subjects about which he knows nothing (this would seem
to be all things Access- and database-related).

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

Todos Menos [MSFT] - 24 May 2007 04:11 GMT
you're right kid

my mantra is 'move to adp'

BECAUSE IT IS SUPERIOR TECHNOLOGY WITH A SUPERIOR SERVER DATABASE

stick a fork in it you f.cking c.nt

On May 23, 6:57 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:

> >> Access MDB should have be used
>
[quoted text clipped - 19 lines]
> David W. Fenton                  http://www.dfenton.com/
> usenet at dfenton dot com    http://www.dfenton.com/DFA/
Todos Menos [MSFT] - 24 May 2007 04:19 GMT
'whether it makes any sense at all'?

what the f.ck are you talking about dipshit

of course it makes sense

sorry that you cocksucker niggers can't argue a fair match

f.ck you piece of sh.t and f.ck your stupid little crack-baby database

SQL Server made you all obsolete a decade ago; and now mySql has
stolen the thunder from SQL Server

either way-- not using a server-based database is just f.cking
laughable

ROFL

you dipshits still keep your DATA in Excel?

move on kids

nothing to see here but a bunch of MDB crack-babies

eat a f.cking dick faggot

On May 23, 6:57 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:

> >> Access MDB should have be used
>
[quoted text clipped - 19 lines]
> David W. Fenton                  http://www.dfenton.com/
> usenet at dfenton dot com    http://www.dfenton.com/DFA/
Tom Wickerath MDB - 24 May 2007 04:52 GMT
you don't need to filter through a lot

you just need to learn how to use a where clause, kid

what is SQL too hard for you ?

WAAAHHHHH!!!

cry me a river, bitch

there's some reddot raghead ready to take your job for $10/hour and he
speaks SQL Server

>> Access MDB should have be used
>
[quoted text clipped - 48 lines]
>> >
>> > Help...!
'69 Camaro - 24 May 2007 05:01 GMT
Everyone please note that Aaron  Kem.pf is attempting to impersonate one of
our regular posters again.  Tom would never post such a message.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.

<SNIPPED>

>>> Access MDB should have be used
>>
[quoted text clipped - 50 lines]
>>> >
>>> > Help...!
'69 Camaro - 24 May 2007 01:31 GMT
Everyone please note that Aaron Kem.pf is attempting to impersonate one of
our regular posters again.  Tom would never post such a message.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.

> Access MDB should have be used
>
[quoted text clipped - 34 lines]
>>
>> Help...!
Todos Menos [MSFT] - 24 May 2007 01:47 GMT
eat a mother f.cking dick cock sucker

On May 23, 5:31 pm, "'69 Camaro" <ForwardZERO_SPAM.To.
69Cam...@Spameater.orgZERO_SPAM> wrote:
> Everyone please note that Aaron Kem.pf is attempting to impersonate one of
> our regular posters again.  Tom would never post such a message.
[quoted text clipped - 50 lines]
>
> - Show quoted text -
Todos Menos [MSFT] - 24 May 2007 01:48 GMT
im not attempting to impersonate anyone

I am using an alias-- a nickname

On May 23, 5:31 pm, "'69 Camaro" <ForwardZERO_SPAM.To.
69Cam...@Spameater.orgZERO_SPAM> wrote:
> Everyone please note that Aaron Kem.pf is attempting to impersonate one of
> our regular posters again.  Tom would never post such a message.
[quoted text clipped - 50 lines]
>
> - Show quoted text -
Tony Toews [MVP] - 24 May 2007 02:36 GMT
>im not attempting to impersonate anyone
>
>I am using an alias-- a nickname

Rubbish.

Note that this person is really A a r o n   K e m p f and that he is not an employee
of Microsoft.

Tony
Signature

Tony Toews, Microsoft Access MVP
  Please respond only in the newsgroups so that others can
read the entire thread of messages.
  Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
  Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

Todos Menos [MSFT] - 24 May 2007 04:09 GMT
OH RUBBISH

shut the f.ck up pansy boy

im not
impersonating anyone

I'm using various nicknames until I find one I like

unfortunately; all of these names remind me what MDB crack-baby
pussies you guys are

anyone using access should be fired and then spit upon

> >im not attempting to impersonate anyone
>
[quoted text clipped - 12 lines]
>    Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
>    Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/
Albert D. Kallal - 24 May 2007 02:04 GMT
While the following list is for a2000, there is some suggestions for a97.

a few things:

First, upgrading to sql sever often does not speed these applications up.
(in fact, sometimes they slow down). Simple knee jerk solutions like
replacing the server, or adding sql server are not going to fix these
problems (and, as you seen, your actually experiencing a slow down right
now).

You don't mention if the application is split or not (I hoping it is
split -- however, lets leave this issue out for the time being, but it is a
important one, and unfortunately you failed to mention this detail (the fact
that you NOT mentioned this detail speaks volumes about the skill level and
support your exercising right now - not good!!).

First, with the real server, issues such as file permissions, security, and
a host of other issues now come into play

However, here a few things:

keep the back end "low" in the file hierarchy (if you go deep in terms of
folders, things can slow down). So, keep the back end mdb LOW in the folder
system. (one deep at most).

Since access 97 is very old, then stick to 8.3 file naming conventions.
(and, keep folders 8 or less characters in length, and don't use spaces in
the file names. (there is some "gear" switching that the network has to do
when you don't use legacy file naming here).

The next thing is to try a persistent connection. (this will requite
developer knowledge of ms-access). To "test" this connection idea, you can
simply open up a table in the application (on a workstation), and then
minimize this table. now, while in the appcation, launch that form ..it
should run fast. The "persistent" connection concept is simply something
that forces (keeps) open the file at all times, as there is a RATHER LARGE
overhead WHEN a file is being opened and closed repeat and triggers all that
extra processes and security stuff that the new box has.

And, while were at this, ensure that virus protection software is not
interfering (on both client and server sides). I would consider disable all
virus stuff during testing...

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

Paul_in_NZ - 24 May 2007 02:36 GMT
Albert, I appreciate your wisdom. It is your advice, amongst others that I am
seeking.

I did state at the outset that this is a split database situation
client/server or fe/be. There has not been any migration to SQL as yet.

All that has happened is that the file providing the BE has been copied from
a WindowsXP PC, named "Server", to a SBS2003 box called "Thoroughbred"(*).
The file is stored in a folder c:\ABCDEF and shared as such. There is a
requirement in the app that this be mapped as drive k:\ on the workstations
(not a biggie as there are only 10, all in the same office. This can also be
done through login scripts)

All that has changed is the servername. I'm not sure if "Thoroughbred" is
too long. I didn't think it'd be a problem when we're dealing with a 'mapped
drive'.

In the meantime I have moved the BE to a workstation on the network to allow
the users to enjoy marginally better performance. This also gives me some
room to try apply the "persistent" connection table you suggest.

Also, new data can be entered into the system without hindrance. It is only
when performing a query does performance get hammered.

Thanks
Paul

Signature

Math illiteracy affects 7 out of every 5 people...

> While the following list is for a2000, there is some suggestions for a97.
>
[quoted text clipped - 38 lines]
> interfering (on both client and server sides). I would consider disable all
> virus stuff during testing...
Albert D. Kallal - 24 May 2007 11:32 GMT
> I did state at the outset that this is a split database situation
> client/server or fe/be. There has not been any migration to SQL as yet.

Excellent, my apologies..I missed that! (good you point this out).

I like Tony's suggestion also.....

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

David W. Fenton - 24 May 2007 15:24 GMT
> I did state at the outset that this is a split database situation
> client/server or fe/be.

A Jet back end with an Access front end is not by any stretch of the
imagination "client/server," because there's no "server" involved
(except as a file server). By your definition, editing a Word
document stored on a file server would be "client/server" and that's
simply not what the term means.

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

Paul_in_NZ - 25 May 2007 01:03 GMT
Forgive me.....

As Albert has already revealed, I'm a relative novice on Access. 27 years of
working with clients and servers.....it's hard to break a mindset. ;)

I feel suitably rebuked.

Signature

Math illiteracy affects 7 out of every 5 people...

> > I did state at the outset that this is a split database situation
> > client/server or fe/be.
[quoted text clipped - 4 lines]
> document stored on a file server would be "client/server" and that's
> simply not what the term means.
Susie DBA [MSFT] - 26 Jun 2007 01:21 GMT
Access is client-server

Access Data Projects that is-- it's infinitely more powerful than MDB

On May 24, 5:03 pm, Paul_in_NZ <Pauli...@discussions.microsoft.com>
wrote:
> Forgive me.....
>
[quoted text clipped - 20 lines]
>
> - Show quoted text -
DAVID - 25 May 2007 05:02 GMT
>> I did state at the outset that this is a split database situation
>> client/server or fe/be.
[quoted text clipped - 4 lines]
> document stored on a file server would be "client/server" and that's
> simply not what the term means.

Oddly enough, that's exactly what the term meant
when we all had banyan vines or novell data servers.

The native MSDOS database primatives (used by
JET) are redirected by the file re-director
(part of the client) to the network server.

I know you know that: I know you know that Word
doesn't actually do that: It's just good to see
that someone else knows it as well. To often
what I see here is some naive luser saying
that 'Access brings down the whole file' because
'Access isn't client/server - it just uses
a file'

(david)
David W. Fenton - 25 May 2007 19:27 GMT
>>> I did state at the outset that this is a split database
>>> situation client/server or fe/be.
[quoted text clipped - 7 lines]
> Oddly enough, that's exactly what the term meant
> when we all had banyan vines or novell data servers.

It was wrong then, too. There is a clearly defined meaning for the
term that has existed for a very long time, as long as
mini-computers have existed to start replacing dumb terminals.

> The native MSDOS database primatives (used by
> JET) are redirected by the file re-director
> (part of the client) to the network server.

This is all file system redirection, and has nothing to do with
client/server *applications*. Yes, the workstation is a client of
the file server, but there is no processing of data on the server,
and no communication between two processes running on two different
CPUs.

> I know you know that: I know you know that Word
> doesn't actually do that: It's just good to see
[quoted text clipped - 3 lines]
> 'Access isn't client/server - it just uses
> a file'

That makes me crazy, too.

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

David W. Fenton - 24 May 2007 02:54 GMT
> You don't mention if the application is split or not

He *did* mention it. Access is not involved -- it's a VB app with a
Jet 3.5 back end.

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

Tom Wickerath MDB - 24 May 2007 04:54 GMT
moving to SQL Server _WILL_ fix your problem
especially if you want to use MS Access over wireless, wan or VPN

> While the following list is for a2000, there is some suggestions for a97.
>
[quoted text clipped - 38 lines]
> interfering (on both client and server sides). I would consider disable
> all virus stuff during testing...
'69 Camaro - 24 May 2007 05:01 GMT
Everyone please note that Aaron  Kem.pf is attempting to impersonate one of
our regular posters again.  Tom would never post such a message.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.

> moving to SQL Server _WILL_ fix your problem
> especially if you want to use MS Access over wireless, wan or VPN
[quoted text clipped - 42 lines]
>> interfering (on both client and server sides). I would consider disable
>> all virus stuff during testing...
Tony Toews [MVP] - 24 May 2007 02:46 GMT
>Except for one major issue: network speed when
>running a query on the backend of the legacy app they have.
>
>On the p2p network, the query would provide a response within 3-5 seconds.
>On the SBS 2003 server network, delivering from a network takes anything from
>5 seconds to 2 minutes.

Ah, SBS?  SMB signing.

See the Disable Server Message Block (SMB) Signing section at
http://www.granite.ab.ca/access/performancefaq.htm

Tony
Signature

Tony Toews, Microsoft Access MVP
  Please respond only in the newsgroups so that others can
read the entire thread of messages.
  Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
  Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/

Paul_in_NZ - 25 May 2007 01:22 GMT
Thanks for this link Tony. I had found it yesterday and bookmarked it before
being called to another site.

I hadn't even thought to check the setting under 'LanManWorkstation'. I'll
find out later how well it works.

P.

Signature

Math illiteracy affects 7 out of every 5 people...

> >Except for one major issue: network speed when
> >running a query on the backend of the legacy app they have.
[quoted text clipped - 9 lines]
>
> Tony
David W. Fenton - 24 May 2007 02:53 GMT
> I have a client running a legacy inhouse app developed by another
> party. Developed using VB, it runs on Access97.

What you mean is that it uses a Jet 3.5 back end.

Access is not involved at all, except insofar as perhaps the
original MDB was created in Access.

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

David W. Fenton - 24 May 2007 02:55 GMT
> I need to get this app stable and operating at 'normal' speed.
> Only then can I then focus on getting a migration to a SQL based
> backend running.

Go here:

 http://www.granite.ab.ca/access/performancefaq.htm

and look for the things that are server-based and network issues.

Also, you might want to check if there's AV software involved.

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

Todos Menos [MSFT] - 24 May 2007 04:10 GMT
you niggers should stop blaming everything else and find a real
database

He wouldn't be having any problems if he was using the SQL Server that
comes included with his SBS

Access MDB is worthless and anyone using it for anyhting shoudl be
fired and then spit upon

On May 23, 6:55 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:

> > I need to get this app stable and operating at 'normal' speed.
> > Only then can I then focus on getting a migration to a SQL based
[quoted text clipped - 11 lines]
> David W. Fenton                  http://www.dfenton.com/
> usenet at dfenton dot com    http://www.dfenton.com/DFA/
Paul_in_NZ - 25 May 2007 01:18 GMT
Ahh, some guidance and not some echoes of frustration.

Tony's "advice line", which you share, is getting attention right now. The
AV side of things, was the first thing that I checked, before I even tackled
Oplocks.

P.
Signature

Math illiteracy affects 7 out of every 5 people...

> > I need to get this app stable and operating at 'normal' speed.
> > Only then can I then focus on getting a migration to a SQL based
[quoted text clipped - 7 lines]
>
> Also, you might want to check if there's AV software involved.
SmartbizAustralia - 24 May 2007 13:03 GMT
The biggest issue is where you try to load too many records at once
and this is regardless of whether it is an access backend or sql
server.

Just filtering the data prevents most issues, but normally, speed
issues like you raise are due to too many joins.

e.g. I had a client once who had 20 tables linked to a member table
and wanted every member with tabs showing every linked table.

It took 2 minutes to load.
Then by only loading the members and showing one linked table at a
time, it loaded in 2 seconds.

The design is sooo important....

Regards,
Tom Bizannes
Microsoft Access Development
Sydney,Australia
Paul_in_NZ - 25 May 2007 01:12 GMT
As I stated earlier, there is an awful amount of debris in both the FE and
BE. There are several tables, forms and reports on the FE that are not used,
yet link to to the BE. Similarly there are several tables and fields within
valid tables on the BE.

After I get to clean all of this up, I sense your comment is going to prove
some worth.

P.
Signature

Math illiteracy affects 7 out of every 5 people...

> The biggest issue is where you try to load too many records at once
> and this is regardless of whether it is an access backend or sql
[quoted text clipped - 16 lines]
> Microsoft Access Development
> Sydney,Australia
Paul_in_NZ - 30 May 2007 01:25 GMT
To report back on what was done to eventually resolve this issue.

The first thing I'd done before coming to these boards was disable
'Opportunistic Locking' on both server and clients. In the past, and in a
peer2peer situation, this typically worked. Microsoft Support has an article
at http://support.microsoft.com/?kbid=296264

However the problem persisted. I was then steered towards
http://www.granite.ab.ca/access/performancefaq.htm, and systematically went
through the discussions there. Most of them have provided an inkling for
future work, but I was under urgency to resolve the current crisis.

One link,
http://groups.google.com/group/microsoft.public.windows.server.sbs/browse_frm/th
read/7188759b0c85bf5a/e9f11abbad2c36b8
,
with a reference to 'enablesecuritysignature' proved to be extremely
effective. As did setting 'SharingViolationDelay' as per
http://support.microsoft.com/?id=150384

The query that started this thread, now takes 2-2.5secs to run, whereas
previously it was running to 3minutes.

Even after all of these steps there was still some erratic behaviour when it
came to performance on the clients specific Access app. Checking all the
network cards speed settings revealed some were set to 'Force 100 Full
Duplex', changing these to 'Auto' provided an amazing improvement.

Now the system is stable and performing well, I can focus on development of
the replacement solution. It will have a SQL backend and initially an Access
2003 frontend. The links and input in these threads are, and will, prove
invaluable.

Thanks for the help and the positive input.

Paul_in_NZ
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.