On Thu, Nov 5, 2009 at 3:57 PM, Jay Pipes <[email protected]> wrote:
> MARK CALLAGHAN wrote:
>>>
>>> 1) Why have ROWS_UPDATED instead of ROWS_INSERTED, ROWS_DELETED,
>>> ROWS_UPDATED?  I'd prefer to have more granular stats for the user,
>>> myself,
>>> and knowing the code, it wouldn't be particularly difficult to make the
>>> collection more granular.
>>
>> I much prefer to have the data split as you describe. The port of
>> TABLE_STATISTICS to the Facebook MySQL patch does the same.
>
> Cool, good to hear. :)
>
>>> 2) CONCURRENT_CONNECTIONS is supposed to represent the "current value" of
>>> the number of concurrent connections this user has to the server.  I
>>> think
>>> that having an additional column containing the maximum number of
>>> concurrent
>>> connections this user has created would be useful as well:
>>
>> That would be nice to have. I was asked for it several times
>> internally. You need a way to reset it over time.
>>
>>> MAX_CONCURRENT_CONNECTIONS BIGINT NOT NULL
>>
>> Computing concurrent connections per-account made the feature much
>> more complex. Can you avoid the complexity in the Drizzle version of
>> this?
>
> Wouldn't MAX_CONCURRENT_CONNECTIONS just be a "high water mark" for the
> CONCURRENT_CONNECTIONS value though?

Yes, but I want to occasionally reset it to 0 so I can measure the
high water mark per interval.

-- 
Mark Callaghan
[email protected]

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to