Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
John Shepherd — — source: Informix-list mailing list archive (1991-1998)
Greetings,
I have noticed that each execution of the SET ROLE command causes 2 x
sequential scans of SYSROLEAUTH on our system. This is quite costly as
there are > 40k in the table. It is indexed & I have run update stats -
but it still scans.
Can anyone shed some light on this for me ? What exactly does SET ROLE
do under the covers ? And why should it scan SYSROLEAUTH ?
Regards,
John
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.