Re: [Maria-developers] Changes to table_statistics for mariadb 5.2

2011-08-26 Thread Michael Widenius
Hi! > "Sergei" == Sergei Golubchik writes: Sergei> Hi, Eric! Sergei> On Aug 25, Eric Bergen wrote: >> > Why wouldn't you introduce a persistent session query counter? >> > Like, put it in thd, increment on every query, and show this number >> > in profiling and userstat. >> >> I did that.

Re: [Maria-developers] Changes to table_statistics for mariadb 5.2

2011-08-25 Thread Sergei Golubchik
Hi, Eric! On Aug 25, Eric Bergen wrote: > > Why wouldn't you introduce a persistent session query counter? > > Like, put it in thd, increment on every query, and show this number > > in profiling and userstat. > > I did that. It functions fine but it means that someone enabling > profiling mid wa

Re: [Maria-developers] Changes to table_statistics for mariadb 5.2

2011-08-25 Thread Eric Bergen
Hi Serg On Tue, Aug 23, 2011 at 3:47 AM, Sergei Golubchik wrote: > Hi, Eric! > > On Jul 28, Eric Bergen wrote: >> Hi, >> >> I've been working on some improvements to the table and index >> statistics in mariadb that allow tracking on the session and query >> level. I've been pushing the changes t

Re: [Maria-developers] Changes to table_statistics for mariadb 5.2

2011-08-23 Thread Sergei Golubchik
Hi, Eric! On Jul 28, Eric Bergen wrote: > Hi, > > I've been working on some improvements to the table and index > statistics in mariadb that allow tracking on the session and query > level. I've been pushing the changes to > lp:~provenscaling-eric/maria/tivo The long form version of where I'm > a

[Maria-developers] Changes to table_statistics for mariadb 5.2

2011-07-28 Thread Eric Bergen
Hi, I've been working on some improvements to the table and index statistics in mariadb that allow tracking on the session and query level. I've been pushing the changes to lp:~provenscaling-eric/maria/tivo The long form version of where I'm at in my hacking is at http://ebergen.net/wordpress/201