Mailinglist Archive: opensuse-factory (822 mails)
| < Previous | Next > |
Re: [opensuse-factory] Optimizing the package manager
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Fri, 28 Sep 2007 18:01:41 +0200
- Message-id: <200709281801.42254.dmacvicar@xxxxxxx>
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: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
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: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |