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



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.

For instance, it makes it possible to make a new .glom file for an
existing postgres database, though that is a secret feature at the
moment.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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