DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: bk_realulr

Author:Robert Lemke
Created:2005-05-31T11:13:57
Changed:2005-11-09T09:20:44
Email:contact@brikou.com
Info 2:
Info 3:
Info 4:

EXT: bk_realulr

Extension Key: bk_realurl

Copyright 2000-2005, contact@brikou.com, <contact@brikou.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: bk_realulr 1

Introduction 1

What does it do? 1

Screenshots 1

Users manual 1

Logging slow queries with MySQL 1

Example of what you may find 1

Another example of slow querie 2

Administration 2

Configuration 2

Known problems 2

To-Do list 2

Changelog 2

Introduction

What does it do?

RealURL is a great extension, but when you deal with big website (hundreds or thousand pages generated like www.lyrics-of.com ) you can face the problem of slow queries. So this extension extends 'RealURL' in order to accelerate MySQL by adjusting table structure. This extension works with RealURL 1.0.0. and be aware that alias is now limited to 255 characters.

In the case study of this famous lyrics website the time saved was about 60-80%. You are invited to give feedback (in “user annotations” section) about your website size and the gain you've made using this extension.

Screenshots

What is done during installation :

img-1

Users manual

Logging slow queries with MySQL

If you're not sure that your slow problem comes from RealURL, you can try amphisize slo queries by adjusting your MySQL configuration file 'my.cnf' by adding these lines (self explicit I guess):

log-slow-queries=/var/log/mysqld/mysqld-slow.loglog-long-formatlong- query-time=1

Example of what you may find

# Time: 051108 21:50:05# User@Host: root[root] @ localhost []# Query_time: 2 Lock_time: 0 Rows_sent: 0 Rows_examined: 314085

SELECT value_aliasFROM tx_realurl_uniqaliasWHEREvalue_id=''AND field_alias='title'AND field_id='uid'AND tablename='tx_myextension'AND lang=0AND expire=0;

Another example of slow querie

# Time: 051108 23:15:39# User@Host: root[root] @ localhost []# Query_time: 2 Lock_time: 0 Rows_sent: 0 Rows_examined: 314085

SELECT value_idFROM tx_realurl_uniqaliasWHEREvalue_alias=''AND field_alias='title'AND field_id='uid'AND tablename='tx_myextension'AND (expire=0 OR expire>1131488137);

Administration

There's nothing to do because this extension manage only a database update...

Configuration

No configuration is required.

Known problems

Because of database index generation, we have to specify the maximum length of blob values. This means that uniqalias are now limited (truncated during update) to the maximum of 255 characters (enough for most case).

To-Do list

Nothing to be done or maybe I'm wrong, contact me if you wish or visit my website : www.brikou.com and leave me a comment in my guestbook.

Changelog

1.0.0 – First public release : ALTERATION of table tx_realurl_uniqalias in order to add 2 usefull KEYs

img-2 EXT: bk_realulr - 2