• Grégory Wisniewski's avatar
    Make partition part of the SQL index. · 2db4de86
    Grégory Wisniewski authored
    Better performances are expected because of the removal of all MOD() operators
    that would do a full scan to find the rows maching a given partition. Now a
    query like '... where partition = x limit 10' should match only a subtree of
    the table and not scan lots of rows if there is none matching this partition.
    
    git-svn-id: https://svn.erp5.org/repos/neo/trunk@2306 71dcc9de-d417-0410-9af5-da40c76e7ee4
    2db4de86
testStorageMySQLdb.py 32.2 KB