Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023648Openbravo ERPA. Platformpublic2013-04-25 18:252013-04-30 12:05
egoitz 
alostale 
urgentmajoralways
closedfixed 
5
 
 
shankarb
No
Core
No
0023648: index missing on ad_session
Index missing on ad_session

In a professional instance with limitation on concurrent users.

Execute

select * from pg_stat_reset();

Then login the application

then execute:
select * from pg_stat_user_tables order by seq_tup_read desc;

See that a sequencial read is done
CREATE INDEX ad_session_logstatus
  ON ad_session
  USING btree
  (Login_Status);
Performance
Issue History
2013-04-25 18:25egoitzNew Issue
2013-04-25 18:25egoitzAssigned To => AugustoMauch
2013-04-25 18:25egoitzModules => Core
2013-04-25 18:25egoitzOBNetwork customer => No
2013-04-25 18:25egoitzTriggers an Emergency Pack => No
2013-04-25 18:26egoitzProposed Solution updated
2013-04-26 07:42alostaleTag Attached: Performance
2013-04-26 10:15alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4618#r4618
2013-04-26 10:15alostaleAssigned ToAugustoMauch => alostale
2013-04-26 10:19hgbotCheckin
2013-04-26 10:19hgbotNote Added: 0058272
2013-04-26 10:19hgbotStatusnew => resolved
2013-04-26 10:19hgbotResolutionopen => fixed
2013-04-26 10:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cc13ee201af82e14856d3c496deeaa4780b8a6a2 [^]
2013-04-26 10:20alostaleReview Assigned To => shankarb
2013-04-26 23:54hudsonbotCheckin
2013-04-26 23:54hudsonbotNote Added: 0058293
2013-04-30 12:05shankarbNote Added: 0058341
2013-04-30 12:05shankarbStatusresolved => closed

Notes
(0058272)
hgbot   
2013-04-26 10:19   
Repository: erp/devel/pi
Changeset: cc13ee201af82e14856d3c496deeaa4780b8a6a2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 26 10:19:18 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cc13ee201af82e14856d3c496deeaa4780b8a6a2 [^]

fixed bug 23648: added index on ad_session

---
M src-db/database/model/tables/AD_SESSION.xml
---
(0058293)
hudsonbot   
2013-04-26 23:54   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1db7e66bd5c5 [^]

Maturity status: Test
(0058341)
shankarb   
2013-04-30 12:05   
Code reviewed and tested in pi changeset 5521f678e840