Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 11-12-2005, 06:50 PM XML DB Vs MySQL
Novice Talker

Posts: 10
Trades: 0
Whenever I have to give an option to admin of the website to be able to change content on individual pages, I store the content in the database (most of the time MySQL). A new guy in my company joined recently and has advised me to use XML for storing text content of the websites which according to him is a better way then storing it into the database.
I want to know what are the main advantages of using XML file for storing text content or are there any ? Would love to know both the pros and cons.

http://www.binarytrends.com
shahid_146 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-12-2005, 06:54 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
MySQL is designed to be faster than the filesystem. Also, what would happen if you decided to spread services about on several servers, say store your content (db) on one server while your pages are served by another. With flat files, even formatted as XML, you will have to now include this content over http(s) which would be no different than MySQL.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 11-13-2005, 04:39 AM
Ultra Talker

Posts: 251
Location: Belgium, Antwerp, Zoersel
Trades: 0
The only advantages I know is that you don't need a MySQL server, but you've got one already, and that files are easier to move. I'd still suggest you to use MySQL.
Orodreth is offline
Reply With Quote
View Public Profile Visit Orodreth's homepage!
 
Old 11-16-2005, 12:09 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
It depends what you want exactly you want to store in it. For simple or relational tables of information, a database such as MySQL, MSSQL, Oracle, etc. is good.

XML is better for single or small numbers of records, configuration settings, or transfering data between applications or services.

XML might be a better option if the data is more or less static and won't change often, for example a list of countries or states. If the data will be changing on a regular basis, such as records of orders taken, customer lists, etc. then a database would probably be a better choice.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to XML DB Vs MySQL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15137 seconds with 12 queries