Are there any recommended SQL replay tools?

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

Original topic: 有没有推荐的SQL回放工具

| username: terry0219

[TiDB Usage Environment] Testing/PoC
[TiDB Version] 7.5
I plan to use an SQL playback tool to record MySQL statements into TiDB to test SQL compatibility and performance. Could you recommend any good tools for this?

| username: 江湖故人 | Original post link

How about trying gopacket?
Using gopacket to implement MySQL traffic recording and playback - Jianshu (jianshu.com)

| username: TiDBer_5Vo9nD1u | Original post link

Learned.

| username: Jellybean | Original post link

Have you tried it on the TiDB cluster, how is the effect, and what issues should we pay attention to? We want to learn.

| username: DBRE | Original post link

Got it, I’ll study and research.

| username: dba远航 | Original post link

TiDB’s own tool DM can do it.

| username: zhang_2023 | Original post link

gopacket

| username: 数据库真NB | Original post link

Got it, I’ll give it a try if needed after studying gopacket.

| username: 随缘天空 | Original post link

Support! Although I haven’t practiced it, it seems quite useful.

| username: 这里介绍不了我 | Original post link

What scenario is this replay for?

| username: Jayjlchen | Original post link

Freshly released by the expert:

| username: terry0219 | Original post link

OK, thank you. I will look into it.

| username: Fly-bird | Original post link

I really haven’t used this.

| username: TiDBer_vfJBUcxl | Original post link

Learned a lot.

| username: wfxxh | Original post link

Mark.

| username: lemonade010 | Original post link

Learned, learned.

| username: forever | Original post link

What about Canal?

| username: Kongdom | Original post link

:yum: Waiting for the original poster to share practical cases~