---
title: "Laravel 9: New Database Commands You Must Know"
url: "https://magecomp.com/blog/laravel-9-new-database-commands/"
date: "2023-03-22T15:50:56+00:00"
modified: "2025-01-06T09:42:53+00:00"
author:
  name: "Bharat Desai"
  url: "https://magecomp.com"
categories:
  - "Laravel"
word_count: 303
reading_time: "2 min read"
summary: "Hello Laravel Friends,"
description: "Laravel 9 introduced 3 new database commands -  db:show, db:table, and db:monitor. Learn more about each of them."
keywords: "Laravel"
language: "en"
schema_type: "Article"
related_posts:
  - title: "Best Laravel Development Company"
    url: "https://magecomp.com/blog/best-laravel-development-company/"
  - title: "Using increment() in Laravel Eloquent to Increase Values Efficiently"
    url: "https://magecomp.com/blog/using-increment-in-laravel-eloquent/"
  - title: "Laravel 9 CRUD Operation: Step by Step Tutorial"
    url: "https://magecomp.com/blog/laravel-9-crud-operation/"
---

# Laravel 9: New Database Commands You Must Know

_Published: March 22, 2023_  
_Author: Bharat Desai_  

![New Database Commands You Must Know Laravel 9](https://magecomp.com/blog/wp-content/uploads/2023/03/New-Database-Commands-You-Must-Know-Laravel-9-1024x512.webp)

**Hello Laravel Friends,**

In the Laravel v9.24 release, today’s blog will talk about the new DB commands.
[![Laravel Development Services](https://magecomp.com/blog/wp-content/uploads/2024/12/Laravel-Development-Services-4.webp)](https://magecomp.com/services/laravel-development-services/)

The Laravel update version 9.24 release introduces three new database commands: db:show, db:table, db:monitor commands. Using the db:You can get valuable insight into your database and its associated tables with Artisan commands show and db:table. The db:monitor Artisan command helps to monitor your database.

Let’s learn about New DB commands in Laravel 9.
## Artisan “db:show” Command
The artisan db:show command is used to see an overview of your database. It gives a summary of the database, which includes database type, connection details, number of open connections, a summary of its tables, and more.
[![db show command](https://magecomp.com/blog/wp-content/uploads/2023/03/db-show-command.png)](https://magecomp.com/blog/wp-content/uploads/2023/03/db-show-command.png)

## [![Hire laravel Developer](https://magecomp.com/blog/wp-content/uploads/2024/12/Hire-Laravel-Expert-Now-3.webp)](https://magecomp.com/services/hire-laravel-developer/)

## Artisan “db:table” Command
The artisan db:table command is used to see an overview of individual tables within your database. It gives an overview of the size, number of rows, columns, types, attributes, foreign keys, and indexes of the table. Moreover, db:table command also provides a breakdown of every column along with its attributes and data type.
[![db table command](https://magecomp.com/blog/wp-content/uploads/2023/03/db-table-command.png)](https://magecomp.com/blog/wp-content/uploads/2023/03/db-table-command.png)

## Artisan “db:monitor” Command
The db:monitor command is the same as the queue:monitor command. It helps to see the number of open connections to your database.
In addition, you may pass the –max option to the command, which will dispatch a DatabaseBusy event when the number of connections is greater than the –max count that was specified. If no –max option is provided, the DatabaseBusy event will not be dispatched.
 [![](https://magecomp.com/blog/wp-content/uploads/2023/03/db-monitor-command.png)](https://magecomp.com/blog/wp-content/uploads/2023/03/db-monitor-command.png)
## Conclusion:
Hope you found this tutorial informative and that you learned the db:show, db:table, and db:monitor commands in the Laravel 9 release. To learn more about Laravel, stay tuned with us. If you need any help regarding Laravel development or customization, feel free to connect with our experienced [**Laravel Developers**](https://magecomp.com/hire-laravel-developer.html).
[![Contact Us](https://magecomp.com/blog/wp-content/uploads/2024/12/Contact-Us-3.webp)](https://magecomp.com/contact)

**Happy Reading!**


---

_View the original post at: [https://magecomp.com/blog/laravel-9-new-database-commands/](https://magecomp.com/blog/laravel-9-new-database-commands/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-08-19 09:46:36 UTC_  
