On Friday 28 September 2007 15:40:18 Jonathan D. Arnold / Daemon Dancing
wrote:
> You could just ask whenever the YaST package manage UI comes up. Run some
> metric that checks the size and/or condition of the zypper database and if
> it is "too big", put up a dialog box that says "The Package Database needs
> to be optimize. Do it now? Warning - this could take some time to
> complete."
Actually, since 3.3.13, sqlite has support for this:
2007 February 13 (3.3.13)
* Add a "fragmentation" measurement in the output of sqlite3_analyzer.
So I guess we can use this metric and then we don't need to record the last
vacuum.
--
Duncan Mac-Vicar Prett
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]