https://www.lesstif.com/dbms/redis-databases-select-index-123338900.html
레디스는 기본으로 생성된 데이터베이스가 16개이다.
0번 ~ 15번까지 인덱스로 데이터베이스가 생성되어있다.
데이터베이스 갯수를 변경하려면
redis.conf 파일에서 수정해주면 된다고 한다!
https://www.lesstif.com/dbms/redis-databases-select-index-123338900.html
데이터베이스 접근은 redis-cli로 접속 시 선택 가능하고,
-n
옵션으로 선택할 수 있다.
redis-cli
redis-cli -n 2