Home Whiteboard Graphing Calculator Online Compilers Articles Tools

Explore Categories

Find the perfect tutorial for your learning journey

Python TechnologiesDatabasesComputer ProgrammingWeb DevelopmentJava TechnologiesComputer ScienceMobile DevelopmentBig Data & AnalyticsMicrosoft TechnologiesDevOpsLatest TechnologiesMachine LearningDigital MarketingSoftware QualityManagement Tutorials View All Categories
Tutorials Courses Jobs Login
Redis Tutorial
  • Redis - Home
  • Redis - Overview
  • Redis - Environment
  • Redis - Configuration
  • Redis - Data types
  • Redis - Commands
  • Redis - Keys
  • Redis - Strings
  • Redis - Hashes
  • Redis - Lists
  • Redis - Sets
  • Redis - Sorted Sets
  • Redis - HyperLogLog
  • Redis - Publish Subscribe
  • Redis - Transactions
  • Redis - Scripting
  • Redis - Connections
  • Redis - Server
  • Redis Advanced
  • Redis - Backup
  • Redis - Security
  • Redis - Benchmarks
  • Redis - Client Connection
  • Redis - Pipelining
  • Redis - Partitioning
  • Redis - Java
  • Redis - Php
  • Redis Useful Resources
  • Redis - Quick Guide
  • Redis - Useful Resources
  • Redis - Discussion
Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Online Resume Builder
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
Home Redis Redis - Server Dbsize Command

Redis - Server Dbsize Command



Previous
Quiz
Next

Redis DBSIZE command is used to get the number of keys in selected database.

Return Value

Integer reply.

Syntax

Following is the basic syntax of Redis DBSIZE command.

redis 127.0.0.1:6379> DBSIZE

Example

redis 127.0.0.1:6379> DBSIZE  
(integer) 147 
redis_server.htm
Previous Quiz Next
Advertisements
  • ABOUT US
  • OUR TEAM
  • CAREERS
  • JOBS
  • CONTACT US
  • TERMS OF USE
  • PRIVACY POLICY
  • REFUND POLICY
  • COOKIES POLICY
  • FAQ'S
tutorials point logo
Download Android App Download IOS App

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.

Copyright 2026. All Rights Reserved.