joomla / statistics-server

Server for collecting environment stats for Joomla Installations
GNU General Public License v2.0
11 stars 17 forks source link

Change of PK #13

Closed alikon closed 9 years ago

alikon commented 9 years ago

Used a natural PK unique_id instead of id As discussed on Sql WG on glip Is more performant to use a natural PK like unique_id instead of id cause we need to know if an unique_id already exits to decide if insert or update the #__jstats table so is better to use unique_id as a PK instead of adding another key

ps The perfomance may vary a lot depending on server settings, so if we are concerned about performance I think this is a good use case to use Redis instead is superfast

alikon commented 9 years ago

yes, removed