It depends on how you are going to use the data, as stated in the previous answer.
The data in the database can be used to support many different queries and submit the results to reports, forms, OLAP modules and many other tools. Appropriate indexing can significantly speed up the search.
If you know SQL, and if the database is well designed, querying is simpler, faster, and less than using equivalent files. But, as others have noted, you can connect your XML data to SQL without moving it to the database.
Developing a good multipurpose scheme is more complicated than many beginners think. There is a lot to learn, and the point is not only how to manipulate one tool or another. And a poor multipurpose design can be harder to work with files.
If you decide to go with a database, be prepared to make a significant investment. And make sure you get the benefits of this investment.
Walter mitty
source share