Announcement

Collapse
No announcement yet.

What happened to the custom fields?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ILoveHostasaurus
    replied
    You should not be utilizing direct database queries against Miva Merchant core tables, you should use function calls to interact with that data. Using database queries against core tables will not be reliable, and will introduce security issues. And you should in no way ever be altering the schema on tables you didn't create.

    Leave a comment:


  • Kent Multer
    replied
    Thanks, David. New indexes won't affect my modules -- or anyone else's. :^)

    And indexes on the value columns are a good feature. I've occasionally written modules that created these indexes, to speed up DB queries.

    Leave a comment:


  • dcarver
    replied
    We created an indexes sNN_CFMXXXValues_2 ON sNN_CFMXXXValues ( field_id, value ) on all the custom field value tables. We did this due to the fact that the module now only searches either value or value_long based on the passed in search length. This greatly improved performance on sites that had tens of millions custom field records.
    Last edited by dcarver; 09-06-23, 09:24 PM.

    Leave a comment:


  • Kent Multer
    started a topic What happened to the custom fields?

    What happened to the custom fields?

    I just ran the update wizard for Merchant version 10.07.02. It showed me this warning:

    Miva Merchant 10.07.02 makes changes to Custom Fields database tables
    What changes? I've written a lot of modules that work with these tables; I need to know what's been changed. The release notes mention some improvements in performance, but there's nothing about the changes to the tables.

    Thanks --



Working...
X