Redis on Windows - Clearing the Redis Database

If you are still running Redis on Windows (out of support since 2016) and cannot upgrade to a Linux instance, you will sometimes run into issues where the Redis database is too large to write to disk, or takes too long to come online after a restart. In those cases, your best bet is to clear your Redis database.

Step-By-Step

  1. RDP to your Redis instance

  2. Go to the “Services” panel and stop the Redis service

  3. Go to the physical location of your Redis install

    1. This is typically in C:\Program Files\Redis

  4. Delete the dump.rdb file

    1. This is the persistent Redis database file

  5. Return to the “Services” panel and start your Redis instance

  6. Restart your SoftripNext Applications

    1. This can be done by recycling the IIS application pools for “ResWebNext” (or “RWN”) and “STServerWeb” (or “STSW”).