Re: [gnome-db] meta store.
- From: Murray Cumming <murrayc murrayc com>
- To: bas driessen xobas com
- Cc: GNOME-DB List <gnome-db-list gnome org>
- Subject: Re: [gnome-db] meta store.
- Date: Fri, 17 Jul 2009 13:35:35 +0200
On Fri, 2009-07-17 at 21:26 +1000, Bas Driessen wrote:
> Hello,
>
> Question regarding meta store. There is a function to update the meta
> store as follows:
>
> gda_connection_update_meta_store
>
> When I run this, it waits about 10 seconds or so,
It was slow for Glom too, so we found a way to optimize it:
http://bugzilla.gnome.org/show_bug.cgi?id=575235#c9
I still don't understand how the optimization works, but at least we
have actual code to do it:
http://git.gnome.org/cgit/libgdamm/tree/libgda/src/connection.ccg#n367
and here you can see the "public" (PostgreSQL) and "main" schema_name
strings that we used:
http://git.gnome.org/cgit/glom/commit/?id=087d27f48f080a3609142514ed5bf54ff0472ff2
> so I assume it is building the meta store. However, when it is
> finished, I don't see any output. I would expect files to show up in
> etc/libgda-4.0, but nothing is added there. Is there meant to be any
> output?
>
> Also if this generates a structure in memory only, does that mean that
> I have to call this function every time when I start my application?
>
> My understanding was, that the meta store was written to an XML file
> and that the libgda would reference that. Only when a table layout has
> changed, you would run the gda_connection_update_meta_store function
> to update the XML files.
>
> Anyone who can shed some light on this?
>
> Thank you,
> Bas.
>
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]