Although I've rarely use Alpha products nowadays, I do enjoy reading the monthly newsletters to see what's going on.
I need to comment on Cal Locklin's article on Turning Off Opportunistic Locking.
If you go back about four years, you will see that I've posted this same topic on the newsgroup.
Turning off Opportunistic is not a good idea, in fact, it's like cutting off the arm because your finger hurts. By turning off opportunistic locking your server is running at a disadvantage, all programs written that supports the Windows logo will be seriously reduced in performance. This is also true not only for programs which are administered by the server but by any clients which are constantly making request to the same server.
The problem here is the old database format that is still being used by Alpha, glad to see this will change in version 6. It just doesn't support cache edits or insert updates.
The Borland database engine, which by the way it's FREE, also uses DBase and Paradox as a native format, however this problem does not exist within the Borland database engine using the same DBase format.
Why? You may be asking.
Because you have the ability after a record post to issue the following command:
procedure TForm1.Table1AfterPost(DataSet: TDataset);
begin
DbiSaveChanges(Table1.Handle);
end;
This will force a Flushing of the caches, your indexes will always be up-to-date and extremely stable.
The good news is if Alpha version 6 lives up to all the hype, you can substitute the existing codebase DBase backend with the Borland database engine backend (FREE) , still keeping your application in a Dbase format without all the index problems, because you can issue the above command after record post in Alpha. Of course this is if version 6 lives up to all the hype.
A better solution TODAY, if for the developers at Alpha to create a function in Alpha the flushes the caches on any record update. This way you can do the same thing that people using the Borland database engine with DBase have been doing for the last 6 years. You guys need to put the pressure to get this done.
One last thing about turning off opportunistic locking (again not recommend). It needs to be turned off at the server and every single client, all you need is one computer running opportunistic locking on - for this to fail.
Very glad to see that Alpha might have a chance to compete with the big boys. Sinces other Alpha users are now entering problems that I've encountered many years ago especially with client-server I will be more than happy to advise you with proven solutions.
Still around,
RF-ARS-Motorola
I need to comment on Cal Locklin's article on Turning Off Opportunistic Locking.
If you go back about four years, you will see that I've posted this same topic on the newsgroup.
Turning off Opportunistic is not a good idea, in fact, it's like cutting off the arm because your finger hurts. By turning off opportunistic locking your server is running at a disadvantage, all programs written that supports the Windows logo will be seriously reduced in performance. This is also true not only for programs which are administered by the server but by any clients which are constantly making request to the same server.
The problem here is the old database format that is still being used by Alpha, glad to see this will change in version 6. It just doesn't support cache edits or insert updates.
The Borland database engine, which by the way it's FREE, also uses DBase and Paradox as a native format, however this problem does not exist within the Borland database engine using the same DBase format.
Why? You may be asking.
Because you have the ability after a record post to issue the following command:
procedure TForm1.Table1AfterPost(DataSet: TDataset);
begin
DbiSaveChanges(Table1.Handle);
end;
This will force a Flushing of the caches, your indexes will always be up-to-date and extremely stable.
The good news is if Alpha version 6 lives up to all the hype, you can substitute the existing codebase DBase backend with the Borland database engine backend (FREE) , still keeping your application in a Dbase format without all the index problems, because you can issue the above command after record post in Alpha. Of course this is if version 6 lives up to all the hype.
A better solution TODAY, if for the developers at Alpha to create a function in Alpha the flushes the caches on any record update. This way you can do the same thing that people using the Borland database engine with DBase have been doing for the last 6 years. You guys need to put the pressure to get this done.
One last thing about turning off opportunistic locking (again not recommend). It needs to be turned off at the server and every single client, all you need is one computer running opportunistic locking on - for this to fail.
Very glad to see that Alpha might have a chance to compete with the big boys. Sinces other Alpha users are now entering problems that I've encountered many years ago especially with client-server I will be more than happy to advise you with proven solutions.
Still around,
RF-ARS-Motorola
Comment