We currently have member URL's set to members/[user_name].html however this makes VBSEo use some truly terrible SQL to locate users e.g.
Of course due to the use of regexp here, it forces a full table scan which is crippling for sites such as ours with 100,000's of users.Code:select userid from user where username regexp "^(&[\\#\\da-z]*;|[^a-z\\d])*[nÑñ][aÀÁÂÃÄÅàáâãäå][nÑñ]d[oÒÓÔÕÖØòóôõöø](&[\\#\\da-z]*;|[^a-z\\d])+t[oÒÓÔÕÖØòóôõöø]rr[eÈÉÊËèéêë][sŠš](&[a-z]*;|[^a-z\\d])*$" limit 1
Surely a static map either added to the user table or created as a vbseo specific table should be whats used instead of this terrible SQL?


LinkBack URL
About LinkBacks





Reply With Quote