Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Which Database for WRC software?

Thread Tools
 
Search this Thread
 
Old 30 August 2002, 08:46 AM
  #31  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Post

Simon,

>>There is lots of stuff that we need to do with each update
>>(prior to each update in fact) that cannot be done by a database

Can you give us an example? That sounds unlikely, you can do virtually anything in TransactSQL via stored proc's.

Cheers

Gary
Old 30 August 2002, 09:00 AM
  #32  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Post

ok...

Thanks for all the replies.. we could spend hours and hours discussing this though, just trust me that we don't need the databases to synchronise.

(I'm going to explain this bit, but even if there is an answer to this specific bit, there are still countless reasons why it is a) better and b) more possible to do all of this through software.)

One of the reasons is that the data is not reverse engineerable.

You could end up with a record in the penalty table, a changed record in the controltime table, a deleted stage time a change to the cumulative lateness table and an exception report all at once.

These could be generated by a single control time, or by the manual removal of a single stage time. Or by the manual entry of a penalty, or countless other means.

The problem is that we need to trap the actual cause of the change, not the final change, as the clients need to be updated with specific live business rule generated information.

All the best

Simon
Old 30 August 2002, 10:29 AM
  #33  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
Post

Si,

I actually think you should use a clipboard, some paper, a couple of pencils and a stopwatch. Much safer that way and a lot cheaper

Let us know how you get on.

Cheers

Ian
Old 30 August 2002, 11:40 AM
  #34  
Andrewza
Scooby Regular
 
Andrewza's Avatar
 
Join Date: Jan 2002
Posts: 667
Likes: 0
Received 0 Likes on 0 Posts
Question

Surely you should be recording penalties in the database and not just updating records to show the effect of a penalty? Then each client just reads the database and uses the penalties stored in the databaseand applies them to the results itself to give a full picture. This might mean a client has to do more work when reading from the database, but it's much simpler and less likely to result in loss of a penalty or corruption

Oops, forgot to add of course this means you can just have the database then handle synchronisation at their level and not worry about the application doing it

[Edited by Andrewza - 8/30/2002 11:41:25 AM]
Old 30 August 2002, 01:29 PM
  #35  
Crispin
Scooby Regular
 
Crispin's Avatar
 
Join Date: Jan 2001
Posts: 534
Likes: 0
Received 0 Likes on 0 Posts
Post

Andrew's right - you'll have no "audit trail" of penalties incurred by driver/stage either if you just lop them off the end time....

re MySQL vs SQL Server, no overkill at all IMHO, also the cost of ownership for SQL Server vs Oracle is a lot lower

hth
Old 30 August 2002, 02:12 PM
  #36  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Post

Simon,

>>(I'm going to explain this bit, but even if there is an answer to this specific bit, there are still countless reasons why it is a) better and b) more possible to do all of this through software.)

If scalabilty and reliability is your main concern then putting business logic in the presentation layer (UI) is the worst move you can make, all of what you said is doable if like other people have mentioned you just create an audit trail, dont *physically* delete records just create datetime columns with create/update/delete dates, just a suggestion you are closest to the data so know it more intimately than anyone else here.

Good Luck

Gary
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
BlkKnight
Non Scooby Related
104
01 October 2015 09:40 PM
Iqy7861
Insurance
5
01 October 2015 07:57 PM
Wurzel
Computer & Technology Related
10
28 September 2015 12:28 PM



Quick Reply: Which Database for WRC software?



All times are GMT +1. The time now is 11:40 PM.