Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)



On 2008-06-27, houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:
Vahis wrote:
So you want to do it often? Why not put it in a crontab. Obviously first
test if there is nothing busy with using the database, like another rpm
or YaST.

I run it occasionally, no need for a cron job.

I have cronjobs that run once a week or once a month.

This "defrags" them and keeps software management running quickly as
new.

This last part I think is odd. I see no reason for this.

After a few months of installing a lot of software and updating them
makes the databases slow down.

After running that script it's like a brand new installation.
Which it the is, as for package management.

There seems to be a point, at least here.

I understand the rpm bit. I do not get the 'defrag' bit by renaming
files.

It's not the renaming that does it.
It's the making new copies of the files.

Renaming is an intermediate step required for copying the files to a new
location with the same names.

Then reading the new copies of the files is faster than the old ones.

I guess that how significant this speed increase is, depends on a lot of
factors. But as I'm always on old slow HW everything counts.

Perhaps somebody else can explain what happens. I asume that is
still on ReiserFS or is that already on EXT3 (or fat16?)

The partition in question is ext3.
As an explanation I'm offering that it gathers the pieces of the files
in a new spot on the disk in one place.

Vahis
--
Training new things here:
http://waxborg.servepics.com
"The only thing more expensive than training is the lack of it"
Henry Ford
.



Relevant Pages

  • Re: Is there any way to force a yum install/update?
    ... This is the best way to install packages that are not yet in the ... repositories - get or make a binary rpm (from source rpm or maybe from ... binaries that were not known about by rpm and yum and built an empty ... When you install a RPM something by yum, it updates the RPM database. ...
    (Fedora)
  • Re: Questions = Thanks
    ... And your attacker has modified the online RPM database to give the new ... Make sure you have recent tripwire backups, ... then bring the machine online. ...
    (Incidents)
  • Re: Back Again
    ... Start with package dependencies and then think about just what ... the presence of a foreign RPM cause such a nervous breakdown? ... database, and imports all of the dependencies into my internal package ... provides those resources, then install the dummy package, so my internal ...
    (Fedora)
  • Re: Yum: Segmentation fault...
    ... rpm --rebuilddb ... My office FC6 rpm database is ... I was repeating advice I had seen many times, ... the Packages file, ...
    (Fedora)
  • Re: Compressing a .mdw file
    ... >> we copy it and compress it using Tools | Database ... >> We decided to compress it by writing a program and using ... >> then renaming the original to x.old and renaming the new ... >Dim jro As JRO.JetEngine ...
    (microsoft.public.access.security)