Unix Technical Forum

SET ROLE and SYSROLEAUTH

This is a discussion on SET ROLE and SYSROLEAUTH within the Informix forums, part of the Database Server Software category; --> Greetings, I have noticed that each execution of the SET ROLE command consistently takes 3 seconds to execute. It ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:03 AM
John
 
Posts: n/a
Default SET ROLE and SYSROLEAUTH

Greetings,

I have noticed that each execution of the SET ROLE command consistently
takes 3 seconds to execute. It appears that this process causes 2 x
sequential scans of SYSROLEAUTH on our system; this table has > 60K
records .... hence the long elapsed time.


Can anyone shed some light on this for me ?
What exactly does the SET ROLE command do under the covers ?
And why should it scan SYSROLEAUTH ?

Regards,
John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:03 AM
david@smooth1.co.uk
 
Posts: n/a
Default Re: SET ROLE and SYSROLEAUTH

Which Informix version? Log a support call. Any indexes on the table?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 11:06 AM
John
 
Posts: n/a
Default Re: SET ROLE and SYSROLEAUTH

Hi
We are using IDS 7.3.1.
Our DBA has alerted Tech Support (no response yet)
Yes - SYSROLEAUTH appears to be uniquely indexed on rolename and
grantee.
Ordinary selects executed against this table with rolename and grantee
do not sequentially scan. Hmmmmm ...

John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com