Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: 确认及更新MO的各类基础限制 #686

Closed
1 task done
dengn opened this issue Aug 23, 2023 · 3 comments
Closed
1 task done

[Enhancement]: 确认及更新MO的各类基础限制 #686

dengn opened this issue Aug 23, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request s1

Comments

@dengn
Copy link
Collaborator

dengn commented Aug 23, 2023

Is there an existing issue about this enhancement?

  • I have checked the existing issues.

Describe the enhancement.

https://docs.matrixorigin.cn/dev/MatrixOne/Develop/schema-design/overview/#_3

image
@dengn dengn added enhancement New feature or request s1 labels Aug 23, 2023
@lacrimosaprinz
Copy link
Contributor

与潇哥确认了一下,待悲观事务稳定后再测试

@dengn
Copy link
Collaborator Author

dengn commented Oct 25, 2023

这部分内容不明确,但是实际测试发现肯定不是现在写的这个照着mysql做的值,暂时先去掉。

mysql> create database aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg;
Query OK, 1 row affected (0.20 sec)

mysql> show databases;
+-----------------------------------------------------------------------------------------------------------------+
| Database                                                                                                        |
+-----------------------------------------------------------------------------------------------------------------+
| mo_catalog                                                                                                      |
| aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg |
| system                                                                                                          |
| system_metrics                                                                                                  |
| information_schema                                                                                              |
| mysql                                                                                                           |
+-----------------------------------------------------------------------------------------------------------------+
6 rows in set (0.52 sec)

mysql> use aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg;
Database changed
mysql> create table aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg (a int);
Query OK, 0 rows affected (0.09 sec)

mysql> show tables;
+---------------------------------------------------------------------------------------------------------------------------+
| Tables_in_aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg |
+---------------------------------------------------------------------------------------------------------------------------+
| aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg           |
+---------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.20 sec)

mysql> create table t1(aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg int, aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffgggggggggggggaaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg datetime);
Query OK, 0 rows affected (0.21 sec)

mysql> show tables;
+---------------------------------------------------------------------------------------------------------------------------+
| Tables_in_aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg |
+---------------------------------------------------------------------------------------------------------------------------+
| aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg           |
| t1                                                                                                                        |
+---------------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.08 sec)

mysql> show create table t1;
+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table                                                                                                                                                                                                                                                                                                                                                                                                     |
+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| t1    | CREATE TABLE `t1` (
`aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg` INT DEFAULT NULL,
`aaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffgggggggggggggaaaaaaaaaaaabbbbbbbbbbbbbbcccccccccccccdddddddddddddddddddddddeeeeeeeeeeeeeeefffffffffffffffffffffggggggggggggg` DATETIME DEFAULT NULL
) |
+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.11 sec)

@lacrimosaprinz
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request s1
Projects
None yet
Development

No branches or pull requests

2 participants