21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 5.3. Max. indices per table, <strong>Firebird</strong> 2.0<br />

Page size<br />

DDL statements<br />

Number of indices depending on column count<br />

1 col 2 cols 3 cols<br />

1024 50 35 27<br />

2048 101 72 56<br />

4096 203 145 113<br />

8192 408 291 227<br />

16384 818 584 454<br />

Please be aware that under normal circumstances, even 50 indices is way too many and will drastically reduce<br />

mutation speeds. The maximum was removed to accommodate data-warehousing applications and the like,<br />

which perform lots of bulk operations with the indices temporarily inactivated.<br />

For a full table also including <strong>Firebird</strong> versions 1.0–1.5, see the Notes at the end of the book.<br />

REVOKE ADMIN OPTION<br />

Available in: DSQL<br />

Added in: 2.0<br />

Privileges: GRANT and REVOKE<br />

Description: Revokes a previously granted admin option (the right to pass on a granted role to others) from the<br />

grantee, without revoking the role itself. Multiple roles and/or multiple grantees can be handled in one statement.<br />

Syntax:<br />

Example:<br />

REVOKE ADMIN OPTION FOR FROM <br />

::= role [, role ...]<br />

::= [USER] [, [USER] ...]<br />

::= username | PUBLIC<br />

revoke admin option for manager from john, paul, george, ringo<br />

If a user has received the admin option from several grantors, each of those grantors must revoke it or the user<br />

will still be able to grant the role(s) in question to others.<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!