identity - strange query (profile)

0 views
Skip to first unread message

Glauco

unread,
Mar 25, 2008, 7:45:38 AM3/25/08
to turbo...@googlegroups.com
I've noticed that my application do one or more query over identity
mapper for each request..

this cause an unexplainable DB load

is this normal ?


PS:
in this documentation
http://docs.turbogears.org/1.0/RoughDocs/Optimization

"profiling" is based over profile module but this is obsolete

http://docs.python.org/lib/node794.html


i'm studying hotshot
http://docs.python.org/lib/module-hotshot.html

does anyone using hotshot for profiling a tg application ?

thank's
Glauco


--
+------------------------------------------------------------+
Glauco Uri
glauco(at)sferacarta.com

Sfera Carta Software® info(at)sferacarta.com
Via Bazzanese,69 Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+


Barry Hart

unread,
Mar 25, 2008, 4:19:06 PM3/25/08
to turbo...@googlegroups.com
If identity and visit tracking are both enabled you will see one query per server request - TG queries the visit_identity table based on the cookie string to get the user's name. This is normal.

Barry


Never miss a thing. Make Yahoo your homepage.

Glauco

unread,
Mar 26, 2008, 7:35:28 AM3/26/08
to turbo...@googlegroups.com
Barry Hart ha scritto:
If identity and visit tracking are both enabled you will see one query per server request - TG queries the visit_identity table based on the cookie string to get the user's name. This is normal.

Barry

Ok, thank you.
Reply all
Reply to author
Forward
0 new messages