Forums

comment_count seems unnecessary (2 posts)

  1. dopple
    Member
    Posted 2 months ago #

    Why is there a column in the posts table for column count? I would have thought that should be worked out by the program rather than stored in the database.

  2. esmi
    Member
    Posted 2 months ago #

    Performance. Calculating the count every time that page is viewed is more more processor intensive than calculating it once and storing it the database.

Reply

You must log in to post.

About this Topic