A find or query operation can be decorated to apply a fetch plan to customize the set of entities to fetch from the database.
查找或查询操作还可以通过修饰后应用一个查询计划来自定义从数据库查询得到的实体集。
A fetch plan is a useful construct because the client can control the content of the requested representation for the same logical resource on a per-use-case basis.
查询计划是一个非常有用的结构,因为客户端可以控制相同逻辑资源在每次使用时的请求表现内容。
In this example, access plan overall costs do not include the actual fetch time.
在这一示例中,访问计划的整体成本并不包括实际的获取时间。
A query plan ideally is an optimal plan to execute the given query - that is, it determines the most efficient way to fetch the data.
理想情况下,查询计划是执行给定查询的最佳计划—也就是说,它会确定抓取数据的最佳方式。
Listing 19 lists the plan showing the efficient use (FETCH (8)) of ORDER BY and FETCH FIRST 1 ROW ONLY discussed above.
清单19列出的计划展示了使用前面讨论的ORDER BY的(FETCH(8))和FETCHFIRST1ROWONLY的效率。
This command has to be executed periodically so that the optimizer has the latest data with it to come to an effective plan to fetch the data.
必须定期执行该命令,以便优化器利用最新的数据制定有效的计划来抓取数据。
When Mumpy told Monica about her plan on the morning of June 27, the latter laughed it off and left for school. Their father was away at work and mother Rita had gone to fetch rice.
那是6月27号的早上,莫妮卡听后没当真,笑了笑就跑去上学了,她们的父亲在外工作,而她们的母亲丽塔淘米做饭去了。
When Mumpy told Monica about her plan on the morning of June 27, the latter laughed it off and left for school. Their father was away at work and mother Rita had gone to fetch rice.
那是6月27号的早上,莫妮卡听后没当真,笑了笑就跑去上学了,她们的父亲在外工作,而她们的母亲丽塔淘米做饭去了。
应用推荐