Viewing MySQL Document Store Queries in MySQL Database Services

原文英文,约1000词,阅读约需4分钟。发表于:

With local or on-premise instances of MySQL, we can use the general_log to view the queries that are executed when we make calls to the MySQL Document Store API. This approach, however, does not work when working with MySQL Database Service (MDS) instances running in Oracle Cloud Infrastructure. In this post, we'll show you how to get the raw SQL that is executed on as MDS instance when we make calls to the Document Store API.

本文介绍了如何在MySQL Database Service (MDS)实例中查看使用MySQL Document Store API时运行的底层查询。通过设置performance_schema,获取线程ID,并查看实际执行的查询,可以更好地管理文档存储。

Viewing MySQL Document Store Queries in MySQL Database Services
相关推荐 去reddit讨论