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

    Henry Unger
    Participating Frequently
    Feb 21, 2023 11:33 PM UTC

    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
    ------------------------------

    Why not make the files all DYNAMIC and never again have to worry about such things?



    ------------------------------
    Henry Unger
    President
    Hitech Systems Inc
    Encino CA US
    ------------------------------
    Mark Vander Veen
    Participating Frequently
    Feb 22, 2023 7:29 AM UTC

    Why not make the files all DYNAMIC and never again have to worry about such things?



    ------------------------------
    Henry Unger
    President
    Hitech Systems Inc
    Encino CA US
    ------------------------------

    I use CONCURRENT all the time without any issues.  We're currently running UniVerse 11.3.1 PICK.  In this process I also convert any 32-bit files to 64-bit.  One thing you need to be aware of is that if the file has indices they should be removed 1st and rebuilt after the resize.  The process I wrote does all this for you but since an index rebuild will lock the file the best way to handle those files is during off hours.



    ------------------------------
    Mark Vander Veen
    Project Leader, System Administrator
    University of Chicago Distribution Center
    Chicago IL US
    ------------------------------
    Mark Vander Veen
    Participating Frequently
    Feb 22, 2023 8:07 AM UTC

    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
    ------------------------------

    One more thing I forgot to mention.  If the open files are passed via commons that will cause issues as well (not necessarily a CONCURRENT use issue).  You'll want to make sure that everyone is logged off in that case as well.



    ------------------------------
    Mark Vander Veen
    Project Leader, System Administrator
    University of Chicago Distribution Center
    Chicago IL US
    ------------------------------
    Doug Averch
    Inspiring
    Feb 24, 2023 3:50 PM UTC

    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
    ------------------------------

    I found resizing CONCURRENT even with files open in common not to be a problem with Universe 12.2.



    ------------------------------
    Doug Averch
    Owner
    U2 Logic
    ------------------------------

    Doug Averch Owner https://www.u2logic.com/
    Charles Carpenter
    Participating Frequently
    Mar 3, 2023 8:53 AM UTC

    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
    ------------------------------

    While it's encouraging to hear other users state that they have not had any problem with the CONCURRENT option on the RESIZE command, I'd like to see a response from Rocket.  Are there any outstanding issues with its use?  Are there any situations where you would not recommend it?  At what release level do you endorse its use?



    ------------------------------
    Charles Carpenter
    UV DBA
    Tailored Shared Services LLC
    Houston TX US
    ------------------------------
    John Jenkins
    Participating Frequently
    Mar 5, 2023 9:50 PM UTC

    While it's encouraging to hear other users state that they have not had any problem with the CONCURRENT option on the RESIZE command, I'd like to see a response from Rocket.  Are there any outstanding issues with its use?  Are there any situations where you would not recommend it?  At what release level do you endorse its use?



    ------------------------------
    Charles Carpenter
    UV DBA
    Tailored Shared Services LLC
    Houston TX US
    ------------------------------

    Hope this helps: There are a number of changes and fixes in RESIZE...CONCURRENT in the 11.3.1 and 12.2.1 release notices worth reviewing.

    Regards

    JJ



    ------------------------------
    John Jenkins
    Thame, Oxfordshire
    ------------------------------
    JJ
    Charles Carpenter
    Participating Frequently
    Mar 7, 2023 11:49 AM UTC

    Hope this helps: There are a number of changes and fixes in RESIZE...CONCURRENT in the 11.3.1 and 12.2.1 release notices worth reviewing.

    Regards

    JJ



    ------------------------------
    John Jenkins
    Thame, Oxfordshire
    ------------------------------

    John,

    Your response seemed to be in response to my third question about CONCURRENT RESIZING, but what about the first two??

         Are there any outstanding issues with its use? 

         Are there any situations where you would not recommend it? 

         At what release level do you endorse its use?



    ------------------------------
    Charles Carpenter
    UV DBA
    Tailored Shared Services LLC
    Houston TX US
    ------------------------------
    Steve Murray-Wolf
    Inspiring
    Mar 7, 2023 8:47 PM UTC

    Hope this helps: There are a number of changes and fixes in RESIZE...CONCURRENT in the 11.3.1 and 12.2.1 release notices worth reviewing.

    Regards

    JJ



    ------------------------------
    John Jenkins
    Thame, Oxfordshire
    ------------------------------

    John,

    Unfortunately the release notes don't address resizing hashed files.  I have sifted through the manuals and found that indexes have to be rebuilt when changing a file from 32bit to 64bit so I would assume indexes are safe for a simple modulo change or deleted space reclaim.  Another concern mentioned was potential issues when a file is opened and the file variable stored in common.  Have you run across this issue? 

    Ultimately is comes down to Charles' comment, is it safe to use RESIZE...CONCURRENT on an active system?



    ------------------------------
    Steve Murray-Wolf
    Owner
    Rocket Forum Shared Account
    Firestone CO US
    ------------------------------
    Neil Morris
    Rocketeer
    Mar 8, 2023 9:19 AM UTC

    John,

    Unfortunately the release notes don't address resizing hashed files.  I have sifted through the manuals and found that indexes have to be rebuilt when changing a file from 32bit to 64bit so I would assume indexes are safe for a simple modulo change or deleted space reclaim.  Another concern mentioned was potential issues when a file is opened and the file variable stored in common.  Have you run across this issue? 

    Ultimately is comes down to Charles' comment, is it safe to use RESIZE...CONCURRENT on an active system?



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

    The only reported issue with RESIZE CONCURRENT I am aware of is related to Replication. If RESIZE CONCURRENT is issued on a subscribed file AND the subscribed file is very busy being updated, record locks may be left behind on the subscribed file. These locks would need to be released with the UNLOCK command.

    The reason for recommending indexes be recreated when a file is resized from 32bit to 64bit is size considerations. If the amount of data in the file requires a 64bit file, then the index may also require a 64bit file. This would be true whether or not the CONCURRENT keyword was used.

    The above issue noted when running RESIZE CONCURRENT on the subscriber is being investigated for resolution. The issue can happen 11.3.x systems but is not present on 12.x.



    ------------------------------
    Neil Morris
    Universe Advanced Technical Support
    Rocket Software
    ------------------------------
    Jonathan Smith
    Rocketeer
    Mar 8, 2023 9:38 AM UTC

    The only reported issue with RESIZE CONCURRENT I am aware of is related to Replication. If RESIZE CONCURRENT is issued on a subscribed file AND the subscribed file is very busy being updated, record locks may be left behind on the subscribed file. These locks would need to be released with the UNLOCK command.

    The reason for recommending indexes be recreated when a file is resized from 32bit to 64bit is size considerations. If the amount of data in the file requires a 64bit file, then the index may also require a 64bit file. This would be true whether or not the CONCURRENT keyword was used.

    The above issue noted when running RESIZE CONCURRENT on the subscriber is being investigated for resolution. The issue can happen 11.3.x systems but is not present on 12.x.



    ------------------------------
    Neil Morris
    Universe Advanced Technical Support
    Rocket Software
    ------------------------------

    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
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS