Disadvantages of Windows Registry
Author: Hookson Email: Hookson@sohu.com
In Microsoft's Windows, the configuration of the system and applications uses a registry database, which brings great trouble to some other users while bringing a lot of flexibility to the system. Description this.
1. During the Windows startup process, the system needs to read a large number of registry data, which are valued in the form of a string, we know that the sub-key level of the registry is very deep, and every time there is Large time overhead. Plus those lengths of string comparison operations have greatly affected the performance of the system. The most obvious effect is that the system start speed is slow, and WindowsXP starts more than Windows9x is more important because reading the registry data is increased. On the machine, it is difficult to endure on the machine. I have a suggestion for Microsoft in the startup. It is to start every time I started the system. I don't have to initialize what. What is the operation environment, which is more in most cases, in fact, our system is stable Our hardware and software do not change, in which case the system is started to start the status of the last left system is on the memory (including virtual memory) in memory (including virtual memory), under memory. When you start, just put the dump's files in dump to memory, you can, you don't have to leave the system every time you leave the system, as long as you have a good DUMP result, so that the system The speed started will be greatly accelerated. When we need to make some changes to the system, we will tell the system, let it start in classic startup (temporarily let me call the current start mode). Time is very precious, if everyone can save a minute every day, there are more than 10,000 people in the day, which is visible!
2. Some malicious programs can arbitrarily modify the registry, causing the system to be unbelievable or even cause the system to crash, bringing unpleasant or even big losses to users, most Trojans are relying on the registration to modify specific The key value is comparable. In
HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion / RUN
HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion /
RunServices
In the automatic start; in HKEY_CLASSES_ROOT /
3. All configuration information of the system is placed in a database that causes unsafeness, and some data problems may result in overall crash. If a disk sector error results in a problem of root key, all sub-keys under this key are not available, although this situation rarely occurs, but the possibility is completely existing, once the result is very serious.
4. The benefits of the registry are not reflected in the ordinary users. Since the registry data is puzzled, ordinary users' characteristics of the Windows system understand the skin, and generally feel a little mysterious about the registry, they don't dare to edit them. At the same time, the system is provided to the user to configure the application has not fully utilized the power of the registry. Therefore, the existence of technology does not have practicality, so that it does not bring benefits to users while wasting system overhead.
5. A unnecessary trouble of moving and copying the program. The usual procedures will register their own configuration in the registry, leaving these configurations, will cause the program to operate normally. So the folder path where the program is located will change the program error. There is a more serious problem when copying the program from a machine to another machine. In many cases we need to do this, but this life of the registry stops us, so we have to reinstall, waste valuable time and energy. Sometimes I have suffered from the installer, it is really awkward. If you handle the registry key, that one is that you should modify those, the other is that there are many registration items in many programs, and it is impossible to change. (Corresponding countermeasure) to be renewed ...
Monday, July 23, 2001
@ 2002.8.28 14:26
ACEV comment
I think the speed of Windows is more than Linux, everyone said yes?
When Linux starts, you have to start a lot of things, turn off the system, and a lot of action;
Will Windows is not very fast?
(I hope I will not be)
@ 2002.8.28 9:29
IXMIND comment
System information is temporarily available to registry, some small software can be used ini
@ 2002.8.28 8:41
LI_HAI Published a comment
To notnoname
What kind of software is a green software? ? ?
@ 2002.8.28 1:24
BluetRees commented
Registration indicates a good design, his thoughts are very desirable, the advantages of using the registry
1, system centralized management
2, you can authorize, configure the permissions of different users, not file-based authorization
3. Improve the time of system response, because there is a cache
4. Provide a consistent storage information for different software
5. Key and COM relationships, if there is no registry, COM will not be implemented, it will force users to find critical COM files, which will be a disaster
6, keep the vulnerable data that must be retained, this is also critical, imagine, an object needs to keep the middle state, keep to the file? Oh, trouble, will be chaotic.
But he still has a lot of problems, this needs to be improved, not abandonment, this design idea is absolutely excellent
Improved Method
1. Registry is not based on a file system, but use other storage methods directly to the hard disk.
2. Enhance the user's control capabilities of the registry, the software access registry needs to be authorized, access authorization to a certain part, so that users can establish a special area to give a particular software, rather than letting software freedom in the registry Inside him.
3. Administrator configures users available areas
4, the overall system information must also be stored separately according to different roles, although a bit wasting space, but enhances reliability. The virus can also have a lot less, huh, huh
5. The administrator decides which content can be shared.
@ 2002.8.27 21: 0
Gary_shi post a comment
To CODERNO1:
There is no great significance of some things again. As for the ext2, there is no defrag, I have never denied it, but how much impact on Performance, in what circumstances, please go to Search.
Unix is a multi-user operating system. For any application, you need to distinguish it in which one level is, you need to write / etc. If it is a user-level application, it should of course put it in / home / xxx / etc. This is different from M $? I can't understand it, I want to ask you to teach.
Who is idiot, you have a few yourself.
@ 2002.8.27 15:57
PI1OT comments
I think the registry itself is not bad, but it is abused, and many things that can not use it are also stuffed. Unix's classification configuration file storage method If everyone abides by a certain rule, it is also convenient, such as the system's putting into / etc /, personal places to put it ~ /, but there is always the same software as the agreement. So we often do some things to find to find things like a font profile, just like the total number of people in the registry in the registry, there are always people's profiles. put.
I didn't see any good solution, forced to be a standard configuration reading and writing means? How to do it? I can't limit people's Fopen, Fread.
@ 2002.8.27 15:41
Hanxiao2000 Published a comment
OK, I will recover the above, but I mean, if you don't find a better solution, please don't ordered the registry, Unix doesn't have a registry, but you also see the disorder of its configuration file. Sex.
Or after Windows Based on the DOTNET environment, XML really also has a substitute for the registry, and you can know that now Visual Studio .NET knows, but it is only to provide a thinking.
@ 2002.8.27 14:54
Kingcom comment
MD ... you know criticism ...
@ 2002.8.27 14:47
Zhengxionghua Published a comment
To hanxiao2000
"It is meaningless to talk about these without a better solution."
Excuse me, if you don't want, if you don't discuss
How can a good solution come out?
The computer is designed, the operating system is designed
All applications now are also designed
I absolutely don't believe that you can meet everyone's needs at any time.
So you have to discuss with others! Isn't it?
Of course, talking is just a form of discussion, no can't!
@ 2002.8.27 14:43
Gary_shi post a comment
Re Codeno1:
I will remind you again, please don't consider the problem with the MS angle. You say that NTFS has disk finishing programs, the ext2, ext3 must have it? I invite you to check why FAT has a disk finishing program, why do I don't say that the disk finishing program is said.
As for the application software, you said more only the desktop application, saying that the company is applied, and Windows is far away.
Where is the application installed, it is not a problem. Using UNIX knows to go to / etc to find a configuration file, / usr / local / xxx / bin go to find the execution file, not to care, the C disk, D disk, E disk ... As for Windows users, Ask them to put the app, please, they don't know how to even know how C disk, D disk, and E disk.
Yes, why do I have C, D, E, but Unix doesn't? Will there be C, D, and E disk after UNIX?
@ 2002.8.27 14:42
Gary_shi post a comment
Re Codeno1:
I will remind you again, please don't consider the problem with the MS angle. You say that NTFS has disk finishing programs, the ext2, ext3 must have it? I invite you to check why FAT has a disk finishing program, why do I don't say that the disk finishing program is said.
As for the application software, you said more only the desktop application, saying that the company is applied, and Windows is far away. Where is the application installed, it is not a problem. Using UNIX knows to go to / etc to find a configuration file, / usr / local / xxx / bin go to find the execution file, not to care, the C disk, D disk, E disk ... As for Windows users, Ask them to put the app, please, they don't know how to even know how C disk, D disk, and E disk.
Yes, why do I have C, D, E, but Unix is not ...
@ 2002.8.27 13:27
Clmate comments
People who write this article are idiots.
@ 2002.8.27 12:51
PI1OT comments
Say what UNIX applies less poor guys.
I don't say anything you, do it is ready to be besieged.
Haha.
@ 2002.8.27 12:42
FISHCAT comments
Now I declare that I have not fully negate the registry, I just put it out of the question of the registry.
Our goal is to solve these problems, so you don't have to quarrel.
The solution to the problem is to modify the ideological and structure of the registry, the registry brought about the benefits of the Windows just started.
But now it has been developed in an extreme direction, that is, the volume is constantly increasing. The system will be larger, the application will be more,
If you still follow our current registration, isn't that a nightmare?
So we should not save all the configurations in the registry, the system is system, the application is the application, MS is MS,
IBM is the IBM's points clear and not very well. It is of course the cooperation between the program. The problem is that this cooperation cannot take everyone to one.
The sack is installed. In fact, just save the entrance to each sub-configuration, thinking like COM, providing an interface, is the problem not solved!
@ 2002.8.27 12:16
CODERNO1 comment
1) Do I have a disk defragmentation program? I remember that NTFS didn't have, now there is.
2) The design of the registry does bring a lot of trouble (especially multi-system). But it is not deny that his centralized management has also had a certain benefit. The application software under Linux / UNIX is very poor, and the necessity of centralized management is not too much. But the Window family is different, many applications need to collaborate with each other. It is very simple, and a certain software is installed, and installed there (because you need to change its parameters)? How do you know that ask the user (SB's practice, no matter the user's feelings), you have been looking for (users think you are in format His hard drive), the most convenient practice is your open parameters to make operating system centralize. Do you have a more convenient solution?
@ 2002.8.27 11:38
Gary_shi post a comment
There is another point I forgot to say that the start speed does not mean everything.
I have encountered such a thing, and the same machine machine is equipped with the PIII733 30G hard drive. When the memory is in 192, it is fast (win 98) than 320M memory.
@ 2002.8.27 11:25
FISHCAT comments
Gary_shi said it, we can't imprison himself in someone else. We have to have our own ideas.
Take a look at the registry, from Windows98 to XP, its volume from 10m to 340 m, backup
Half a day. Give people feel like this: a gift shop, it does not bring gifts in the gift cabinet
Instead, take a sakura, one of the trees, all things, and the people who bought it,
The boss is loaded into the sack, with a "very advanced retrieval algorithm" to retrieve the things you need, take it out
The time of spending doesn't seem long ..........
@ 2002.8.27 10:17
Gary_shi post a comment
It seems that everyone is on the discussion of problems based on Windows.
In fact, I believe that everyone is very real, the more the windows machine is used, the more slowly, just when she put the machine, the system is very fast, and the more it is, the more slowly, that is, because of what is going inside Write, no hierarchy. In fact, I think the system startup parameters and the parameters of the application software are completely two different levels, but exist in a registry. Many friends in front are at the perspective of MS, giving MS's thinking. There is a joke that is said to say Unix newcomers ask if there is any disk defragmentation.
There is a friend in front that it is not wrong from something like XML when the system starts. It is not wrong to some extent. However, there are many information in the registry, which is only used in the system startup, that is, when starting, in order to read these currently can't use a lot of resources, at the same time, after startup, some hardware information is The application is not read again. The reason is still what is said before, the run level is not divided, and a stack of things is written, causing system performance to decline.
In fact, the landlord did not say it was a security problem. He simply said that the system registration form changes or partially damaged by the system registry. Changes by malicious JS are the most headache, I have encountered n times, but there is no way, I have to give up the security of the Ministry of MS, which is recognized. Partial damage is not large, because there is always backup.
The problem is still more than this, because the registry is a global configuration file, any user can cause the system to complete the system, which is unacceptable in the multi-purpose environment. I don't have much information in this area, so I can't conclusion.
@ 2002.8.27 9:55
FISHCAT comments
ZPPLAYER: You don't know how to say childish, please think more, not as simple.
@ 2002.8.27 9:45
ZPPLAYER Published a comment
Weakness & Childish & .....
@ 2002.8.27 9: 3
CODERNO1 comment
1) As mentioned, XP is the fastest on many people's machines. So how to say it will not stand up.
2) Dump to memory, can you sleep? Normal startup is to stabilize.
3) The registration form gives a lot of freedom of programmers. Is there a lot of green software now? But some programmers are low, there is something wrong with the registry, which will of course do things. However, some procedures have a complicated configuration. Is it a complicated situation in which INI needs to be configured?
4) The registry is not used by ordinary users, do you see that regedit is placed in the system tool? User is generally unnecessary to know it.
@ 2002.8.26 22:32
Complexity Published a comment
The registry is purely because there is a lack of consistent binary object specifications, as well as a temporary alternative to the lack of object naming and finding mechanisms.
The system has perfect underlying object support, such as like .NET implementation, the registry is to eliminate
@ 2002.8.26 22: 6
Hanxiao2000 Published a comment
Resolutely different, the 意主 的 说, the registry has some shortcomings, but there is no better solution before the solution.
I have thought about it with XML storage information, then think about it, if it is when starting, there is no way to resolve XML, then, I can only use the most original string.
@ 2002.8.26 21:44
FISHCAT comments
To julyclyde: This is the case on the machine here.
@ 2002.8.26 17: 4
TonyTan Published a comment
No registration, what? Use INI file, RC file?
Next time, don't shut down, choose waiting, or sleep, can n't you? Of course, the program is not very good, copying can be used
Best, like a Java system, but also perperties
File
@ 2002.8.26 16:45
Lostinet comments
Ha, I still say that I don't judge. . . Ok, it's not enough to start it, don't rely on the registry. .
@ 2002.8.26 15: 7
Notnoname Published a comment
The registry is a failed system! Haha ~~~~~ Stressed green software now!
@ 2002.8.26 12:47
JulyClyde Published a comment
WindowsXP starts speed than Windows 9x ??