Skip to main content
Steve Murray-Wolf
Inspiring
Feb 21, 2023 8:28 PM UTC

RESIZE using CONCURRENT

I have a client that runs a 24/7 application on UniVerse (11.3.2).  They are conscientious about keeping their files well sized.  Several years ago they tried the CONCURRENT option on RESIZE and got badly burned when they ended up with corrupted files and lost data.  They have been very gun shy about using CONCURRENT since then.  Has anyone resized UniVerse files with the CONCURRENT option recently?  Is it stable now or is it still a crap shoot on the end result?  If you use it, what is the performance impact?



------------------------------
Steve Murray-Wolf
Owner
Rocket Forum Shared Account
Firestone CO US
------------------------------

    15 replies

    DEAN ARMBRUSTER
    Participating Frequently
    Mar 9, 2023 11:49 AM UTC

    For the UniData customers reading this thread.

    There are no concerns about using RESIZE CONCURRENT on UniData.

    Also if you change the bit type with RESIZE on UniData, the associated index if present is also changed to the new bit type.

    To make with the use of RESIZE and RESIZE CONCURRENT a log file called resize.log in the bin directory that logs the start and end of a resize. The idea being that should the worst happen during a resize and the system does down, you can use the resize.log file to see which files may need attention.

    Final note on RESIZE for UniData, if you are looking to resize dynamic files or resize to dynamic files do not use memresize, for more details refer to the knowledge base article on understanding dymanic files and the limits of memresize that I wrote.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    We use RESIZE CONCURRENT, but sparingly.   We had a few issues with it when we first started using it, but that was on an older version.  We're on UniData 7.3.7 now, but old habits die hard.  We're moving to 8.2.4 soon, so we'll probably give CONCURRENT another serious look then.  I imagine that the problems we had initially have been addressed by now.

    To avoid problems with CONCURRENT, we've followed these rules when resizing static hashed files:

    1. Don't use it on really busy files.
    2. Don't change the block size.
    3. Don't make the modulo smaller.

    We also don't use it on dynamic files, but only because our dynamic files are quite lumpy, which makes the resize immediately start splitting the file and we want to avoid that.

    Note:  We're on HPUX Itanium.  A move to Linux is also in our future, after we move to 8.2.4.



    ------------------------------
    Dean Armbruster
    Developer V
    Ferguson Enterprises
    VA [Country}
    ------------------------------
    Jonathan Smith
    Rocketeer
    Mar 9, 2023 12:07 PM UTC

    We use RESIZE CONCURRENT, but sparingly.   We had a few issues with it when we first started using it, but that was on an older version.  We're on UniData 7.3.7 now, but old habits die hard.  We're moving to 8.2.4 soon, so we'll probably give CONCURRENT another serious look then.  I imagine that the problems we had initially have been addressed by now.

    To avoid problems with CONCURRENT, we've followed these rules when resizing static hashed files:

    1. Don't use it on really busy files.
    2. Don't change the block size.
    3. Don't make the modulo smaller.

    We also don't use it on dynamic files, but only because our dynamic files are quite lumpy, which makes the resize immediately start splitting the file and we want to avoid that.

    Note:  We're on HPUX Itanium.  A move to Linux is also in our future, after we move to 8.2.4.



    ------------------------------
    Dean Armbruster
    Developer V
    Ferguson Enterprises
    VA [Country}
    ------------------------------

    @Dean Armbruster when you move to 8.2.4 you need to read up on the new dynamic split type called WHOLEFILE, the reason it was introduced was to avoid the split problem that KEYONLY and KEYDATA have. I've written some technotes about this and have several presentations on the subject. I think I mentioned one earlier in this thread about understanding how dynamic files work and the limitations of memresize.

    If anyone else wants that information, reply to this message in the forum and and I'll look at getting it shared in this forum in some shape.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    DEAN ARMBRUSTER
    Participating Frequently
    Mar 9, 2023 12:47 PM UTC

    @Dean Armbruster when you move to 8.2.4 you need to read up on the new dynamic split type called WHOLEFILE, the reason it was introduced was to avoid the split problem that KEYONLY and KEYDATA have. I've written some technotes about this and have several presentations on the subject. I think I mentioned one earlier in this thread about understanding how dynamic files work and the limitations of memresize.

    If anyone else wants that information, reply to this message in the forum and and I'll look at getting it shared in this forum in some shape.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    We will definitely be looking at WHOLEFILE use, as well as file type 3 and 64-bit files when we move to 8.2.4.



    ------------------------------
    Dean Armbruster
    Developer V
    Ferguson Enterprises
    VA [Country}
    ------------------------------
    New Participant
    Oct 4, 2023 11:53 AM UTC

    @Dean Armbruster when you move to 8.2.4 you need to read up on the new dynamic split type called WHOLEFILE, the reason it was introduced was to avoid the split problem that KEYONLY and KEYDATA have. I've written some technotes about this and have several presentations on the subject. I think I mentioned one earlier in this thread about understanding how dynamic files work and the limitations of memresize.

    If anyone else wants that information, reply to this message in the forum and and I'll look at getting it shared in this forum in some shape.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    Hi Jonathan,

    I want the information about WHOLEFILE. Can you please share it here or email me?

    Regards,

    Milind 



    ------------------------------
    Milind Patil
    Engineer
    FIS Capital Markets UK Limited
    Godalming GB
    ------------------------------
    Jonathan Smith
    Rocketeer
    Oct 4, 2023 12:27 PM UTC

    Hi Jonathan,

    I want the information about WHOLEFILE. Can you please share it here or email me?

    Regards,

    Milind 



    ------------------------------
    Milind Patil
    Engineer
    FIS Capital Markets UK Limited
    Godalming GB
    ------------------------------

    Milind,

    I actually emailed a link to the technote on this to your Pete Waters today. You can find the article in the knowledge base.

    https://my.rocketsoftware.com/RocketCommunity/s/article/How-does-a-UniData-Dynamic-File-work-and-understanding-the-limitations-of-memresize-v-RESIZE



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS