[Rt-devel] Re: SetOwner speed

Alexey G Misyurenko mag at caravan.ru
Wed Jun 14 17:53:57 EDT 2006


Ruslan Zakirov wrote:
>
>>
>> >> > Tracing why take ticked (from nobody) operation take so long time
>> >> >
[skip]
>> >> >
>> >> And can this call (... First->Delete() ) be omitted when cureent 
>> owner
>> >> is 'Nobody'
>> >> and new owner is not 'Nobody'
>> > no, as nobody is also user :)
>> >
>> Ok.
>>
>> May be is possible to just UPDATE owner of ticked
>> not DELETE and INSTERT?
> No. Can you grab list of queries that RT executes while this operation?
>
Sorry, have a bit problems with grabbing SQL request
but I trace next time costly call

in file lib/RT/GroupMember_Overlay.pm

$err = $self->MemberObj->_CleanupInvalidDelegations(InsideTransaction => 1)



-- 
WBR,   Alexey G Misyurenko ( MAG-RIPE | MMAGG-RIPN )
CTO of Caravan ISP            http://www.caravan.ru
Phone: +7 095 3632252         Cell:  +7 095 5082794




More information about the Rt-devel mailing list