Registry Defragmenter

This is out of curiosity, but I saw several (and some of them very popular) programs called registry defragmentation. Although I see what benefits they offer, I’m very curious how exactly you do registry defragmentation? Please note that I am not asking for the name of the software, just a basic description of how this is done programmatically. I understand that there is a disk defragmenter from Microsoft. Is that what they use? Or is there a registry defrag api?

+3
source share
3 answers

While disk defragmentation would be useful, a more important advantage of the speed that could be obtained would be the creation of registry nodes so that a typical depth search would place nodes with sequential access on the same registry page.

I do not know any API for this. An algorithm is a simple reordering and rewriting operation, difficult when working with simultaneous Windows access.

+2
source

I suspect that they simply defragment the files used to store registry data. Because registry files open during normal Windows normal operation, the β€œnormal” file defrag tool will not even touch them.

0
source

. .

: RegSaveKey RegReplaceKey, Windows.


? , API Windows Reg* . , . .

, . . . , , , , , .

0
source

Source: https://habr.com/ru/post/1768311/


All Articles