Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:optimization:caches:home [2012/02/07 00:16]
doc
admin:optimization:caches:home [2016/06/28 22:38] (current)
Line 17: Line 17:
 ==== Overview ==== ==== Overview ====
  
-Caching is a common method of optimizing queries in Omnidex, ​as with other relational databases. ​ Omnidex works with caching in three areas:+Caching is a common method of optimizing queries in Omnidex, ​similar to the relational databases. ​ Omnidex works with caching in three areas:
  
   * **Data Caching** - Omnidex creates temporary caches of data during some query processing in order to minimize access to the underlying database. ​ Typically, this occurs when smaller tables are joined to from a much larger table, such as in a star schema data warehouse where a fact table joins to many dimension and snowflake tables. ​ In these cases, Omnidex will load the smaller tables into a hashed data cache, allowing the join to occur in memory rather than requiring repeated access to the disk.   * **Data Caching** - Omnidex creates temporary caches of data during some query processing in order to minimize access to the underlying database. ​ Typically, this occurs when smaller tables are joined to from a much larger table, such as in a star schema data warehouse where a fact table joins to many dimension and snowflake tables. ​ In these cases, Omnidex will load the smaller tables into a hashed data cache, allowing the join to occur in memory rather than requiring repeated access to the disk.
  
-  * **Qualification Caching** - Omnidex is able to recognize patterns in queries, and will try to reuse previous ​qualifications when appropriate. ​ A very common scenario involves a succession of SQL statements, each of which adds another piece of criteria. ​ Another ​common ​scenario involves queries that begin with requesting a count of rows, and then either ​asks for aggregations or detailed rows using the same criteria. ​ In both of these cases, Omnidex is able to reuse earlier qualifications,​ greatly improving performance.+  * **Qualification Caching** - Omnidex is able to recognize patterns in queries, and will reuse qualifications ​from the previous query when appropriate. ​ A common scenario involves a succession of SQL statements, each of which adds another piece of criteria. ​ Another scenario involves queries that begin with requesting a count of rows, and then either ​requests ​for aggregations or detailed rows using the same criteria. ​ In both of these cases, Omnidex is able to reuse earlier qualifications,​ greatly improving performance.
  
-  * **Filesystem Caching** - Omnidex relies on file caching ​from the operating system in order to achieve high performance. ​ This file caching is performed automatically by the operating system ​and benefits Omnidex, but only if certain memory requirements are met.+  * **Filesystem Caching** - Omnidex relies on filesystem ​caching ​managed by the operating system in order to achieve high performance. ​ This filesystem ​caching is automatic ​and benefits Omnidex, but only if certain memory requirements are met.
  
-All of these caches ​are designed ​to support standard ​Omnidex applications,​ and they are activated automatically. ​ These caches ​also reflect ​that Omnidex is most frequently used in read-only environments.  These caches can be deactivated in read-write environments as needed.+All of these caching techniques ​are available ​to all Omnidex applications,​ and they are activated automatically. ​ These techniques ​also take advantage of the fact that Omnidex is most frequently used in read-only environments. ​
  
 =====  ===== =====  =====
Line 35: Line 35:
 ====== Additional Resources ====== ====== Additional Resources ======
 See also: See also:
-{{page>:​admin:​indexing:​see_also&​nofooter&​noeditbtn}}+{{page>:​admin:​optimization:​see_also&​nofooter&​noeditbtn}}
  
 {{page>:​bottom_add&​nofooter&​noeditbtn}} {{page>:​bottom_add&​nofooter&​noeditbtn}}
 
Back to top
admin/optimization/caches/home.1328573786.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)