使用已经了解的CakePHP知识,创建一个基本的模型、视图和控制器,用于获得word表内容并在执行索引操作时显示。
Using what we already know about CakePHP, create a basic Model, View, and Controller that will get the content of the words table and display them at the index action.
图7显示查询响应时间作为表中文档数(范围从1,000到100,000)的函数(不使用索引或索引表)。
Figure 7 shows the query response times as a function of the number of documents in the table, ranging from 1,000 to 100,000 documents (when no indexes or side tables are used).
对于本文的查询样例,图12显示了索引报告,它描述了引用表的现有索引。
For the sample query in this article, Figure 12 shows the index report, which describes the existing indexes of the referenced tables.
应用推荐