Search found 84 matches: buffers

Return to advanced search

Re: DBF . Commit

... 3. DBCOMMIT() writes all local modifications in table and index files then it sends to system or file server request to flush (write) its disk buffers to physical device (HARD COMMIT). It's out of application control what OS (or FS) do with such request. The locking and buffer flushing in Clipper ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

... if exist) Just for information to all: COMMIT executes the WinAPI function FlushFileBuffers( handle ) thereby ensuring that all the data in the buffers are physically written to the disk. This is executed for dbf, fpt/dbt and all cdx/ntx/idx file handles. This API function also updates the files' ...
by nageswaragunupudi
Mon Oct 23, 2023 4:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

... buffer. In fact, each alias in the same application and each application on the same PC. Unless the contents of the buffer are written to the disk buffers of the OS, other client PC buffers can not be refreshed. So we are clear that simple Unlock is flushing data and index buffers to the disk buffers ...
by nageswaragunupudi
Sun Oct 22, 2023 2:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

... values are updated and displays with time. Please also note that the OrdKeyNo() also is displayed. Changes in this value indicate that all index buffers are also flushed and visible to the other users on the network. 1) Build and run the "writer.prg" on one of the client PC or Server. ...
by nageswaragunupudi
Sun Oct 22, 2023 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

... drive cache. Yes. But the documentation says it "hardwrites", same way like "commit". In any case, (x)Harbour can flush its buffers to the OS buffers and but I doubt if (x)Harbour has an control over when the OS physically writes to the disk. But we can normally trust the ...
by nageswaragunupudi
Sun Oct 22, 2023 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

" COMMIT Perform a solid-disk write for all active work areas Syntax: COMMIT Description: COMMIT is a database command that flushes Harbour buffers and performs a solid-disk write for all work areas with open database and index files. The solid-disk write capability is available under DOS ...
by karinha
Fri Oct 20, 2023 5:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

Otto wrote:I mean, assuming the system doesn't crash. Do you really have to make a commit for another user to see a change?


No, as far as I know. It is the network system responsibility to handle those situations with the system buffers.
by Enrico Maria Giordano
Fri Oct 20, 2023 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: DBF . Commit

Goto Recno() works the same .. physically moves the record pointer back to itself thereby flushing and writing the buffers

Rick Lipkin
by Rick Lipkin
Fri Oct 20, 2023 3:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2333

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

... editing a record in a .dbf .. a simple Goto Recno() is just as good as dbCommit() .. because you are moving the record pointer which flushes the buffers ... Rick Lipkin Sorry. I do not agree. https://vivaclipper.wordpress.com/2014/01/17/dbcommit/ https://vivaclipper.wordpress.com/2014/03/15/hb_frecno/ ...
by karinha
Fri Apr 30, 2021 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5717

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

To All

I still contend that when when you finish adding or editing a record in a .dbf .. a simple Goto Recno() is just as good as dbCommit() .. because you are moving the record pointer which flushes the buffers ...

Rick Lipkin
by Rick Lipkin
Fri Apr 30, 2021 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5717

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

... dbCommit() make two things: 1. write application memory buffers to file. 2. send to OS request to flush disk buffers releated to open file. The 1-st action is executed also by any other rdd operation which ...
by Antonio Linares
Fri Apr 30, 2021 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5717

New FTDN April/Abril 2020 (FWH 20.04)

... - It is noticed that libharu.lib along with the present png.lig of (x)Harbour is unable to read some png files/buffers. Temporarily, fwpdf.prg is modified. Now png images are first read by FWH using itw own functions, bypassing the libharu native functions and ...
by Antonio Linares
Sun May 03, 2020 12:41 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2020 (FWH 20.04)
Replies: 1
Views: 2194

Re: Mr. Nages please: HARU PDF Bugs/Extensions

It is noticed that libharu.lib along with the present png.lig of (x)Harbour is unable to read some png files/buffers. Temporarily, we modified the fwpdf.prg. Now png images are first read by FWH own functions, bypassing the libharu native functions and then create pdf images ...
by nageswaragunupudi
Sat Mar 07, 2020 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 5562

Re: Mr. Nages please: HARU PDF Bugs/Extensions

... imaging functionality that is not possible with the in-built functions of libharu. Libharu has inbuilt functions for png and jpg files/image buffers. In addition, it has one function to read images from memory formtted in its proprietory format. HPDF_LoadPngImageFromFileHPDF_LoadJpegImageFromFileHPDF_LoadPngImageFromMemHPDF_LoadJpegImageFromMemHPDF_LoadRawImageFromMem  ...
by nageswaragunupudi
Fri Mar 06, 2020 5:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 5562

Re: To James Bott - Error Using TData

... is created. It is called with the nID to position the record, the data is changed, and saved. Of course, since tData holds the field values in buffers they all would want to be written back, and if a field is locked, that woulde be a problem. The value of tData is that is a class that INHERITS ...
by TimStone
Tue May 28, 2019 6:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5122
Next

Return to advanced search