473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Append Vs Make Table - Explain this?

I have a FE/BD 2002 DB on a XP pro platform.
I know this is ugly but it works for me......
A text file is produced from our Oracle WMS. (Average 20k records)
A command button deletes all records from a 1 field input table and then
opens a form bound to this table.
Results from the oracle query are pasted into the input table.
When the form is closed, a destination table is cleared of all records and
then each record from the input table is split up and then appended to the
destination table.

My problem has been, when only one user is logged into the FE, the whole
process take a couple of seconds. When more than 1 user is logged in, the
process takes several minutes.

Steps I have taken:
I created a hidden form on the FE which opened on startup and was bound to a
small table in the backend.
I have changed the subdatasheet names to none on all tables in the BE
I changed the query property "Use Transaction" to no on the above queries.
Made sure the database was opened with no locks

Only the bound form on startup made any difference which was minimal.

Today, I changed the append query to a make table query so that the table is
overwritten each time. This has done the trick and the process is down to a
few seconds with multiple users logged in.

My question is.... why? I ran each query independently and it was the append
that was slow. Surely an Append would be quicker than making a new table and
populating it with the same number of records?

I look forward to your thoughts,

Mark
Nov 13 '05 #1
2 3549
For one thing, Access databases are simply much slower when they're shared.
The speed goes down noticeably as soon as the second person opens the
database. For another thing, you may have proplems with something calle
Operational Locks if one or more users is on Windows 98, and one or more is on
a Windows 2000 workstation. Operational Lock problems can introduce severe
slowdowns.

On Tue, 29 Mar 2005 06:18:22 GMT, "Mark" <ma**********@n tlworld.com> wrote:
I have a FE/BD 2002 DB on a XP pro platform.
I know this is ugly but it works for me......
A text file is produced from our Oracle WMS. (Average 20k records)
A command button deletes all records from a 1 field input table and then
opens a form bound to this table.
Results from the oracle query are pasted into the input table.
When the form is closed, a destination table is cleared of all records and
then each record from the input table is split up and then appended to the
destination table.

My problem has been, when only one user is logged into the FE, the whole
process take a couple of seconds. When more than 1 user is logged in, the
process takes several minutes.

Steps I have taken:
I created a hidden form on the FE which opened on startup and was bound to a
small table in the backend.
I have changed the subdatasheet names to none on all tables in the BE
I changed the query property "Use Transaction" to no on the above queries.
Made sure the database was opened with no locks

Only the bound form on startup made any difference which was minimal.

Today, I changed the append query to a make table query so that the table is
overwritten each time. This has done the trick and the process is down to a
few seconds with multiple users logged in.

My question is.... why? I ran each query independently and it was the append
that was slow. Surely an Append would be quicker than making a new table and
populating it with the same number of records?

I look forward to your thoughts,

Mark


Nov 13 '05 #2
Mark wrote:
My problem has been, when only one user is logged into the FE, the whole
process take a couple of seconds. When more than 1 user is logged in, the
process takes several minutes.


What Steve said + you seemed to have missed the point about using a
separate FE/BE, which is really the crux of your problem.

--
[Oo=w=oO]

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5776
by: JMCN | last post by:
hi i need some advice on whether if it would be better to use an append query or an update query. here is the situation, i have linked another database table to my current database. then i created a query for the linked database but eventually i need to have this query to be constantly updated and append to another table in the current...
2
1834
by: Danny | last post by:
I want to extract a subset of fields from one table into another the master table has many fields the subset has about half, but still many. Is there a way I can just append the master into the subsets structure and this way only the existing fields in the destination will be filled? That would be great, but it seems that the append query...
3
4006
by: JOEP | last post by:
What do I need to do to allow an append query to post null values to records in a field of the destination table? Basically I want to allow records with null values to post to the table. The append query will not work unless there are values in the data i am attempting to send. I want the fields in the destination table to accept null and...
1
2472
by: David Barger | last post by:
Greetings, It appears that an Append Query I run in Access XP is randomly failing to append a field. I have payroll data being entered into a payroll database. This data is exported daily to two csv files. (One for updated data, and the other for unupdated data.) The CSV files are attached to my Jobcosting database. After the CSV
5
5355
by: Michael C via AccessMonster.com | last post by:
Hello, I have a table that I am appending 3 seperate tables into. My main problem is that each time I append the data, it simply adds to the data already there. That might sound ok, except that if I append the data 3 times in succession, it copies the same data over 3x. Now I have copies in triplicate. It used to only transfer records...
22
18777
by: RayPower | last post by:
I'm having problem with using DAO recordset to append record into a table and subsequent code to update other tables in a transaction. The MDB is Access 2000 with the latest service pack of JET 4. The system is client/server, multiusers based. The MDBs are using record locking. Here is part of the code: Dim wkSpace As Workspace, db As...
1
2353
by: James Hallam | last post by:
I have a form with a subform. When there are no entries in the subform, I have an append query which makes a default entry in the subform (for what I am doing there needs to be at least one value in the subform). The code in the form is this: Private Sub Form_AfterInsert() If Me.strWholeStr = 0 Then DoCmd.SetWarnings False
4
7376
by: MN | last post by:
I have to import a tab-delimited text file daily into Access through a macro. All of the data needs to be added to an existing table. Some of the data already exists but may be updated by the imported text file. I can update the data through an update query or append the entire import table through an append query. Is there a way to combine...
2
4118
by: sj | last post by:
Situation: I have 2 tables, parent table (Invoice) and child table (InvoiceDetails) that is link by InvID in the child. Requirement: Need to do one-time append of information to another table of the similar structure. Problem: When main table is append to the new table, it will bear a new ID.
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.