473,396 Members | 1,846 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,396 software developers and data experts.

Tierd structure advice

Hi I am putting together a functional specification in preparation for
writing a VB Dot Net upgrade an existing Access (VBA) and VB system.

It is currently a tiered system with an IBM AS400 providing a DB2 Database.
There are 5 or 6 of sites and each site has 2 to 6 PCs (involved in this
system). One PC on each site acts as an application server and sub database
server, ie it is an MS Access Application that is scheduled to run approx
every hour and when it runs, it downloads several files from the AS400 and
deletes old records, updates existing records and appends new records into
and Access MDB database file. It then downloads certain data to Access files
on the other PCs on the site. Each PC must be capable of operating even when
the local site server is unavailable so each PC has its own database.

The site server is required because when the PCs process records, a copy of
the record is saved in the Site server database and some transactions
require access to previously saved records (possibly from a different PC).
Also some of the processing to and from the AS400 is not fast and rather
than letting every PC call for a download of data each hour we are using the
site servers to disseminate the data.

OK you can see it is fairly complex and it is even more so at the PC level.
We are hoping to simplify some of this by replacing the access databases at
PC level with DataSets and XML files.

My question refers to structure at the server level. Initially I thought
that I should retain the Access MDB file at the site server to accomadate
the multiple PCs writing records to it and using the Jet Engine to take care
of record locking (there should not be much chance of record being changed
by more than one PC).

This morning I was thinking that possibly this could all be achieved with
DataSets and XML? Could the AS400 downloaded data be held in an XML file and
when new records are posted the XML file is re-written? I know it could but
how do I handle multiple PCs that may try to write records simultaneously?
Am I better sticking with Access MDB at this level?

Thanks for any advice.

Doug

The other
Nov 21 '05 #1
3 1272
Doug,

This looks like a disconnected PDA application.

For that are often used datasets on every PDA.
(That is exactly one of the reasons the dataset is designed for)

Important for the complexity is where is taken the action to delete
datarows.

A delete from the central database is normally not registered and therefore
you have to do a complete refresh from your dataset everytime.

I read in your message that you ask if a dataset is updatatable.
Yes in memory, however not on disk or whatever media.
There it has to be written completly new everytime again.

Just some thoughts (not an advice) I had reading your message.

Cor
Nov 21 '05 #2
"Doug Bell" <dug@bigpond> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
<<>>
OK you can see it is fairly complex and it is even more so at the PC
level.
We are hoping to simplify some of this by replacing the access databases
at
PC level with DataSets and XML files. <<>> This morning I was thinking that possibly this could all be achieved with
DataSets and XML?


Seems to me that the access database holds data and is used for some
processing.
The datasets and xml would be used to....
Hold some data and carry out some processing.
Ummmm.... so that'd be better because??

On the face of it, you're talking of swopping an efficient dbms (Access) for
a less efficient file system.
So I would think that there's at least the potential this xml and dataset
solution will offer no benefit and some negatives.

--
Regards,
Andy O'Neill
Nov 21 '05 #3
Thanks for your comments Andy.

We have found loading data from DB2 to Access (Server) quite slow accross
the network, ie Delete Old records, Update Existing and Append new.
Performance was improved when we used an intermediatory temporary table to
dump all current records into and then use it to do the Delete/Update/Append
and we also found that using a Make Table Query faster than Appending to an
empty Table but one problem with Access is that it doesn't clean up very
efficiently so we started using compact on close. This causes a problem
about 1 in 1000 closes in that it can not rename the compacted DB and then
requires some manual support.

Streaming to a DataSet seems faster so I will keep the Access MDB at Server
level and fill it by streaming to a DataSet and then (in the background)
itterating through it to delete old records, update current and append new
records to the Access Tables.

Doug

"Andy O'Neill" <ao***************@lycos.co.uk> wrote in message
news:y5********************@fe3.news.blueyonder.co .uk...
"Doug Bell" <dug@bigpond> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
<<>>
OK you can see it is fairly complex and it is even more so at the PC
level.
We are hoping to simplify some of this by replacing the access databases
at
PC level with DataSets and XML files. <<>>
This morning I was thinking that possibly this could all be achieved with DataSets and XML?


Seems to me that the access database holds data and is used for some
processing.
The datasets and xml would be used to....
Hold some data and carry out some processing.
Ummmm.... so that'd be better because??

On the face of it, you're talking of swopping an efficient dbms (Access)

for a less efficient file system.
So I would think that there's at least the potential this xml and dataset
solution will offer no benefit and some negatives.

--
Regards,
Andy O'Neill

Nov 21 '05 #4

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

Similar topics

9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
0
by: rwwff | last post by:
I'm wanting to convert/import an ancient, custom coded (in c) language database into mysql. I understand the mechanics of the process on both sides, but I need advice on the performance...
0
by: Mark Stokes | last post by:
Hi there, I wanted a bit of advice on a program (a prototype) that I am trying to write that uses threads. I will outline what I am attempting to do, and if anyone has any advice on the way I...
1
by: meganrobertson22 | last post by:
Hi Everybody- I am trying to create a Table structure to represent the relationship between Agencies and their Sub-Agencies. There are Agencies and Sub-Agencies. Some Agencies have...
3
by: ChadDiesel | last post by:
Hello everyone. I need some advice on table structure for a new project I've been given. One of our customers sends us an Excel spreadsheet each week containing their order. Currently, someone...
11
by: Mannequin* | last post by:
Hi all, I'm working on a quick program to bring the Bible into memory from a text file. Anyway, I have three questions to ask. First, is my implementation of malloc () correct in the program to...
3
by: Sigmathaar | last post by:
Hi, I'm need some advice about lists and vectors. I'm doing a program who needs to have sequential access of a non ordered unit of objects whose size decreases almost each time the sequence is...
10
by: David Fort | last post by:
Hi, I'm upgrading a VB6 app to VB.net and I'm having a problem with a call to a function provided in a DLL. The function takes the address of a structure which it will fill in with values. I...
5
by: pt | last post by:
Hi, i am wonderng what is faster according to accessing speed to read these data structure from the disk in c/c++ including alignment handling if we access it on little endian system 32 bits...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
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...
0
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,...

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.