Fork me on GitHub

Question on the new initialization stuff  Bottom

  • I've been trying to wrap my already-overstretched brain around the new initialization stuff in .760. Is there a guide on whatever method is being used?

    I think I've figured most of it, but the part that's confusing me is the "index" stuff. What does this refer to? How should I use it? Where are the chocolate chip cookies? wink
  • The scripts use the adodb data dictionary That might help you a little.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • That does help a lot, actually. So the index thing helps the selects and such perform faster, yes? Any good resources (besides the MySQL docs, which I'm reading now) or tutorials on indexing? I think I've got my primary keys indexed, but I'm not sure what else needs to be poked and prodded. :)
  • Quote

    but I'm not sure what else needs to be poked and prodded. Smile


    A good rule of thumb is if you are going to look up based on that field or sort based on that field index it. Hope that helps.
  • Anything you reguarly use in a WHERE clause is good. So, if you ever search by username for example.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Okay, I have a list of fields that I think I need to index. Some of them are text fields, though, not varchars. Is it possible to index them? I'm getting error messages and not sure why, but that seems like it might be a problem.

    (And yes, I checked the MySQL docs but couldn't find anything. .) :)

This list is based on users active over the last 60 minutes.