Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039213 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2018-09-03 09:02 | 2018-10-05 10:03 | |||
Reporter | ALopetegui | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 21fe2659eb36 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR17Q2 | SCM revision | ||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039213: Slow query in logical munin monitoring obmobc_logclient | |||||||
Description | There is a logigal monitoring pluging to obmobc_logclient which counts obmobc_logclient erros and is very slow because it needs an index. This is the query: SELECT 'errors', count (*) FROM obmobc_logclient WHERE loglevel = 'Error'; It takes 8 seconds on average and 1 minute maximum. | |||||||
Steps To Reproduce | High volume of data in obmobc_logclient and run the query above. | |||||||
Proposed Solution | Create Partial Index: on obmobc_logclient (loglevel) where loglevel = 'ERROR' | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue 39213 source mobilecore.patch [^] (1,141 bytes) 2018-09-10 07:46 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0106749) hgbot (developer) 2018-09-13 15:34 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: ac60ad1039af1091dd8e05610300b6b9e74121d6 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Sep 13 19:04:00 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ac60ad1039af1091dd8e05610300b6b9e74121d6 [^] Fixed issue 39213 : Added Partial Index to Logclient table for loglevel as error --- M src-db/database/model/tables/OBMOBC_LOGCLIENT.xml --- |
(0107112) ALopetegui (reporter) 2018-10-02 10:35 |
The where clause must be 'Error' instead of 'ERROR' because loglevel column has 'Error' values in OBMOBC_LOGCLIENT table. |
(0107113) ALopetegui (reporter) 2018-10-02 10:53 |
The where clause must be 'Error' instead of 'ERROR' because loglevel column has 'Error' values in OBMOBC_LOGCLIENT table. |
(0107167) hgbot (developer) 2018-10-05 08:20 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 21fe2659eb368a55008018f7b21f3ff9c99e83ee Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Oct 05 11:49:51 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21fe2659eb368a55008018f7b21f3ff9c99e83ee [^] Fixed issue 39213 : Added Partial Index to Logclient table for loglevel as Error * Partial index must be case sensitive, So LOGLEVEL should be 'Error' --- M src-db/database/model/tables/OBMOBC_LOGCLIENT.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-09-03 09:02 | ALopetegui | New Issue | |
2018-09-03 09:02 | ALopetegui | Assigned To | => Retail |
2018-09-03 09:02 | ALopetegui | Triggers an Emergency Pack | => No |
2018-09-03 09:40 | jorge-garcia | Resolution time | => 1537135200 |
2018-09-04 13:45 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-09-04 13:45 | ranjith_qualiantech_com | Status | new => scheduled |
2018-09-10 07:46 | ranjith_qualiantech_com | File Added: issue 39213 source mobilecore.patch | |
2018-09-13 15:34 | hgbot | Checkin | |
2018-09-13 15:34 | hgbot | Note Added: 0106749 | |
2018-09-13 15:34 | hgbot | Status | scheduled => resolved |
2018-09-13 15:34 | hgbot | Resolution | open => fixed |
2018-09-13 15:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ac60ad1039af1091dd8e05610300b6b9e74121d6 [^] |
2018-09-14 11:05 | marvintm | Review Assigned To | => marvintm |
2018-09-14 11:05 | marvintm | Status | resolved => closed |
2018-09-14 11:05 | marvintm | Fixed in Version | => RR18Q4 |
2018-10-02 10:36 | ALopetegui | Note Added: 0107112 | |
2018-10-02 10:53 | ALopetegui | Note Added: 0107113 | |
2018-10-02 10:53 | ALopetegui | Status | closed => new |
2018-10-02 10:53 | ALopetegui | Resolution | fixed => open |
2018-10-02 10:53 | ALopetegui | Fixed in Version | RR18Q4 => |
2018-10-05 08:19 | ranjith_qualiantech_com | Status | new => scheduled |
2018-10-05 08:20 | hgbot | Checkin | |
2018-10-05 08:20 | hgbot | Note Added: 0107167 | |
2018-10-05 08:20 | hgbot | Status | scheduled => resolved |
2018-10-05 08:20 | hgbot | Resolution | open => fixed |
2018-10-05 08:20 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ac60ad1039af1091dd8e05610300b6b9e74121d6 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21fe2659eb368a55008018f7b21f3ff9c99e83ee [^] |
2018-10-05 10:03 | marvintm | Status | resolved => closed |
2018-10-05 10:03 | marvintm | Fixed in Version | => RR19Q1 |
Copyright © 2000 - 2009 MantisBT Group |