Skip to main content
added [query-performance] to 2412 questions - Shog9 (Id=1924)
Link
replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link

In relation to another postanother post of mine regarding slow performance for an averaging query on a table with ~30 million rows, I tried creating a summary table to store the averages.

The scores are inserted every 10 minutes over time. In responseresponse to ypercube, I created a summary table with the constraint unique(member_id, date) for quicker access during a graphing process.

In relation to another post of mine regarding slow performance for an averaging query on a table with ~30 million rows, I tried creating a summary table to store the averages.

The scores are inserted every 10 minutes over time. In response to ypercube, I created a summary table with the constraint unique(member_id, date) for quicker access during a graphing process.

In relation to another post of mine regarding slow performance for an averaging query on a table with ~30 million rows, I tried creating a summary table to store the averages.

The scores are inserted every 10 minutes over time. In response to ypercube, I created a summary table with the constraint unique(member_id, date) for quicker access during a graphing process.

Spelling error
Source Link
  1. Somehow using a CTE or variable(?) for COALESCE(members.zone, 'Etc/UTC'))

  2. Find a different way to handle DUPLICATE KEY exceptions for entries that have the same member_id and date (i.e., replace WHERE NOT EXISTS(...) with something else)

  1. Somehow using a CTE or variable(?) for COALESCE(members.zone, 'Etc/UTC'))

  2. Find a different way to handle DUPLICATE KEY exceptions for entries that have the same member_id and date (i.e., replace WHERE NOT EXISTS(...) with something else)

  1. Somehow using a CTE or variable(?) for COALESCE(members.zone, 'Etc/UTC')

  2. Find a different way to handle DUPLICATE KEY exceptions for entries that have the same member_id and date (i.e., replace WHERE NOT EXISTS(...) with something else)

Source Link
Loading