Is the unique feature of 201 meant to be compared with MySQL? For example, global temporary tables

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

Original topic: 201的特有功能,是与mysql进行比较的吗?比如全局临时表

| username: virvle

Is the unique feature of 201 meant to be compared with MySQL? For example, global temporary tables.

| username: virvle | Original post link

I feel that this feature is available in Oracle.

| username: changpeng75 | Original post link

It feels like it’s not just a comparison with MySQL, but more about reflecting TiDB’s understanding of databases and the differences from traditional databases.

| username: Jellybean | Original post link

It can be understood as a feature of TiDB as a distributed database.

| username: YuchongXU | Original post link

This feature has always been available.

| username: wangkk2024 | Original post link

Can global temporary tables be understood as session-level?

| username: xiaoqiao | Original post link

Basically, yes.

| username: DBAER | Original post link

Relatively speaking, it should be MySQL, after all, it is compatible with the MySQL protocol.

| username: dba远航 | Original post link

The underlying layer of TiDB is MySQL.

| username: tidb菜鸟一只 | Original post link

Well, TiDB cannot be considered as having MySQL at its core. It’s just that TiDB-server is compatible with MySQL’s connection protocol. The core should be TiKV using the RocksDB setup. In fact, you can use TiKV directly without using TiDB-server.

| username: stephanie | Original post link

MySQL also has global temporary tables.

| username: TiDBer_21wZg5fm | Original post link

Not only compared to MySQL, but Oracle’s temporary tables also have some similar functionalities. It should just be introducing the features of global tables.

| username: zhanggame1 | Original post link

The underlying layer of TiDB has never been MySQL.

| username: TiDBer_JUi6UvZm | Original post link

Protocol compatibility does not mean it is MySQL. Otherwise, triggers and the like would not be directly usable.

| username: TiDBer_JUi6UvZm | Original post link

Try to be as compatible as possible with the MySQL ecosystem, thereby reducing the learning and migration costs for DBAs.

| username: 洪七表哥 | Original post link

The syntax is very similar to Oracle’s syntax.

| username: TiDBer_RjzUpGDL | Original post link

This is Oracle, right?

| username: zhaokede | Original post link

Study notes? Are you preparing for the PCSD exam?

| username: virvle | Original post link

Watch the 201 series videos, I’m preparing for PCTA.

| username: virvle | Original post link

Yes, Oracle.