Search found 249 matches: locking

Return to advanced search

Re: ADO RDD xHarbour

... size Average table size (nr of rows) Biggest table size (nr of rows) Lan and / or Wan Nr of users Concurrent use (new additions by others) and locking Does app use ? Relations Scopes Filters Indexes with UDFs Locks Transactions do you use ado or sql directly through for example adofuncs.prg ...
by AHF
Mon Nov 02, 2015 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: ADO and Lock

James,

With adordd with SET ADO FORCE LOCK ON no other user or other app (using clipper compatible locking) can alter the table lock or exclusive or record locked hold by you.

With this set ON the FILE LOCK, RECORD LOCK, EXCLUSIVE USE are guaranteed.
by AHF
Wed Aug 26, 2015 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and Lock
Replies: 27
Views: 6964

Re: Cryptowall or similar

... before staff got in til just before the server backup started in the evening. That task went through and opened every .dbf I had effectively locking out anyone using the FoxPro interpreter from making any ( back door ) changes to my files, but it would still allow staff to use FoxPro to make ...
by Rick Lipkin
Tue Aug 25, 2015 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cryptowall or similar
Replies: 5
Views: 1096

Re: ADO and Lock

... that I use with DBFs. Since we can use both SQL tables and DBFs in the same app, I am thinking I can continue to use the same DBF which allows locking and thus is a simple solution. I also have a database class that has auto-incrementing using the above table, so I can solve the SQL auto-increment ...
by James Bott
Tue Aug 25, 2015 3:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and Lock
Replies: 27
Views: 6964

Re: ADO RDD xHarbour

... locks record by record. It would seem proper to COPY TO exclusively. With the APPEND FROM, possibly there could be a programming option to set the locking interval; x records or all records. Like I mentioned in a previous post, my calculations were that it would take about 12 hours to append a ...
by James Bott
Fri Aug 07, 2015 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: ADO RDD xHarbour

... TO method but it still took 16 minutes and 42 seconds. So, it is not significantly faster that APPEND FROM. I think the speed issue has to do with locking. One reason is that I found that you have to force locking on or the APPEND FROM will crash at some point (unless maybe there are only a very ...
by James Bott
Mon Aug 03, 2015 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: ADO RDD xHarbour

OK, it's not the manifest constant, it seems to be line 117 of TRYADORDD.PRG //CONTROL LOCKING IN ADORDD FOR BOTH TABLE AND RECORD DONT PUT FINAL "\" SET ADO LOCK CONTROL SHAREPATH TO "D:\WHATEVER" RDD TO "DBFCDX" I changed the "D:\WHATEVER" ...
by James Bott
Tue Jun 30, 2015 10:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: testads.prg

... lock. When you request a lock ADORDD seeks the tablename+record you are using in SQL and if it finds it tries to lock it if not append a new one locking it. Since the locking its done by the rdd if station goes down the lock will be released. You can even delete the file exiting your app to avoid ...
by AHF
Fri Jun 19, 2015 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: testads.prg
Replies: 9
Views: 1812

Re: ADORDD Error : ADODEFAULT(5256)

Thanks Lucas, I have set LOCK OFF as your recommendation. It works now. Hello, Please set SET ADO FORCE LOCK OFF. So MySQL will do the locking.   SET ADO DEFAULT RECNO FIELD TO "HBRECNO"  SET AUTOPEN OFF //ON //might be OFF if you wish  //SET AUTORDER TO 1 // first index opened ...
by dutch
Tue Jun 16, 2015 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD Error : ADODEFAULT(5256)
Replies: 21
Views: 3957

Re: ADORDD Error : ADODEFAULT(5256)

Hello, Please set SET ADO FORCE LOCK OFF. So MySQL will do the locking. This feature was a special situation for Antonio´s customer. So, the settings will be:   SET ADO DEFAULT RECNO FIELD TO "HBRECNO"  SET AUTOPEN OFF //ON //might be ...
by lucasdebeltran
Tue Jun 16, 2015 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD Error : ADODEFAULT(5256)
Replies: 21
Views: 3957

Re: ADORDD Error : ADODEFAULT(5256)

... SERVER TO "localhost"  ENGINE TO "MYSQL" USER TO "adordd" PASSWORD TO ""   //control locking in adordd for both table and record dont puT final \  SET ADO LOCK CONTROL SHAREPATH TO  "D:\WHATEVER" RDD TO "DBFCDX"//dont ...
by AHF
Tue Jun 16, 2015 6:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD Error : ADODEFAULT(5256)
Replies: 21
Views: 3957

Re: ADO RDD xHarbour

... with the actual application with ADS and passed all trials. This app with adordd its now being tested intensive on concurrent access to check locking scheme and exclusive use. Will report results end next week. With adordd you can migrate immediately to any SQL server although all the trials ...
by AHF
Fri Jun 12, 2015 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: 2012 server

... with the actual application with ADS and passed all trials. This app with adordd its now being tested intensively on concurrent access to check locking scheme and exclusive use. Will report results end next week. Lucas DeBeltran helped a lot with his trials on his app and with his ideas. Antonio ...
by AHF
Fri Jun 12, 2015 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2012 server
Replies: 24
Views: 6003

Re: 2012 server

David I decided several years ago to migrate all my .dbf's to either Ms Access (.mdb) or MS Sql Server using Ado. All opportunistic locking issues, SMB problems and network slowness Immediately Stopped, Vanished. To Me it was simpler to migrate my back end to SQL than to have to deal with ...
by Rick Lipkin
Thu Jun 11, 2015 8:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2012 server
Replies: 24
Views: 6003

Re: ADO RDD xHarbour

... records in the several tables and replace values Lets say a another user add a line to an order before its locked. When I initiate transaction locking the order that new record does not exist in my set yet. Thus will not be taken in account in my transaction. Dont you think this is a potential ...
by AHF
Sat May 09, 2015 5:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256
PreviousNext

Return to advanced search