TOURNAMENT -- SHINE A LIGHT ON NF. |
Post Reply | Page <1 1011121314 19> |
Author | |
Digioso
Forum Warrior Joined: 09 Feb 2015 Location: Germany Status: Offline Points: 312 |
Post Options
Thanks(0)
|
Some little database optimisations can work wonders sometimes. :)
In some cases it might be better to NOT rely on the 3rd normal form of databases because that involves a lot of joining between different tables to get the data you want. |
|
Tensmoor
Postmaster General Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1830 |
Post Options
Thanks(0)
|
Ahh! The 'black art' of database design |
|
Digioso
Forum Warrior Joined: 09 Feb 2015 Location: Germany Status: Offline Points: 312 |
Post Options
Thanks(0)
|
Indeed. :)
We've got a table for general reports, one for armies and one for divisions. The division table has the actual troop numbers. Getting that number means doing a join between the general report and the army table and then again with the division table. And that's taking way too long for the amount of data we have. So I just added the troop and attacker/defender data to the general reports as well. Problem solved. :) The army & division tables are still filled because with these we can provide more detailed statistics in case we want them. |
|
Yitshak
Wordsmith Joined: 28 Apr 2016 Status: Offline Points: 179 |
Post Options
Thanks(0)
|
the data for Laoshin - 907|280 - hasn't updated. Last recorded event is at 06:30:27
Although the table at the bottom appears to have up to date data
|
|
kodabear
Postmaster General Player Council - Astronomer Joined: 18 Jun 2013 Location: Lucerna Status: Offline Points: 1515 |
Post Options
Thanks(0)
|
Edited by kodabear - 27 May 2016 at 16:03 |
|
Yitshak
Wordsmith Joined: 28 Apr 2016 Status: Offline Points: 179 |
Post Options
Thanks(0)
|
Ah, ofc. If the tile was not occupied, there would be no battle when the next army arrived.
It just seemed like a long lul in the activity there. That tile has to be up there among the most contested so far... didn't expect it would be taken without a fight. I'll check with the guy who landed there to see if it was unopposed, my guess is that nothing happened between crows nest attack and TCol occupy. Once again thanks. And by the way, the latest generation of the tourney site is super |
|
kodabear
Postmaster General Player Council - Astronomer Joined: 18 Jun 2013 Location: Lucerna Status: Offline Points: 1515 |
Post Options
Thanks(0)
|
Hello everyone. We are aware that sqs are now showing up as no one on them even though people are on them. We are looking into why this is and are working into fixing this
|
|
lordzeal
New Poster Joined: 14 Aug 2015 Location: Canada Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Koda you still need those reports? I should have them as I was on the sq til 13:55
|
|
lordzeal
New Poster Joined: 14 Aug 2015 Location: Canada Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Actually sorry there was no battles during that time frame, as I did land at 27 May 2016 07:57 and the first attack was 27 May 2016 13:15 |
|
kodabear
Postmaster General Player Council - Astronomer Joined: 18 Jun 2013 Location: Lucerna Status: Offline Points: 1515 |
Post Options
Thanks(0)
|
If you are talking about the sq in Laoshin. No i dont
|
|
Post Reply | Page <1 1011121314 19> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |