Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml vs database

 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in what cases xml is used instead of database , usually database is faster and big records can be stored and retrived , updated very fast with database then how xml can come near to datbase??
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML is essentially just a data transfer format, and has very little to do with storage, so you can't really compare XML with a database. Many systems use the two together, storing chunks of XML in the database, specifying database queries in XML, formatting retrieved data in XML and so on..
An XML file may be a better choice than a database if the data is small, fundamentally hierarchical and doesn't change much. This is why a lot of applications store their configurations as XML files.
 
Solomon Habtom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks ,
I don't see any reason Y XML can't replace databases.Some of the conserns can easily get answered soon.I am not in to databases
well but after studying about XML .... I know It will be soon.
You got to also see CB analysis of the programms...
bye
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic