0

我在本地 GAE/Python 服务器上运行默认 AppStats。两者的详细信息datastore_v3.RunQuerydatastore_v3.GetAppStats 显示,没有关于 GQL 查询的有用信息(如下)。

有没有办法查看实际查询?

UPD。我不直接使用 GQL 查询,而是通过 get() 和 fetch() 间接使用。我说的是如何查看这 500 毫秒的时间。当前信息是无用的,用户应该为此调查堆栈跟踪。

Request: Query<app_='dev~app', compile_=True, composite_index_=[], filter_=[Query_Filter<...>], ...>
Request: Query<app_='dev~app', compile_=True, composite_index_=[], filter_=[Query_Filter<...>], ...>
Request: GetRequest<key_=[Reference<app_='dev~app', has_app_=1, has_path_=1, path_=Path<...>>, ...], ...>
4

1 回答 1

0

GQL 只是数据存储之上的一层;GQL 查询的执行方式与 db.Query 相同,并产生相同的 RPC。

于 2012-03-29T09:05:36.420 回答