对于我使用的任何网站,它是我确保存在的一项内容,因为性能影响很大(很多时候有了操作码缓存,响应时间可减少一半)。
For any website I work with, it's the one thing I make sure is present, since the performance impact is huge (many times with response times half of what they are without an opcode cache).
例如,如果您有3个分区,键的散列码为7,7除以3得2余1,所以项应该位于分区1。
For example, if you have three partitions, and your key's hash code is 7, then 7 divided by 3 is 2, remainder 1, so the item goes in and comes from partition 1.
假设您添加了一个新的状态码waituntiltomorrow,并将它应用到todo_foreign表(包含外键的表1)中的某一项。
Let's say you add a new status code, waituntiltomorrow, and apply it to one item in the todo_foreign table (table 1, with the foreign keys).
应用推荐