in message
Is it possible to defragment registry the way files on a disk are
defragmented? Or, am I totally wrong?
The files for the registry are loaded into memory. It is the memory
copy that gets accessed. Memory is random access media. Doesn't
matter where in memory the data is contained. Getting to one byte in
memory is just as fast as getting to another byte. Also, when the
registry is loaded from the files into memory, there is no
fragmentation in the memory copy because it is a database.
Defragmentation will not removed orphaned entries in the registry.
Defragmentation will not reduce the Windows boot time until you have
something close to 33MB of orphaned entries to account for maybe all
of 1 second during the Windows boot to read the files to load the
registry into memory. Most registry defragmenting results in just a
dozen kilobytes or couple megabytes of whitespace that gets removed.
There will be no performance difference to *load* the registry files
(and absolutely none for the memory copy) for such a tiny change in
size of the .dat files.
Do you feel compelled to perform a possible hazardous operation on
your registry for such tiny gains?