[NEW] Valentina 2.0.5 adds Vdatabase.Clone().

Damon Pillinger daisychain at iinet.net.au
Fri Jul 15 10:28:37 CDT 2005


HI Ruslan,
Will this be available for RB as well, as it sounds great.
Thanks

Best Regards

Damon L. Pillinger
Jensen 2005 by Daisychain
www.daisychain.no-ip.biz
Phone : 03 9532 1220
Fax : 03 9532 1280


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan
Zasukhin
Sent: Thursday, 14 July 2005 8:12 PM
To: valentina at lists.macserve.net;
vdevelopers at paradigma.ukrcom.kherson.ua;
valentina-studio at lists.macserve.net
Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone().

Hi All,

* Please test this new feature against of your databases and let us
know.
* You can do this easy using example Api_way/Database_Clone.

This is very nice feature, and it can be used to solve several tasks:

1) this can be used to do REPAIR of damaged database.
    
    Up to know we have use for this XML dump, but Clone() will be much
faster way, because XML can be e.g. 1GB for 200MB database. When you use
Clone() you will need only another 200MB to build new database. Clone()
do
binary copying of record values without conversion into text.


2) Clone() have all the same side-effects of dump/load:
    
    - all deleted records are ignored.
    - all values of ObjectPtr fields and BinaryLinks are corrected
        (because deleted records was ignored).

    So cloned database in general case will be as compact as possible
    for your actual data.

    This is good if you prepare database to be located on CD.
    

3) Clone() can be used also to change some parameters of Database which
you
cannot change runtime. For example:
    db.mode, db.segmentSize, Byte swapping, ...


4) If you use db.Mode = 1, i.e. You keep your database in the single
file,
Then up to now you did not have a way to easy to make a new fresh db
with
the same structure. Now you can do this.

Jochen, this feature "Clone..." should be added into menu File of
Valentina
Studio Application. It needs show dialog with some options.



TODO:

** it is possible add Log file produced by Clone() where it will write
down
info about any found corrupted records/values. So user can see what
records
was not able to repair.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list