Setting the debug variable in a connection uri (SO) you can debug your db querys
example:
mysql://host/database?debug=1

This is usefull for execute a explain plan* of query execution,
redefine index in your db or refactor into better querys.

* PostgreSQL: http://www.postgresql.org/docs/7.4/interactive/sql-explain.html
* MySQL: http://dev.mysql.com/doc/refman/5.0/en/explain.html

Thanks for the doc page ;-)

2007/2/7, lateef jackson <[EMAIL PROTECTED]>:
> I want to take this opportunity to ask for some help. Right now I am working
> a draft for Optimization for TG. If anyone can fire away and email me on or
> off the list with topics suggestions or what every I am going to try and
> cover things based on most common performance errors (bad queries, excessive
> looping ect) and low hanging fruit (built in SQLObject caching, Cheetah
> cache ect) first. After that we can cover more advanced topics.
>
> Thanks,
> Lateef
>
>
> On 2/6/07, Alrond <[EMAIL PROTECTED]> wrote:
> >
> > I have conducted the small additional test.
> > So by requests I tested TurboGears with various template engines: Kid,
> > Cheetah, Genshi and Jinja
> >
> http://www.alrond.com/en/2007/feb/04/in-addition-to-the-test-of-mvc-frameworks/
> >
> >
> >
> >
> >
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to