Openbravo Issue Tracking System - Modules | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0038291 | Modules | External Data Integration | public | 2018-04-06 14:42 | 2018-04-13 09:28 | ||||||||
| Reporter | umartirena | ||||||||||||
| Assigned To | caristu | ||||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||||||
| Status | closed | Resolution | fixed | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Merge Request Status | |||||||||||||
| Regression date | |||||||||||||
| Regression introduced by commit | |||||||||||||
| Regression level | |||||||||||||
| Review Assigned To | alostale | ||||||||||||
| Support ticket | |||||||||||||
| OBNetwork customer | OBPS | ||||||||||||
| Regression introduced in release | |||||||||||||
| Summary | 0038291: Log Clean Up process doesn't finish deleting C_IMPORT_ENTRY_ARCHIVE table with big amount of data | ||||||||||||
| Description | Log Clean Up process doesn't finish deleting C_IMPORT_ENTRY_ARCHIVE table with big amount of data. The problem happens when there are lot of records in OBEDL_REQUEST_LINE table that has a foreign key to C_IMPORT_ENTRY_ARCHIVE. Same issue can happen with C_IMPORT_ENTRY_ID column. (In ImportEntryArchiveThread as it deletes from c_import_entry table triggering same seq-scan) -> Already visible with 500ms avg time of pgbadger for delete of c_import_entry probably coming from that (2nd indicator is very high number of seq-scans of obedl_request_line table) | ||||||||||||
| Steps To Reproduce | - | ||||||||||||
| Proposed Solution | CREATE INDEX OBEDL_REQ_LINE_IEA_IDX ON public.obedl_request_line USING btree (c_import_entry_archive_id COLLATE pg_catalog."default") WHERE c_import_entry_archive_id is not null CREATE INDEX OBEDL_REQ_LINE_IE_IDX ON public.obedl_request_line USING btree (c_import_entry_id COLLATE pg_catalog."default") WHERE c_import_entry_id is not null | ||||||||||||
| Additional Information | |||||||||||||
| Tags | Performance | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2018-04-06 14:42 | umartirena | New Issue | |||||||||||
| 2018-04-06 14:42 | umartirena | Assigned To | => platform | ||||||||||
| 2018-04-06 14:42 | umartirena | OBNetwork customer | => No | ||||||||||
| 2018-04-06 14:52 | shuehner | Resolution time | => 1524780000 | ||||||||||
| 2018-04-06 14:52 | shuehner | OBNetwork customer | No => Yes | ||||||||||
| 2018-04-06 14:52 | shuehner | Note Added: 0103714 | |||||||||||
| 2018-04-06 14:52 | shuehner | Description Updated | bug_revision_view_page.php?rev_id=16959#r16959 | ||||||||||
| 2018-04-06 14:52 | shuehner | Tag Attached: Performance | |||||||||||
| 2018-04-06 15:10 | caristu | Assigned To | platform => caristu | ||||||||||
| 2018-04-09 11:27 | hgbot | Checkin | |||||||||||
| 2018-04-09 11:27 | hgbot | Note Added: 0103748 | |||||||||||
| 2018-04-09 11:27 | hgbot | Status | new => resolved | ||||||||||
| 2018-04-09 11:27 | hgbot | Resolution | open => fixed | ||||||||||
| 2018-04-09 11:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/b490bc5d7ca89187d8353fee260b67cd5b010571 [^] | ||||||||||
| 2018-04-09 11:27 | hgbot | Checkin | |||||||||||
| 2018-04-09 11:27 | hgbot | Note Added: 0103749 | |||||||||||
| 2018-04-09 11:30 | caristu | Review Assigned To | => alostale | ||||||||||
| 2018-04-13 09:23 | alostale | Relationship added | related to 0038289 | ||||||||||
| 2018-04-13 09:28 | alostale | Note Added: 0103869 | |||||||||||
| 2018-04-13 09:28 | alostale | Status | resolved => closed | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||