Arek, Syed and Steffen - Many thanks for your comments and advice.
I now understand the configure.pl issue and will investigate the
exportables problem by looking at your suggested examples.
The Refresh Problem I was referring to was of the data in the Mart
itself, NOT what the Mart consists of structurally. For us, rebuilding
the Mart manually everyday is not a viable option - life is too short,
and my boss would like me to do some other work, I'm sure :-)
What has occurred to me after reading your suggestions, is the fact that
I have captured the SQL generated by MartBuilder as a text file (as well
as invoking MartRunner), when I created our Mart. Therefore it would
seem to me an easy option to take this SQL, amend it to refresh, not
create, all the components in my Mart, by running this amended SQL as a
Cron job, for example. Does this seem like a good course of action to
you? Are there any pitfalls that I need to avoid? (Other than the
usual pitfalls of editing a large set of SQL commands!)
(Also I am aware that the presentational components of any Mart, as
maintained via MartEditor, are stored in the Mart itself, so I would
have to be careful that I didn't remove these in my update SQL script.
I don't know the internal structure of Marts, but can I assume that the
SQL generated by MartBuilder doesn't affect any components that
MartEditor creates/updates?)
Suggestion for future development: it would be great if MartEditor had a
command line alternative, so I could store my presentational XML
somewhere and apply it via a shell script for example. Also, it would
be great if the SQL generated by MartBuilder could be flexible enough to
be re-runnable, thus solving my problem ("Drop Table If Exists....." in
MySQL, for example).
Anyway, thanks for your help once again
Mike Wicks
Arek Kasprzyk wrote:
>
> On 7 Dec 2007, at 11:22, sneumann wrote:
>
>> On Fr, 2007-12-07 at 10:38 +0000, Arek Kasprzyk wrote:
>> ...
>>> If you just mean 'data in the db changes' then as I said
>>> previously you drop your mart and you re-run mart build again (using
>> If you have enough space in your db,
>> you would import into a new mysql database,
>> stop your mart applications, rename new to current
>> and restart. This minimizes downtime.
>
> Hi Steffen,
> yes this is exactly how we do it :)
>
> a.
>
>
>>
>> Yours,
>> Steffen
>>
>> -- IPB Halle AG Massenspektrometrie & Bioinformatik
>> Dr. Steffen Neumann http://www.IPB-Halle.DE
>> Weinberg 3 http://msbi.bic-gh.de
>> 06120 Halle Tel. +49 (0) 345 5582 - 1470
>> +49 (0) 345 5582 - 0
>> sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409
>>
>>
>
>
> -------------------------------------------------------------------------------
>
> Arek Kasprzyk
> EMBL-European Bioinformatics Institute.
> Wellcome Trust Genome Campus, Hinxton,
> Cambridge CB10 1SD, UK.
> Tel: +44-(0)1223-494606
> Fax: +44-(0)1223-494468
> -------------------------------------------------------------------------------
>
>
>
>