| p_cat | sum(figure) |
| books | 7754933.3210 |
| car | 7757807.1538 |
| cosmetic | 7797828.1414 |
| electro | 7749172.6525 |
| fashion | 7800735.9866 |
| food | 7799165.1570 |
| sport | 7734439.1736 |
| d | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
| 1 | SIMPLE | time | ALL | PRIMARY | NULL | NULL | NULL | 14 | Using where; Using temporary; Using filesort |
| 1 | SIMPLE | fact | ref | PRIMARY | PRIMARY | 4 | star2.time.t_id | 25401 | Using where |
| 1 | SIMPLE | prod | eq_ref | PRIMARY | PRIMARY | 4 | star2.fact.p_id | 1 | |
| 1 | SIMPLE | customer | eq_ref | PRIMARY | PRIMARY | 4 | star2.fact.c_id | 1 | Using where |
| c_0_1 | c_0_2 | c_0_3 | c_0_4 |
| 7754933.3210 | 7757807.1538 | 7797828.1414 | 7749172.6525 |
| c_0_5 | c_0_6 | c_0_7 |
| 7800735.9866 | 7799165.1570 | 7734439.1736 |
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
| 1 | SIMPLE | fact_cub | ALL | NULL | NULL | NULL | NULL | 2540160 | Using where |