Convenient one: reading and convenient query.
Xml format files and other documents the biggest difference is the Xml file is a kind of structured data. Popular for its record-keeping time, will use some special formatting control character symbols, to ensure that stored data are in line with structural needs. Well, this structured data, for system administrators, what help? The most direct help, that is, system administrators can easily Xml file to import the data into a database for analysis. System administrators often need more than a few months, even years, the log information analysis in order to find ways to improve operating performance and vulnerability information. However, these vast amounts of data, without the help of specialized analysis tools such as databases, it is difficult to arrive at a reasonable conclusion. To this end system administrators often need to import these log records to the database system, then the vertical and horizontal comparison, the final draw some possible conclusions.
Now if we adopt the Xml format to store the log information, then the system administrator can easily import information from these logs to the database. In the case does not require any adjustment, you can format the XML files directly into the database system. Since XML files can be directly through your browser tools such as open, and this is the operating system the browser is often necessary for an application. Therefore, its view will be very convenient.
To facilitate the two: a high compatibility
Another advantage of XML documents, is its compatibility higher. Now mainstream database software basically supports XML files. In other words, the system administrator can not only use Microsoft’s SQL Server database software, you can also use Oracle’s database and other non-Microsoft software, to log information to import into, and then analyzed. Under normal circumstances, most system administrators prefer to use less SQL Server database, because of its relatively more complex, but also more cumbersome to install them. Moreover, statistical analysis of the log records, use the SQLServer such a large-scale database systems are a bit overkill. To this end, including the author, including system administrators prefer to use MySQL database systems such as small-scale analysis. Not only because it is free, mainly in small and convenient, but also will not take up much hard disk space. Now Windows7 operating system introduced the XML-formatted file to save the log records, then we are all the more reason to use the system administrator such as a small MySQL database. Because MySQL’s support for XML documents is very powerful. Moreover, the database can also save the statistical results related to XML file format.
In addition XML compatibility is also reflected in a different operating system platform compatibility. As the case file, which is Microsoft’s operating system provides a file format, Linux and other operating systems can not be opened. Another example is a text file, although the Linux operating system can open. But usually occurs when a format confusion and affect the normal reading system administrator. Unless the system administrator to use some system tools to bring their own conversion. But the use of XML format files will not happen. XML file looks like a web page. Open the Windows operating system in what looks like, then open the Linux operating system is like this. Not only the format will not be a mess, but do not need to use any other additional aids. So, this platform compatibility with different operating systems can increase employee information sharing. According to the author know, a lot of business, may be the client uses a Windows system, the server uses a Linux and other non-Microsoft operating system. This trend is now increasingly evident. Therefore, to improve the compatibility of this multi-operating system is also very necessary. Even if the log file is saved in the file server on the Linux operating system, also worry about what the problem.