Comments (4)
TABLE_STATISTICS表在information_schema数据库下。
from alisql.
information_schema数据库下确实存在TABLE_STATISTICS表。
我以为select * from TABLE_STATISTICS;
是AliSQL特有的,是MySQL/MariaDB所不支持的特性……
但是我发现在MariaDB里也支持:
➜ ~ mysql -uroot
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 7
Server version: 10.1.21-MariaDB Homebrew
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use information_schema;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [information_schema]> select * from TABLE_STATISTICS;
Empty set (0.00 sec)
MariaDB [information_schema]> select version();
+-----------------+
| version() |
+-----------------+
| 10.1.21-MariaDB |
+-----------------+
1 row in set (0.00 sec)
是不是我对AliSQL的table/index statistics
特性的打开方式错了,应该怎么做?
from alisql.
请参考release note: table/index statistics,有2个参数开关需要打开 rds_tablestat
和 rds_indexstat
。
from alisql.
是的 确实有2个参数开关rds_tablestat
和rds_indexstat
。
P.S 我发现10.1.21
也支持table/index statistics
了 :-)
MariaDB [(none)]> select version();
+-----------------+
| version() |
+-----------------+
| 10.1.21-MariaDB |
+-----------------+
MariaDB [(none)]> use information_schema;
MariaDB [information_schema]> SELECT * FROM TABLE_STATISTICS;
Empty set (0.00 sec)
MariaDB [information_schema]> SELECT * FROM INDEX_STATISTICS;
Empty set (0.00 sec)
from alisql.
Related Issues (20)
- 散了吧,这个项目估计凉了 HOT 4
- Debian 10 下编译 AliSQL 5.6.32 (2018-05-01) 成功
- AliSQL 5.7社区版什么时候开源? HOT 3
- 散了散了 HOT 1
- Blog的feed.xml请不要使用内网地址
- db同一时间在做sync时是block
- AliSQL 8.0是否能开源? HOT 2
- how to test in xlog Insert process
- AliSQL-Performance-benchmark 测试所使用的sysbench是哪个版本?
- 啥时候把最新的mysql8.0的开源出来啊
- 太令人遗憾了,AliSQL社区版已经4年没有更新维护了,我们做了一款MySQL HTAP数据库,大家来看看吧 HOT 19
- 10万的commit。。。真忍不住吐槽下,一个单词交一次commit吗 HOT 1
- http://mysql.taobao.org/monthly/2023/09/01/
- 请教在Ubuntu 16.04下编译时出现的问题 HOT 1
- RSS 订阅 http://mysql.taobao.org/monthly/ 显示内网 IP HOT 4
- RSS 订阅页面 http://mysql.taobao.org/monthly/feed.xml 错误
- 阿里SQL5.7/8.0版本的源代码在哪里呢? HOT 1
- 基于Sever层排队的秒杀的死锁问题
- 感觉开源了,没人维护了 HOT 3
- 对更新单行记录的优化如何保证幂等? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alisql.