Raised This Month: $51 Target: $400
 12% 

How to disable awards? + InnoDB question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 09-08-2013 , 06:41   How to disable awards? + InnoDB question
Reply With Quote #1

I'd like to disable the awards system because I have no use for it.
How should I go to do this and not break everything ?

Also has someone tried the InnoDB storage engine instead of MyISAM for hlstats ?
__________________
AeroAcrobat is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 09-08-2013 , 15:06   Re: How to disable awards? + InnoDB question
Reply With Quote #2

Do not run the hl_awards.pl

And yes I have moved the new version over the InnoDB because of the performance jump.
__________________
Mavrick4283 is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 09-09-2013 , 05:14   Re: How to disable awards? + InnoDB question
Reply With Quote #3

Quote:
Originally Posted by Mavrick4283 View Post
Do not run the hl_awards.pl
but the hl_awards.pl script is also responsible for maintaining & optimizing the database.

I've seen in the script:
Code:
 Actions (specify none or more, default -iarp):
I'm simply going to edit the parameter in my cron job.

Quote:
Originally Posted by Mavrick4283 View Post
And yes I have moved the new version over the InnoDB because of the performance jump.
We've converted everything to InnoDB. Performance was good but the ingame response time, if you say "rank", was really slow. From 3 seconds up to 1 minute until the rank was shown ingame. I don't know why ...

A manual sql query was super fast.

Additionally I'd like to ask if you are looking for beta testers at this moment ?
Thanks!
__________________

Last edited by AeroAcrobat; 09-09-2013 at 05:16.
AeroAcrobat is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 09-09-2013 , 08:14   Re: How to disable awards? + InnoDB question
Reply With Quote #4

Quote:
Originally Posted by AeroAcrobat View Post
but the hl_awards.pl script is also responsible for maintaining & optimizing the database.
Run with -p and -o, that should work and not calculate times etc..
Rytis is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 09-09-2013 , 16:03   Re: How to disable awards? + InnoDB question
Reply With Quote #5

Quote:
Originally Posted by AeroAcrobat View Post
We've converted everything to InnoDB. Performance was good but the ingame response time, if you say "rank", was really slow. From 3 seconds up to 1 minute until the rank was shown ingame. I don't know why ...

A manual sql query was super fast.

Additionally I'd like to ask if you are looking for beta testers at this moment ?
Thanks!
Converting the DB to InnoDB is not something you do for all the tables, MySAM has much higher read times but InnoDB can write faster (to over simplify it). So that is why you were seeing the difference, that you have to create new key's and index (most of the time) to get the most out of the different engine.

TBH I am not a database admin, I have my degree in network security. So all the SQL I leave up to my friend who is much better at DB design. So if it sounds like I am talking out my it is because I am repeating what I have been told.
__________________
Mavrick4283 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode