Large applied.image file

Chris Muller asqueaker at gmail.com
Thu Dec 17 15:40:42 UTC 2009


Hi Carlo, the applied.images file can be deleted any time the
repository is not running.

Background information:

This file is used to ensure writes to the db-files occur atomically.
5 seconds after a commit (or series of commits), all changes *about*
to be made to the db files are first written to applied.images and
then flushed.  Then, it knows it can safely begin updating the actual
db files because if, during that time, the db or system crashes with
partially updated db files, it will detect this upon the next reboot
of the database.  It reads the applied.images file, determines that a
partial write occurred and *rolls back* the changes made thus far.

But hmm, that file should not grow and grow like that.  Magma
repositions to the beginning of the file each time.  The only way to
have 3GB in that file would be to have 3GB worth of commits all at
once, which I find very unlikely..

I'm wondering whether there is a bug with repositoining back to the
beginning of the file..?  What type of file-system is this running on?

 - Chris


On Wed, Dec 16, 2009 at 10:29 AM,  <snoobabk at yahoo.ie> wrote:
> Hi
>
> I have a simple monitoring app that is running fine except the applied.image file has grown to about 3GB while the actual amount of data is small +- 50000 records.
> Any idea on how to keep the size under control?
>
> Cheers
> Carlo
> Sent from my BlackBerry® wireless device
>
> -----Original Message-----
> From: magma-request at lists.squeakfoundation.org
> To: <magma at lists.squeakfoundation.org>
> Subject: Magma Digest, Vol 46, Issue 7
>
> Send Magma mailing list submissions to
>        magma at lists.squeakfoundation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.squeakfoundation.org/mailman/listinfo/magma
> or, via email, send a message with subject or body 'help' to
>        magma-request at lists.squeakfoundation.org
>
> You can reach the person managing the list at
>        magma-owner at lists.squeakfoundation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Magma digest..."
>
>
> Today's Topics:
>
>   1. [ANN] MagmaBrowser (Hern?n Morales Durand)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Dec 2009 07:18:33 -0300
> From: Hern?n Morales Durand <hernan.morales at gmail.com>
> Subject: [ANN] MagmaBrowser
> To: magma at lists.squeakfoundation.org,   Pharo Development
>        <pharo-project at lists.gforge.inria.fr>,  The general-purpose Squeak
>        developers list <squeak-dev at lists.squeakfoundation.org>
> Message-ID:
>        <70da5dd20912160218i57e1fac5td34d4c0993c7bd0 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear all,
>  I did a new Browser for the Magma object-oriented database,
> implemented on top of the OmniBrowser framework. I've uploaded a demo
> video in YouTube for the impatient :
> http://www.youtube.com/watch?v=VxUaOFRHFPk
>
> The project Home Page is : http://swikicaicyt.homeip.net/WebOpus/56
> (you may access to other projects using
> http://www.caicyt.gov.ar/letodoc/paquetes-publicados) you will find
> there pre-built images ready for download for both Pharo and Squeak,
> besides installation instructions for installing and testing the
> MagmaBrowser in your image. Currently the status is under testing and
> bug-fixing, and I know there is a lot of things I should include, but
> you may take a look anyway as I browsed local repositories without
> problems last times I've used it, so I hope you may find it useful
> too.
>
> Finally, I want to publicly thank to Norberto Manzanos for letting me
> doing this, Chris Muller for his nice reviews and the OmniBrowser
> developers for mantaining such a great framework.
>
> Hernán
>
>
> ------------------------------
>
> _______________________________________________
> Magma mailing list
> Magma at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/magma
>
>
> End of Magma Digest, Vol 46, Issue 7
> ************************************
>
> _______________________________________________
> Magma mailing list
> Magma at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/magma
>
>


More information about the Magma mailing list