title: Storing data VS querying?
body: <p>I have an application that want to provide any information about how many people share apps via Social Network. My question, which method is better(in term of speed, efficiency, security and maintainability)? </p>
  
  <p>Method 1 :
  Provide one field(eg. apps_shared) in one table that contain the number of people who have shared this application, and every time user shared apps, i just updating existing value in field.</p>
  
  <p>Method 2 :
  Saving one record(contain time when sharing happened, and others data) when people share apps and count it when requiring the number of people who have shared application.</p>
  
  <p>Thanks for your help, any advice i appreciated it. Sorry for my bad English.</p>