Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello I have a database table changes once a day .

customer arrives on my website , I count it(sql:count(*)group by category)
from database category's per requset.

say I have a total of 50 thousand songs(and more).
which is more fast access:
a database that to do the
sql:select count(*) .. group by category....

or because it update once a day for all of this information in Xml file
or someting else(txt file like json objet)

help me please:)
Posted
Comments
PIEBALDconsult 26-Dec-14 19:18pm    
I prefer a real database. Please consider SQL Server Express or Compact.
Saving to database would be good and safe.

Let's mix them: update xml once a day and read the count of records from xml.
 
Share this answer
 
Hi,
Firing database query will definitely take more time than keeping count in xml.
I would suggest using XML instead of database. It will increase your application performance too.

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900