[Bb-trac] Re: [bbPress] #995: performance design flaw in bb_update_meta

bbPress bb-trac at lists.bbpress.org
Sat Nov 22 10:54:23 GMT 2008


#995: performance design flaw in bb_update_meta
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |        Owner:                    
     Type:  defect    |       Status:  new               
 Priority:  normal    |    Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |      Version:  0.9.0.2           
 Severity:  normal    |   Resolution:                    
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by _ck_):

 Does WordPress really work that way? If so, that's insane because it's a
 tremendous performance hit to not have a mysql key on the meta_key and
 just serialize the data inside if it's an array.

 To update a specific value in such a pseudo array using multiple rows, a
 plugin author would have to specify the old value and the new value,
 otherwise all values for the meta_key would be replaced (and duplicated).
 Is that functionality even in wordpress's update meta? I am not familiar
 with the newest versions but old versions didn't have it.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/995#comment:3>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list