Re: [gnome-db] gda_connection_update_meta_store() is slow





2008/12/16 Murray Cumming <murrayc murrayc com>
On Tue, 2008-12-16 at 13:58 +0100, Vivien Malerba wrote:

> Side note: I don't know how Glom is structured, but you could have the
> meta data stored permanently so you'd only have to update the meta
> store when you modify the database's object's definition, which would
> improve performances. You could also update the meta store in a thread
> other than the main one so your UI remains responsive.

Yes, we already store the entire database structure in the .glom file.
But we like to adapt to any unexpected changes, either because someone
has changed the database without Glom (though we don't support that), or
because we have some error in our code.

Ok. Just so you know it exists, you could add your own data to the meta store's internal database (for example you could store the entire .glom file in it as a text field or a blob).

Regards,

Vivien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]