How to design the statistical tables of various data in the CRM system?

Source: Internet
Author: User
The company is doing a CRM system. There is a lot of data in the statistics that need to be recorded in the database.
For example, record each employee's number of customers per day, track the number of records, whether the number of customers per day, tracking the number of records is the standard.
The current scenario is two:
1. These statistics are recorded in a single table.
2. Each statistic is recorded separately in a single table.
Don't know that way better? Or is there another better, more complete way to implement it?
Have you ever done this kind of function of the great God, give some advice, in this extremely grateful

Reply content:

The company is doing a CRM system. There is a lot of data in the statistics that need to be recorded in the database.
For example, record each employee's number of customers per day, track the number of records, whether the number of customers per day, tracking the number of records is the standard.
The current scenario is two:
1. These statistics are recorded in a single table.
2. Each statistic is recorded separately in a single table.
Don't know that way better? Or is there another better, more complete way to implement it?
Have you ever done this kind of function of the great God, give some advice, in this extremely grateful

Suggest the background to open the timing statistics

If considering the later data volume is larger, it is recommended to put separately in each table, because the late data volume, the table is to be split, it is better to split up now. Don't forget to build related indexes.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.