Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039407 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [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 | RR18Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 10949b2008f5 | ||||
Projection | none | ETA | none | Target Version | RR18Q4 | |||
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 | 0039407: 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 | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0107168) hgbot (developer) 2018-10-05 08:48 |
Repository: retail/backports/3.0RR18Q4/org.openbravo.mobile.core Changeset: 10949b2008f57f3bbbd456760ecdbf7226905dc7 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Oct 05 12:18:40 2018 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.mobile.core/rev/10949b2008f57f3bbbd456760ecdbf7226905dc7 [^] Fixed issue 39407 : 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-10-05 08:19 | ranjith_qualiantech_com | Type | defect => backport |
2018-10-05 08:19 | ranjith_qualiantech_com | Target Version | => RR18Q4 |
2018-10-05 08:48 | hgbot | Checkin | |
2018-10-05 08:48 | hgbot | Note Added: 0107168 | |
2018-10-05 08:48 | hgbot | Status | scheduled => resolved |
2018-10-05 08:48 | hgbot | Resolution | open => fixed |
2018-10-05 08:48 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ac60ad1039af1091dd8e05610300b6b9e74121d6 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.mobile.core/rev/10949b2008f57f3bbbd456760ecdbf7226905dc7 [^] |
2018-10-05 10:03 | marvintm | Status | resolved => closed |
2018-10-05 10:03 | marvintm | Fixed in Version | => RR18Q4 |
Copyright © 2000 - 2009 MantisBT Group |