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 / Forms Programming / June 2008

Tip: Looking for answers? Try searching our database.

front end and back end

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
iccsi - 30 Jun 2008 13:10 GMT
I just learned that it is efficient that split mdb to front end and
back end database.

I just wonder that does it mean that front end and back end
communicate with SQL string and result set to reduce network traffic?

Does it mean that query should store on the backend, because it will
be faster front end sends a short query name instead of SQL string?

Are there any other benefits?

Your information is great appreicted,
Douglas J. Steele - 30 Jun 2008 13:47 GMT
Tony Toews and Albert Kallal have lots of information about the benefits of
splitting applications at http://www.granite.ab.ca/access/splitapp/index.htm 
and http://members.shaw.ca/albertkallal/Articles/split/index.htm 
respectively.

There's no benefit to be gained by putting the queries in the back-end. It's
the front-end that runs the queries, not the back-end.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

>I just learned that it is efficient that split mdb to front end and
> back end database.
[quoted text clipped - 8 lines]
>
> Your information is great appreicted,
iccsi - 30 Jun 2008 16:10 GMT
On Jun 30, 8:47 am, "Douglas J. Steele"
<NOSPAM_djsteele@NOSPAM_canada.com> wrote:
> Tony Toews and Albert Kallal have lots of information about the benefits of
> splitting applications athttp://www.granite.ab.ca/access/splitapp/index.htm
[quoted text clipped - 22 lines]
>
> - Show quoted text -

Thanks for the link and information,
Does it help application performance?

it seems that the above links do not mention the performance.

Thanks again,
Klatuu - 30 Jun 2008 17:02 GMT
If you are asking about performance difference based on the query being in
the fe or the be, the fe will be faster.
To expand a bit on the environment, Database engines like SQL Server,
Oracle, Sybase, etc are Client/Server database engines.  That means the logic
to handle data requests runs in an instance of the database engine on the
server.  Therefore, less data has to be moved accross the network.  The
Client (Front End) only sends the information the database engine needs to
satisfy the data request.  The manipulation of the data happens at the server
level and if records need to be returned, only the requested records are
returned.

Jet (the database engine used by Access) is a File/Server database engine.  
That is, no logic runs on the server.  The server is only used to store the
Back End mdb file that contains the tables and relationships.  All logic is
running on the Client (the user's computer).  So when you execute a query,
the Front end reads the query, evaluates it, and passes the request to Jet.  
Jet the reads the data in the mdb file on the server and first returns the
index values from the table(s) in the Back End and uses the values to
determine which records to retrieve. This means the index values are first
passed accross the network, then the actual data is passed across the
network.  If the query is stored in the Back End mdb, Access first has to
retrieve the query accross the network to pass it to Jet.  This is an extra
network trip.

So, the short of it is the only objects that should be in the Back End mdb
are tables, indexes, and relationships.  All forms, reports, macros, modules,
and DAP's should be in the front end.
Signature

Dave Hargis, Microsoft Access MVP

> On Jun 30, 8:47 am, "Douglas J. Steele"
> <NOSPAM_djsteele@NOSPAM_canada.com> wrote:
[quoted text clipped - 31 lines]
>
> Thanks again,
Douglas J. Steele - 30 Jun 2008 17:25 GMT
Does what help application performance? Splitting the database? No. In fact,
it can cause poorer performance, but the other benefits outweigh that.

Tony does talk about it at
http://www.granite.ab.ca/access/splitapp/performance.htm

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

Thanks for the link and information,
Does it help application performance?

it seems that the above links do not mention the performance.

Thanks again,
 
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.