LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 14-Feb-2008, 12:36 PM
Frontline
NNTP User
 
Posts: n/a
Default Re: Very slow portal when using many shared pages

Ok, thanks, will try this.


Paul M wrote:
> Well, we had these big querues too, here is one we had in the past:
>
> SELECT DISTINCT SECURITYACCESSRIGHTS.FWELEMENTIID FROM SECURITYACCESSRIGHTS
> WHERE SECURITYACCESSRIGHTS.FWELEMENTIID IN
> ('c373e9112bf283c2ecdb0017085b0611', 'c373e910fb227b0f73030017085b0611',
> 'c373e910e5159b295b3c0017085b0611', 'c373e910c100569a6a1f0002a54868ba',
> 'c373e910fb2279dd96af0017085b0611', 'c373e910fb2236b428d50017085b0611',
> 'c373e910fb230b6def570017085b0611', 'c373e912fbbe7cd1e2bf00110a59dbb6',
> 'c373e912dd265b67660a00110a59dbb6', 'c373e912fb78e0fe611400110a59dbb6',
> 'SinglePortletSharedPage', 'c373e912c3b85f48e3a000110a59dbb6',
> 'c373e912c3b85f6ce84700110a59dbb6') AND SECURITYACCESSRIGHTS.PERMISSIONID =
> 2 AND (SECURITYACCESSRIGHTS.IID NOT IN(SELECT
> SECURITYPERMISSIONS.PERMISSIONIID FROM SECURITYPERMISSIONS WHERE
> LOWER(SECURITYPERMISSIONS.PRINCIPALNAME) IN
> ('ldaprealm\cn=testwally3,ou=test,ou=users,o=hsb,c =nl',
> 'ldaprealm\cn=portal_dms,ou=portal,ou=dif-ict,ou=dif,ou=org,o=hsb,c=nl',
> 'ldaprealm\cn=portal_users,ou=portal,ou=dif-ict,ou=dif,ou=org,o=hsb,c=nl',
> 'ldaprealm\c=nl', 'ldaprealm\o=hsb,c=nl', 'ldaprealm\ou=users,o=hsb,c=nl',
> 'ldaprealm\ou=test,ou=users,o=hsb,c=nl', 'ldaprealm\')) OR
> SECURITYACCESSRIGHTS.IID IN(SELECT SECURITYPERMISSIONS.PERMISSIONIID FROM
> SECURITYPERMISSIONS WHERE SECURITYPERMISSIONS.PRINCIPALNAME =
> 'ffffffffffffffffffffffffffffffff'))
>
>
> But after the patch, these queries were much shorther, we have the same
> amount of records in the security tables. Request the patch, you will be
> happy.
>
> Paul
>

Reply With Quote
 

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:41 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2