Title: Database numbers?
Last modified: November 29, 2023

---

# Database numbers?

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/database-numbers/)
 * Hi,
 * Currently i’m using this plugin on a WordPress site, no issues. With prefix and
   db = 0.
 * I have a second site on the** SAME shared hosting plan** and while i understand
   i must use a different prefix for separation, i’m not sure if i must also use
   a different db number.
 * Did a little reading, maybe a different db number is not needed.
 * Any help on this is appareciated. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Julie](https://wordpress.org/support/users/julieadrienne/)
 * (@julieadrienne)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/database-numbers/#post-17242976)
 * Using a different `WP_REDIS_DATABASE` will separate the flushing, so that when
   you flush Site A, the cache of Site B doesn’t get wiped.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/database-numbers/#post-17243008)
 * Thank you for the reply, crystal clear now what i must do (have a different db
   number also).
 *  Plugin Support [Julie](https://wordpress.org/support/users/julieadrienne/)
 * (@julieadrienne)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/database-numbers/#post-17246016)
 * That would be ideal, yes.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Database numbers?’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Julie](https://wordpress.org/support/users/julieadrienne/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/database-numbers/#post-17246016)
 * Status: resolved