Which Database for WRC software?
#31
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
>>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
#32
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
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
#33
Scooby Regular
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#34
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]
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]
#35
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
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
#36
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
>>(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
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