Once a view is created, it cannot be deleted or modified

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 视图创建好后不能删除,也不能修改

| username: TiDBer_istshnCu

[TiDB Usage Environment] Testing/PoC
[TiDB Version] 6.3.0
[Encountered Problem]
Unable to delete a view after it is created
[Reproduction Path] Steps taken that led to the problem
[Problem Phenomenon and Impact]
Creating and modifying views is a very normal operation, which has a serious impact on the development and runtime environment

[Attachments]

| username: OnTheRoad | Original post link

Is there too little log information? Is it stuck? Or is there any error message? What log information is there in the TiDB background?

| username: tidb狂热爱好者 | Original post link

Views can be modified. Try deleting it; it can be deleted.

| username: BraveChen | Original post link

First, show the error message you get when you execute the drop command, or is it just stuck?

| username: forever | Original post link

admin show ddl jobs; take a look

| username: TiDBer_istshnCu | Original post link

Stuck and unresponsive, deleting or modifying the view also results in being stuck and unresponsive.

| username: TiDBer_istshnCu | Original post link

Using modify view or delete view both get stuck and do not move.

| username: TiDBer_istshnCu | Original post link

In what environment is this executed?

| username: TiDBer_istshnCu | Original post link

Stuck and unresponsive, deleting or modifying the view also gets stuck and unresponsive.

| username: TiDBer_istshnCu | Original post link

Stuck and unresponsive, deleting or modifying the view also results in being stuck and unresponsive, no errors reported, just continuously stuck.

| username: h5n1 | Original post link

admin show ddl jobs 30 to see if there are any other DDLs.

| username: xfworld | Original post link

Check the TiDB logs for any error messages.

| username: 近墨者zyl | Original post link

It feels like an issue with the tool… Is the window correct, the window for executing SQL?

| username: 近墨者zyl | Original post link

There are still permissions, right?

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.