I Guess it would help, I'd do it
Aug 7, 2016
5
Level 1
Need advice for database table
Hi,
Right now I'm building an ecommerce site and there will be statistics using Laravel and MariaDB.
My question is: Right now I have Transactions and Transaction Summary table. Every time transaction is made I will save to those tables.
Do I really need Transaction Summary tables to increase my speed when load statistics page (I don't need to SUM all the transactions amount)?
Thanks.
Level 32
it all depends on what you want to show, if you HAVE to show current data I'd recomand update it everytime you make new transiction, otherwise use Cronjob
Please or to participate in this conversation.