PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

Multi user VB6 Access Backend Database

 
 
david epsom dot com dot au
Guest
Posts: n/a
 
      29th Feb 2004
> In the case of queries, I thought it was just the query definition
> returned, until the query was actually executed.


Yes, I agree, although even that is not trivial, since
the query is more or less stored as a record in the file.

But it does raise interesting performance questions:
if you put the SQL into a third file (instead of into
the data file or the application file), at what stage
does the overhead of using the third file become greater
/less than the overhead of using the network to get the
SQL from the data file?

However, since he seems to have already decided to
store the saved querydefs in a third file, the question
is only if he should use a shared copy or a local copy.

In this case, the question of how much demand will
be made on the hardware resolves to simpler questions:
Will the demand be less for the local file (yes) than
for a shared copy? Will the chance of file corruption
be less for a local file (yes) than for a shared copy?

(david)



"Unicorn" <(E-Mail Removed)> wrote in message
news:eI$Wavn$(E-Mail Removed)...
> [Snip]
> It will be more reliable and use
> > somewhat less bandwidth as that mdb file don't cross the network.

> Yes..this
> > is the way to go.

>
> I didn't think the entire MDB file was dragged across the network. Just

the
> whole tables required for SQL to manipulate.
>
> In the case of queries, I thought it was just the query definition was
> returned, until the query was actually executed.
>
> If I am wrong, please jump all over me, cause I have made some major
> blunders in the past, I am more than capable of having this wrong.
>
> (Do you know what happens to a busy local network when 5 users try and

check
> for a files status every 10th of a second. :-) I had my own DOS

internally,
> because of a simple algebraic error. )
>
>
> Matt
>
>



 
Reply With Quote
 
 
 
 
Unicorn
Guest
Posts: n/a
 
      1st Mar 2004

"david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
news:uyws8Ix$(E-Mail Removed)...
> > In the case of queries, I thought it was just the query definition
> > returned, until the query was actually executed.

>
> Yes, I agree, although even that is not trivial, since
> the query is more or less stored as a record in the file.

[Snip]

That was the point of my comment about what happens when 5 users check the
status of a file every 1/10 of a second. Nothing is trivial.

While I am not very knowledgeable on networking, I have been advised, ( and
I accept the information), that a 10mb local network is at best only capable
of around 1.5-2 mbs of data through put with NetBEUI enabled. As I am still
working mainly with these 10mb local nets ( in one case a 2mb dish connects
sites a couple of blocks apart).

What I was really seeking was confirmation of my understanding of the
process, and you have done that thank you David.

Matt
..


 
Reply With Quote
 
 
 
 
Larry Linson
Guest
Posts: n/a
 
      1st Mar 2004

"david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
news:eFFqBCx$(E-Mail Removed)...
> > Perhaps, like my colleague Drew Wutka,
> > he has used WinSock to communicate

>
> Possibly, but note that it is not a transactional application,
> and at first glance it would appear that users only update
> their own record. If the rest of the data access is read-only,
> the application could be using local DAO and still only be
> limited by the number of user licenses on the file server.


As far as I know, the LDB for the shared tables/data database will still
limit to 255 concurrent users. The "DIY" client-server arrangment can
eliminate that problem by only having one "user" interface with the shared
tables/data database, but "heavy use" can still clog things.

A scenario of connect-do a minimal amount of work-disconnect would, of
course, vastly increase the number of potential users but, perhaps, with
some cost in performance/response on an individual access to the data.

In either case (as with Drew's application), I'm sure we are talking many
users but rather light use/access to the data itself. I am certainly not
doubting your report, nor your colleague's. I have often said that I
suspected that Jet turned out to be a far more capable "little desktop
database" than even its creators imagined, so capable, in fact, that I would
imagine it cost Microsoft some sales of SQL server.

Larry Linson
Microsoft Access MVP


 
Reply With Quote
 
Unicorn
Guest
Posts: n/a
 
      1st Mar 2004
[SNIP]. I have often said that I
> suspected that Jet turned out to be a far more capable "little desktop
> database" than even its creators imagined, so capable, in fact, that I

would
> imagine it cost Microsoft some sales of SQL server.
>
> Larry Linson
> Microsoft Access MVP
>
>

I suspect, that MSDE has also cost Microsoft SQLServer sales. Their over
zealous throttling of MSDE is response to their 'blunder' over Jets
capabilities has put may people into the open source Data engine world. As
you say JET is very capable. MSDE is crippled unless a lot of planning
goes into the deployment to ensure concurrency is absolutely minimal, and
SQL queries are not complex enough to cause the governor to kick in without
reaching the second user.


Matt


 
Reply With Quote
 
Tony Toews
Guest
Posts: n/a
 
      2nd Mar 2004
"Albert D. Kallal" <(E-Mail Removed)> wrote:

>If you like most access developers have some "auto update" routine that at
>start-up checks for a new version of your software and grabs it from the
>server..then just include the copying of the new mdb file with the possible
>new updated queries also in that process.


I specifically created the Auto FE Updater utility so that I could
make changes to the FE MDE as often as I wanted and be quite confident
that the next time someone went to run the app that it would pull in
the latest version. For more info on the errors or the Auto FE
Updater utility see the free Auto FE Updater utility at
http://www.granite.ab.ca/access/autofe.htm at my website to keep the
FE on each PC up to date.

Tony
--
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
 
Reply With Quote
 
Tony Toews
Guest
Posts: n/a
 
      2nd Mar 2004
"Unicorn" <(E-Mail Removed)> wrote:

>I didn't think the entire MDB file was dragged across the network. Just the
>whole tables required for SQL to manipulate.


If the selection and sorting criteria involve an index then only those
pages containing the relevant index entries are downloaded. Then the
relevant pages containing the selected records are downloaded.

If the selection and sorting criteria can't use an index, for example
a data field which doesn't happen to have an index on it, then yes,
the entire table is downloaded to the computer.

Now yes, Jet does create temp files on the PC as required but this
does not mean that the entire table gets put in the hard drive either.

The above all stated there are other problems though. There was a
report a while back of someone who did some network sniffing who saw a
combo box data coming down the wire three times.

Tony
--
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How To Duplicate Table From 1 Backend Database To Another Backend Database John W. Vinson Microsoft Access VBA Modules 0 30th Jun 2009 06:01 PM
Simple task works when MS SQL Server is the backend but not when MySQL is the backend. Ted Microsoft ASP .NET 1 22nd Feb 2007 09:33 PM
Access backend vs mysql backend =?Utf-8?B?RGFu?= Microsoft Access 0 1st Jun 2005 12:46 AM
Copying table in Backend to another Backend =?Utf-8?B?cmRoMWE=?= Microsoft Access Form Coding 3 16th Dec 2004 06:25 PM
Migrating a single user access database app to multi-user multi-site. canigou9 (remove your socks to reply) Microsoft Access 3 5th Oct 2003 10:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:18 PM.