---
title: "Discussion on \"不要在 Production MySQL Server 上刪除資料表(< 8.0.23)\" | Hashnode"
description: "Discussion on \"不要在 Production MySQL Server 上刪除資料表(< 8.0.23)\". 背景\n前陣子團隊裡在討論，有用不到的 Table 要刪掉，是否要用一個月一次深夜停機的時段。我們團隊裡資深的同事表示他記得會有整個 DB 的 Lock 。我就想，照官方文件，Online DDL 應該不影響其他操作啊，而且也是針對該資料表。那平常的時間就可以刪啦?\n不過又多做了一些搜尋，發現果然薑還是老的辣。。。\n看到了這篇文章: Why you simply don't drop a huge InnoDB table in production... \nDROP table 會怎樣?\n那篇文..."
url: "https://hashnode.com/posts/dont-drop-table-on-production-mysql-server-8023/631160d456df9e8e5025dfa8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [不要在 Production MySQL Server 上刪除資料表(< 8.0.23)](https://ebifurai.hashnode.dev/dont-drop-table-on-production-mysql-server-8023?utm_source=hashnode&utm_medium=feed)

背景 前陣子團隊裡在討論，有用不到的 Table 要刪掉，是否要用一個月一次深夜停機的時段。我們團隊裡資深的同事表示他記得會有整個 DB 的 Lock 。我就想，照官方文件，Online DDL 應該不影響其他操作啊，而且也是針對該資料表。那平常的時間就可以刪啦? 不過又多做了一些搜尋，發現果然薑還是老的辣。。。 看到了這篇文章: Why you simply don't drop a huge InnoDB table in production... DROP table 會怎樣? 那篇文...

Sep 2, 2022 · 1 min read · ebifurai.hashnode.dev  
Read the article

-   [#mysql](https://hashnode.com/tag/mysql)

## Written by

[蕭從恩](https://hashnode.com/@ebifurai)

@ebifurai · Tokyo, Japan

  
[View profile](https://hashnode.com/@ebifurai)

Backend developer in Java, sometimes Kotlin.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
