Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 13 total
Thread RecordHash no longer available in ElevateDB
Sun, Mar 11 2007 7:06 PMPermanent Link

"Fons Neelen"
Hi Tim,

From the manual:

"RecordHash - This property is no longer necessary. ElevateDB does not
use record hashes."

May I ask why this is no longer available in ElevateDB?

Best regards,
Fons Neelen

--
Mon, Mar 12 2007 5:05 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Fons,

<< May I ask why this is no longer available in ElevateDB? >>

Because it isn't necessary anymore.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Mar 12 2007 6:40 PMPermanent Link

"Fons Neelen"
Hi Tim,

> Because it isn't necessary anymore.

Can you elaborate on this? Has it been replaced by something?

Thanks,
Fons


--
Tue, Mar 13 2007 6:09 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Fons,

<< Has it been replaced by something?  >>

Yes, a simple update counter.  DBISAM used the hash value to determine
whether a row had changed, and EDB simply uses an update counter.  The
update counter is more efficient and can track BLOB column changes also,
which DBISAM could not do with the hash value.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Jan 15 2008 7:54 AMPermanent Link

Tomas
Tim, could you write code how to access "update counter" for selected record?

I am trying to move our application from DBISAM to ElevateDB and I need to update DBISAMQuery.RecordHash
Tue, Jan 15 2008 3:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Tomas,

<< Tim, could you write code how to access "update counter" for selected
record? >>

The update counter is not accessible from outside of the internal ElevateDB
engine.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 16 2008 3:33 AMPermanent Link

Tomas
Now I am not sure how to track record changes, in DBISAM 4.x I have used code below
to find out record changes. How to do this in ElevateDB?

if AOldRecordHash <> qDocument.RecordHash then <Record Updated>
Wed, Jan 16 2008 1:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Tomas,

<< Now I am not sure how to track record changes, in DBISAM 4.x I have used
code below to find out record changes. How to do this in ElevateDB? >>

You'll have to track changes via your own method, such as a column for
holding the last update date/time stamp.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 16 2008 1:29 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim
There was a thread awhile back about calculating record hashes so they could add the hash field in, naminging whatever it is in DBISAM, calculate in a before post trigger and keep on as they are.

That would make a nice little enhancement to make for ElevateDB - calculate record hash.

Roy Lambert
Wed, Jan 16 2008 1:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< That would make a nice little enhancement to make for ElevateDB -
calculate record hash. >>

Actually no, it wouldn't. Smiley The record hashes in DBISAM were problematic
in that they didn't include the BLOB data.  ElevateDB doesn't have this
issue *because* it doesn't use record hashes.

--
Tim Young
Elevate Software
www.elevatesoft.com

Page 1 of 2Next Page »
Jump to Page:  1 2
Image