Forum

Low speed when load...
 
Notifications
Clear all

Low speed when loading.

8 Posts
2 Users
0 Reactions
10.1 K Views
(@vanlele)
Posts: 10
Active Member
Topic starter
 
[#4487]

Hi,

My projeqtor is running on local Xampp.

The total activities we created is about 9,000 item. And i see the sofware start to run low.

It need 15 seconds to load info of activities when i click, the same for other request.

My server PC i is core i5, ram 16Gb.

Can you tell me why it too low speed please, how to speed up?

Thanks.


 
Posted : 10 Jul 2017 9H33
(@babynus)
Posts: 14952
Member Admin
 

Difficult to investigate with so little information.

First, whan you say "access to activities" do you mean get the list or get the detail of one activity ?


 
Posted : 10 Jul 2017 10H52
(@vanlele)
Posts: 10
Active Member
Topic starter
 

The same for listing activities and show info.

Even when i update activites info, it need about 8 seconds.

Thanks.


 
Posted : 10 Jul 2017 11H17
(@babynus)
Posts: 14952
Member Admin
 

I can confirm this is not normal.
For instance you can test http://perfs.projeqtor.org, with about 10000 activities.
Listing all activities is less than 3 seconds.
Getting detail for 1 activity is abot 1 second.

Check log file for errors of too verbuous logging.
You can possibly check log files for mysql and activite the "long query logging" to check which queries are long.
Check your CPU, and HDD accees.
Maybe it's just configuration of mysql allowing too small cache...
It's difficult to help more without investigating on the machine.


 
Posted : 10 Jul 2017 22H29
(@vanlele)
Posts: 10
Active Member
Topic starter
 

I have found a lot long query like this:

2017-07-11 08:25:40.642 ----- DEBUG ----- 5.208813;select * from history where (refType, refId) in ( ('x',0), ('Activity', 8855), ('ActivityPlanningElement', 9975)) order by operationDate desc, id asc

Can you help me to fix it please?


 
Posted : 11 Jul 2017 6H06
(@vanlele)
Posts: 10
Active Member
Topic starter
 

Dear Babynus

In attachment is log file, its record only time for update name of activites.

To load activites info now its just take 4 seconds. Then i change name of activities and save, it took 50 seconds.

Please help.


 
Posted : 11 Jul 2017 8H50
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I cannot see any long query in the log file...

About previous query report, try and disable display of history (change user parameter) : is it better ?
Check indexes existing on table history, what do you have ?


 
Posted : 11 Jul 2017 16H00
(@vanlele)
Posts: 10
Active Member
Topic starter
 

All history in user parameter is set to NO.

HISTORY table have indexes: id, refType, refId.

When i insert or delete activities, its usually take 15 seconds; to load Planning screen take over 2 minutes.

Regards,


 
Posted : 12 Jul 2017 6H10
Share:

Scroll to Top