Archive for September 2nd, 2008
Tuesday, September 2nd, 2008
Got some problems with a client's mysql database. Some processes were 'blocking' the rest. No heavy server load or anything. So after checking and optimizing a few key Moodle tables performance was back on track:
CHECK TABLE mdl_user / mdl_course_sections / mdl_log
OPTIMIZE TABLE mdl_user / mdl_course_sections / mdl_log
Seems logical as with ...
Posted in BrnDmp | No Comments »
Tuesday, September 2nd, 2008
Got a strange issue after installing a new Moodle on our shared server:
I suspected this was due to some MaxClients (Apache) or max_connection (postgres) setting and after a bit of googling I found out that that was the case:
This is a common problem when there are more apache processes than ...
Posted in BrnDmp | No Comments »
Tuesday, September 2nd, 2008
INHERITANCE APPROACH
- Advantage
- easy to inherit an implementation
- Disadvantage
- may be difficult to adapt to changing roles
INTERFACE APPROACH
- Advantages
- can be clearer what methods must be implemented.
- A class in another inheritance hierarchy can provide the services of an interface.
- Disadvantage
- may end up with lots of helper classes.
Things to ...
Posted in BrnDmp | No Comments »