Skip to content

Commit 4b567f7

Browse files
julitafalconduszadabrt
authored andcommitted
Releases: v5.0.3 & v4.6.25
1 parent 27da767 commit 4b567f7

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

docs/update_and_migration/from_4.6/update_from_4.6.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,31 @@ No additional steps needed.
431431

432432
With the product updated to the latest version, you can now finish the update process or proceed to updating the LTS Updates packages.
433433

434+
## v4.6.25
435+
436+
### Form Builder performance fix: missing indexes on form submission data
437+
438+
In large production databases, the `ezform_form_submission_data` table may contain a lot of rows.
439+
Missing indexes can cause high CPU load and slow queries.
440+
441+
Run the provided SQL upgrade script to add the missing indexes to your database:
442+
443+
=== "MySQL"
444+
445+
``` sql
446+
ALTER TABLE `ezform_form_submissions` ADD INDEX `ibexa_form_fs_cid_lc` (`content_id`, `language_code`);
447+
ALTER TABLE `ezform_form_submissions` ADD INDEX `ibexa_form_fs_cid_lc_cr_id_uid` (`content_id`, `language_code`, `created`, `user_id`);
448+
ALTER TABLE `ezform_form_submission_data` ADD INDEX `ibexa_form_fsd_si` (`form_submission_id`);
449+
```
450+
451+
=== "PostgreSQL"
452+
453+
``` sql
454+
CREATE INDEX "ibexa_form_fs_cid_lc" ON "ezform_form_submissions" ("content_id", "language_code");
455+
CREATE INDEX "ibexa_form_fs_cid_lc_cr_id_uid" ON "ezform_form_submissions" ("content_id", "language_code", "created", "user_id");
456+
CREATE INDEX "ibexa_form_fsd_si" ON "ezform_form_submission_data" ("form_submission_id");
457+
```
458+
434459
## LTS Updates
435460

436461
[LTS Updates](https://doc.ibexa.co/en/4.6/ibexa_products/editions/#lts-updates) are standalone packages with their own update procedures.

docs/update_and_migration/from_5.0/update_from_5.0.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,28 @@ On Commerce, run this additional update queries:
128128
CREATE INDEX ibexa_discount_indexed_at_idx
129129
ON ibexa_discount (indexed_at);
130130
```
131+
132+
## v5.0.3
133+
134+
### Form Builder performance fix: missing indexes on form submission data
135+
136+
In large production databases, the `ezform_form_submission_data` table may contain a lot of rows.
137+
Missing indexes can cause high CPU load and slow queries.
138+
139+
Run the provided SQL upgrade script to add the missing indexes to your database:
140+
141+
=== "MySQL"
142+
143+
``` sql
144+
ALTER TABLE `ezform_form_submissions` ADD INDEX `ibexa_form_fs_cid_lc` (`content_id`, `language_code`);
145+
ALTER TABLE `ezform_form_submissions` ADD INDEX `ibexa_form_fs_cid_lc_cr_id_uid` (`content_id`, `language_code`, `created`, `user_id`);
146+
ALTER TABLE `ezform_form_submission_data` ADD INDEX `ibexa_form_fsd_si` (`form_submission_id`);
147+
```
148+
149+
=== "PostgreSQL"
150+
151+
``` sql
152+
CREATE INDEX "ibexa_form_fs_cid_lc" ON "ezform_form_submissions" ("content_id", "language_code");
153+
CREATE INDEX "ibexa_form_fs_cid_lc_cr_id_uid" ON "ezform_form_submissions" ("content_id", "language_code", "created", "user_id");
154+
CREATE INDEX "ibexa_form_fsd_si" ON "ezform_form_submission_data" ("form_submission_id");
155+
```

0 commit comments

Comments
 (0)