How fast is the query? You can make it parallel, but if it is sliw, the you have to target that first.
How big is the set of one user's all urls? How fast is to get this? Maybe adding some indexes may help How fast is the query with one pattern only? Maybe combining them into a "similar to '%(abc|def|ghi)%'" would be faster? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.