mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Add covering indexes to support super-size deployments
Resolves issues for enterprise customers with tonnes of data in these SQL tables: - dmz_doc - dmz_section Multi-tenant compliant.
This commit is contained in:
parent
74300b009b
commit
6629d76453
7 changed files with 1116 additions and 1061 deletions
|
@ -243,7 +243,7 @@ func (s Store) GetPageMeta(ctx domain.RequestContext, pageID string) (meta page.
|
|||
c_orgid AS orgid, c_userid AS userid, c_docid AS documentid,
|
||||
c_rawbody AS rawbody, coalesce(c_config,`+s.EmptyJSON()+`) as config,
|
||||
c_external AS externalsource, c_created AS created, c_revised AS revised
|
||||
FROM dmz_section_meta
|
||||
FROM dmz_section_meta
|
||||
WHERE c_orgid=? AND c_sectionid=?`),
|
||||
ctx.OrgID, pageID)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue