473,383 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Backend Theories and Practices

twinnyfo
3,653 Expert Mod 2GB
Friends,

I have a question on the various theories behind the backend data in a database. Of course, I think this is the proper way to set up an Access DB, but my question has to do with implementation theories and various practices.

Here is what I have: I have one front end that all users have access to. Thanks to others on this site, everytime the user wants to access the DB, a fresh copy of the FE is copied to their local drive and the DB is opened from there. That FE actually has five Back Ends which hold various sets of data.

One BE is data downloaded from a mainframe, and that data is never updated or changed by the user, but is occasionally referred by the user. This BE is also about 150 MB.

There are small BEs, which are only accessed several times throughout the year and they save statistical and archived information. Although very small, because of their function, I have have split them out separately, so that I can go to a specific place to find specific information.

There are two other BEs, both of which are accessed and updated on a daily basis, but, again, have completley different purposes, although the data are related to each other. I've done a pretty good job (in my opinion) to keep redundancy to an absolute minimum, which sites like this have helped me to understand DB normalization and table creation theory.

I have one FE, because the FE determines who has logged in (based on their user name) and assigns various access to the user based on who they are. However, occasionally, a user may change their responsibliities, so we all access one FE, with the ability of changing roles, and thus having access to the different data sets and functions within the DB.

My question is whether this type of BE practice is a good one? Because I make frequent backups of my data, having everything together in a 200 MB BE, doesn't seem reasonable, as the main frame data does not need to be backed up (we can always acces it).

Or, is it wise to split out the BEs even more? I.e., for all the tables I use to populate the drop downs in my other tables, should those be stored separately--so that the only data in the main BE are the tables which are actually updated?

Of course, this may just be a question of preference for some people, but I thought I would ask whether anyone has any theories that would recommend one way or the other.

I appreciate any thoughts or comments you may have on this issue. As I always seek to learn and improve my skills, this is one more way I'd like to seek improvement.

Warm regards, and thanks in advance!
Oct 16 '12 #1
7 1939
TheSmileyCoder
2,322 Expert Mod 2GB
It can make sense to split up the database backend to some degree. If you have a form open, based on Table A in backend A, and then need to perform a operation on Table B in backend B, you should be aware that Access needs to get a hold of the file. This involves sending a request to the network server to see if you have read rights on the file in question, and whether you have rights to create a .ldb file in the folder. Note that this connection is established each time you open a table in a backend in which you did not have a previously active connection.

That CAN be a reason to not split it up as much as you have, but it depends on how your specific setup is. If the opening of table B in backend is only something the user does once a hour, then sub-optimal performance might be acceptable.
Oct 16 '12 #2
twinnyfo
3,653 Expert Mod 2GB
Thanks, Smiley! That's some goo dinformation to know. Fortunately, BE C and BE D only get accessed once in a while, mostly by me, so those connections are very infrequent. However, you are kind of confirming the overall plan that I have right now, and so, I am leaning very strongly now to not split the BE any further--because of the connections required and potential slowdown.

Thanks for the advice!
Oct 16 '12 #3
NeoPa
32,556 Expert Mod 16PB
I think I am in tune with Smiley when I say that you should have sound reasons for splitting up a BE if you don't have to. I cannot say that it's never a good idea, but for reasons which have already been explained it shouldn't be done without good reason.
Oct 16 '12 #4
TheSmileyCoder
2,322 Expert Mod 2GB
I think If I had to list the top rules of design it would be: in priority:
  1. Normalize your data
  2. KISS: Keep It Simple (Stupid)

As far as I know, access is quite efficient at getting information even from large files, if its indexed. Access does not "retrive" or load the entire backend file, unless asked too.

Imagine you have table A in backend A containing 1.000.000 records. That doesn't affect table b in backend A. Getting table B is not slower, just because the backend may be a huge file.
Oct 22 '12 #5
NeoPa
32,556 Expert Mod 16PB
Nor do you get any parallel processing benefits of multiple BEs as you might if they were actual servers, as the BE processing is all done on the FE processor. If anything, you just get the extra overheads of opening more files.
Oct 22 '12 #6
TheSmileyCoder
2,322 Expert Mod 2GB
I think if you however query a table with joins to a table in a seperate backend, that you might get alot of extra network traffic. I must admit that we are now on the border of my understanding of how access works in regards to data transfer from backends.
Oct 22 '12 #7
NeoPa
32,556 Expert Mod 16PB
Not necessarily Smiley. All the work for Access BEs is done on the local processor. This may involve network traffic if the file is not stored locally, but that needn't be the case. Of course, what you say about joins going across BEs is pretty close anyway. I would expect rules between tables of the same BE would work more efficiently than those across separate ones. Some couldn't even be defined unless they are either local (Same BE) or linked (Separate BE requiring a link to a link or worse). Anyway, not a good thing to get into without good reason.
Oct 23 '12 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

55
by: Jonas Smithson | last post by:
I've seen a few attractive multi-column sites whose geometry is based on pure CSS-P, but they're what you might call "code afficionado" sites, where the subject matter of the site is "coding...
2
by: Hugh McLaughlin | last post by:
Hello Everyone and thanks for your help in advance. I have read a great deal about code reuse and the development of the three-tier application, but am somewhat confused on some issues and am...
3
by: cliopia | last post by:
Where can I find a good source (book, website etc) for best practices for programming database applications? I inherited a c# distributed application using OleDB/ADO.with an Jet backend and am...
2
by: Ed_P | last post by:
Hello I just wanted to get the opinions of those of you who have experience developing C# applications and programming in general. I currently am learning the basics of programming (choosing C#...
1
by: ABB | last post by:
What are the best practices to create n-tier application in Windows Forms? Links to white papers/articles are welcome. We have a medium-size accounting and stock application that are planning to...
2
by: Jim Hubbard | last post by:
I have a client that wants me to code a simple application as a prototype. The catch is that he wants to use this application at several different stores while being able to share each store's...
3
by: Jim Hubbard | last post by:
I have a client that wants me to code a simple application as a prototype. The catch is that he wants to use this application at several different stores while being able to share each store's...
2
by: Eddie | last post by:
I have a DataSet with relations and other constraints being populated from the backend (SQL Server 2005). I use DataSet.FillSchema to retrieve the table schema for each table in the dataset. I...
1
by: Newbie19 | last post by:
I'm an intern at a software company and I was hired not knowing much about software, I know tons about hardware though. However, for my first major multi-functional program, I need to understand the...
1
by: Salad | last post by:
If one distributes a front/backend app is there a good practice for refreshing the links? I was thinking that the first time the user enters the app, it could check for any tables. If the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.