Help Center/ GeminiDB/ GeminiDB Redis API/ FAQs/ Database Usage/ Does the GeminiDB Redis API Support Multiple Databases?
Updated on 2024-08-06 GMT+08:00

Does the GeminiDB Redis API Support Multiple Databases?

GeminiDB Redis API allows you to create multiple databases in an instance since March 2022. Instances created before March 2022 do not support this function and cannot be upgraded to support it.

This feature has the following constraints:

  • The number of databases ranges from 0 to 999.
  • The SWAPDB command is not supported.
  • The result of the dbsize command is not updated in real time. The result does not decrease to 0 immediately after flushdb is executed, and will change to 0 after a while.
  • Executing SELECT and FLUSHDB commands in LUA scripts is not supported.
  • Executing SELECT and FLUSHDB commands in transactions is not supported.
  • The MOVE command is not supported.