Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-602

Portlet preferences loads from databases very slow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1-dev
    • None
    • None
    • tomcat 5.5.20, jetspeed-2.1-dev, MS SQL Server 2005 or IBM DB2 8.2 as a portal database

    Description

      I have page with 20 portlets. Each portlet has 35 preferences.

      This preferences loads from database very slow (more than 1 minute), because jetspeed runs on portal database more than 1500 queries:

      SELECT A0.NODE_ID,A0.PARENT_NODE_ID,A0.NODE_NAME,A0.NODE_TYPE,A0.FULL_PATH,A0.CREATION_DATE,A0.MODIFIED_DATE
      FROM PREFS_NODE A0 WHERE (A0.FULL_PATH = :1) AND A0.NODE_TYPE = :2).

      Each of this queries runs about 40 milliseconds.

      So, preferences loading performance should be increased.

      Attachments

        Activity

          People

            Unassigned Unassigned
            barvetal Vitaly Baranovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: