My problem is...
I work for Retailing Management System. Front end is VB6, back end SQL Server 2005. My application has an interface called Item Fetch to select an item from a item list. The Item Fetch interface fetches all 20,000 items from the db server every time an item is selected. Around 50 sales counters are accessing the db server simultaneously. So the db server is over loaded, and the performance of my application gets reduced.
My plan is...
Fetch all 20,000 items from the db server only once, and save those in a file (preferably xml file) in the local machine. So that my fetch interface will load items from the local file. Thus the db server is free from item fetch queries.
My question is...
1. Does my idea sound good? If not, plz give your suggestion.
2. Which file format should i use to save around 20,000 items? xml or any other format? Hopefully csv (comma separated values) may not be suitable since item desc may have commas.
3. How do I manipulate (write and read) a xml file in VB6?
Thank you in advance.