[wp-hackers] Options table' varchar 64.

Haluk Karamete halukkaramete at gmail.com
Tue Jun 24 17:27:27 UTC 2014


On the trac page (https://core.trac.wordpress.org/ticket/13310) , it is
said that "This schema change would have a significant impact on large WP
networks."

Could someone eloborate on this as to why the problem occurs on 'large WP
networks' as opposed to 'large WP sites'? So it's problematic on
multi-sites only?




On Tue, Jun 24, 2014 at 10:23 AM, Haluk Karamete <halukkaramete at gmail.com>
wrote:

> It makes total sense to me to do this on plug-in activation, as opposed to
> wp-config.
> Thank you for your advise.
>
>
> On Tue, Jun 24, 2014 at 7:06 AM, J.D. Grimes <jdg at codesymphony.co> wrote:
>
>> This is something that you need to change in the database table’s schema
>> directly. So you need to run a single ALTER TABLE query. You don’t want to
>> be running this every page load. If this is part of a plugin, you should do
>> it on activation.
>>
>> Also, see https://core.trac.wordpress.org/ticket/13310
>>
>> -J.D.
>>
>> On Jun 24, 2014, at 9:42 AM, Haluk Karamete <halukkaramete at gmail.com>
>> wrote:
>>
>> > Is there a harm to change the options table so that the field names for
>> the
>> > transients  can have varchar 128 as opposed to varchar 64  and  if
>> that's
>> > okay, what's the best way to do this?
>> >
>> > In other words, what would be  the best or the earliest hook for this
>> kind
>> > of s change? Or should this be done at wp-config?
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>


More information about the wp-hackers mailing list