This project is read-only.

Xml vs Database data provider

Aug 7, 2011 at 2:53 AM

When is it best to use the Xml data provider or a database?

Aug 8, 2011 at 12:24 AM
Edited Oct 25, 2011 at 2:13 AM

If you have under 100 posts (or/and) pages  go with XML

Over that it starts to slow down.

 Also the number of (Hits/Visits) has an effect too.  If you get over 100 hits at the same time all the time then Database would be better.

 But, if you get about 50 or less hits at the same time xml is good.

 See for your self here:

 Test out a xml run site vs a SQL  make sure they are using the same version of BE through.

One day I will set up two sites using everything the same but have  one DataBase and one XML

so people in the future can truely see the differences and also going to load test it to provide proven results

and not theory.


Will post the links to the test sites once they are ready.


Have a great day!


Brian Davis

Java Blog

Aug 21, 2011 at 2:36 AM

Thanks Brian -