Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • At the end of the day, every extra index means another write to a disk (be it SSD or spinny). Adding a materialised view means another write, and possibly more reads (depending on the MV). The overhead doesn't sound unreasonable. Commented Dec 4, 2013 at 23:13
  • Thanks Phil - are you able to advise on the necessity of the indexes on the columns related to the primary keys on the source tables? I've checked my SQL explain plans and they don't use them, I'd originally added them in case they were needed to speed up the synching process on the MQT with the source tables (MQT is live). Perhaps they're not needed? Commented Dec 5, 2013 at 3:43
  • What version of db2 are you using? Commented Jan 4, 2015 at 15:01