gzip-ing smatdb files

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf gzip-ing smatdb files

  • Creator
    Topic
  • #54992
    Bob Schmid
    Participant

      It “appears” that subsequent to a gzip and gunzip on a smatdb……..the data is not accessible – “gone”  in our attempt to access via the gui.

      This is in test 🙂 …we are beginning to do analysis for storage requirements for smatdb vs. the idx/msg files and gziping after smat cycling.

      also…

      would appreciate how Cloverleaf utilizes the -shm and -wal files?

      when I savecycle…they aren’t there..amd then suddenly…they appear

      Bob

    Viewing 3 reply threads
    • Author
      Replies
      • #83709
        John Mercogliano
        Participant

          The wal and shm files are temporary files the are cleaned up when the database is closed, which happens when you cycle or stop the engine.

          Not sure what you mean by gone.  Is the data gone or you just are not seeing the smatdb files after you cycle them?

          John Mercogliano
          Sentara Healthcare
          Hampton Roads, VA

        • #83710
          Bob Schmid
          Participant

            in the smatdb gui,…I pull the smat data up….

            I then go in and gzip and gunzip the smatdb..and (after refreshing) the gui…I attempt to display the data in the file again…and nothing qualifies

          • #83711
            Michael Hertel
            Participant

              I’m just going to throw this out and see if it sticks….

              Do you have smatdb encryption turned on?

              Are you gunzipping to a directory other than your process directory?

              If so, that may be your issue.

              There is something about the site/processname involved as a key in an encrypted smatdb.

            • #83712
              Craig Weldy
              Participant

                I ran into the same issue with CL 6.1.1.   What I have found is that since I am running with the SMATDB encrypted, and the engine runs as user “hci”, if I try to do anything with the smatdb files as a different user, they are corrupted and can’t be accessed again.   You can’t even move the files to another directory as a different user.

                From what I have seen, it dosn’t help much to gzip the smatdb files anyway, they don’t compress much.  For long term storage I am looking at converting them to the old smat file format and then gzipping them up.

                I have not finished working out this process yet.  For the time being I have created an additional partition on my box with more storage space /smathist and in each of the process directories in the SmatHistory directory (if you have smat history turned on)  I am creating a soft link (AIX os) to /smathist/ and naming it “HISTORY”.  Then any smat files older than 60 days I am moving to HISTORY.  This way when you are in the smatdb tool you can drill down to files in the SmatHistory folder and in there is another filder called HISTORY where you can see everything that is on the additional partition.

                I am currently working on the script that will go through all the process directories and create the link if it dosn’t exist and move the older files to the HISTORY folder/link.

                Craig Weldy
                Senior Interface Analyst
                Beacon Health System
                South Bend, In, 46615

            Viewing 3 reply threads
            • The forum ‘Cloverleaf’ is closed to new topics and replies.