OE 11.3.2 Binary Dump File Names

Posted by Paul Koufalis on 08-May-2014 08:54

Can anyone provide an explanation?

Yesterday I did a binary dump with OE 11.3.2 and the files were named table.bd*, as expected.  Today, I am repeating the same multi-threaded binary dump and the files are named table.b[1-n].bd.

The only difference between yesterday and today is an idxbuild of the primary index on the tables in question.  The idxbuild command was literally cut-and-paste from a text file so the params are identical.

For the curious, the syntax used:

_proutil $DB -C dump $TABLE $DUMPDIR -thread 1 -threadnum 8

 

All Replies

Posted by kunal.watkar on 08-May-2014 09:07

Hi Paul,

I have not worked on OE 11.3.2. But by any chance are you taking the dump of tables in the same directory where you have taken dump before index-rebuild?

Posted by Paul Koufalis on 08-May-2014 09:10

yes.  But in the past the old binary dump files were simply over-written.  It would be very surprising if the binary dump function completely changed the naming convention of the bindump files just because files already exist.

Posted by kunal.watkar on 08-May-2014 09:16

Ok. I am not sure, but in new OE, multi-threaded dump might be considering existing file as the dump file being created by another thread, and so just creating new files instead of overwriting the existing file.

This is just a guess.

Posted by Paul Koufalis on 08-May-2014 10:15

SOLVED

The binary dump utility renames the files when it finishes.

This thread is closed