Stop the url alias queries

In Drupal 4.7, we access the url_alias very often compared to 4.6, This was a wise decision for performance reasons, but it is annoying to see the devel.moduel query log clutterred with these queries. The solution is simple: empty your URL alias table and Drupal becomes smart enough to access it only once. This query will do it:


DELETE FROM url_alias

Tags:

Powered by Drupal, an open source content management system

About

Moshe WeitzmanMoshe Weitzman is a long time Drupal developer (since 2001). He manages groups.drupal.org and the Organic Groups module. His tiny company, Cyrve, specializes in data migration into Drupal. Read about his past projects (e.g. NY Observer) and contact him.

Moshe lives in Boston USA with his wife and 2 girls.

My Photos

Think!

Change Congress

Support CC - 2007

Support Obama 2008

Stop the Spying - EFF

Syndicate

Syndicate content