[TASK] Add index to sys_category 75/26775/3
authorIngo Schmitt <is@marketing-factory.de>
Mon, 13 Jan 2014 09:28:37 +0000 (10:28 +0100)
committerBenjamin Mack <benni@typo3.org>
Mon, 13 Jan 2014 13:27:38 +0000 (14:27 +0100)
commit1044c801a47b07089369dd5a278949e307f8b487
tree9c662b23724981e728ed40d14d74cd1381c02d6f
parentcca2d70043cc3b724f159f7741fc4ae10c3e1cb6
[TASK] Add index to sys_category

All page, content and file-records TCEforms render a category
tree in order to assign these. The tree building executes the
same queries quite often. In order to optimize these queries
this change adds
* an index "category_parent" to sys_category.parent in order
  to for the parent category while index "parent" currently
  indexes the pid the record is stored.

* a combined index "category_list" to columns pid, deleted
  and sys_language_uid.

Resolves: #54929
Releases: 6.2
Change-Id: I1d42ba7171dc1213d5d5559ae190092acaa57464
Reviewed-on: https://review.typo3.org/26775
Reviewed-by: Oliver Klee
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/core/ext_tables.sql