There is an application that uses mySQL on a Windows XP Pro SP3 system with 3GB Ram. Was wondering if anyone had any suggestions on using RAMdisks Pros/Cons? Any suggestions on which RAMdisk solution to go with. Microsofts is limited to 32MB which wouldn't help much, but a freeware one can be set up to 2GB in size.
According to this link it appears that it would help with large databases.
http://www.pcworld.idg.com.au/article/73385/boost_performance_win_xp_pro_ramdisk/I was thinking that if I could allocate 1GB of the 3GB RAM to act as a Virtual Hard Drive I could drastically speed up some database operations which currently perform lots of Read/Writes thru the process. I was thinking that if I could perform all the Read/Writes in a Virtual Hard Drive in a RAMdisk, that I could relieve the physical hard drive of this burden and have the final result of the process then write to the hard drive in the end.
This system is part of a point of sale system which receives updates to up to 90,000 UPC's as information changes, the problem is that thru this process it appears that it writes for every single change to the hard drive which creates a Read/Write condition instead of just a write of the changes. So I was thinking that the RAMdisk could be used to hammer the changes out in Ram, and then perform a single write of all info to the physical drives that are running as RAID 0. The database is about 400MB in size according to the size of the daily backups from SQL Dump. So I am thinking that if the entire database is written to RAMdisk and then all processes performed against it in a 1GB virtual disk space, that I could then have an end process that copies an exact copy of this database then to the physical hard drives.
This system is powered thru a UPS so odds of a power interruption are very rare. If there was no power protection a RAMdisk would be a catastrophe ready to happen as for when power is gone all data is gone in RAM.
Was also thinking of going with a SSD, but why not just use system Ram to perform this quickly with RAMdisk, and System RAM is faster than a SSD to access info.