Databases Reference
In-Depth Information
The Media Library portlet
The Media Library portlet provides a feature to rank documents based on downloads.
Media Library maintains the top n ranks. It doesn't give a rank to every document.
Hence to maintain the top n ranked documents, the system has to clean up data in the
document rank table. This clean up feature is implemented using the scheduler. It is
recommended to disable this scheduler if the file ranking feature is not used. This can
be done by adding the following property to portal-ext.properties :
dl.file.rank.check.interval=-1
The Announcement portlet
The Announcement portlet provides a way to notify the user about the announcement
using e-mails. This feature is implemented using a scheduler. If the Announcement or
Alerts portlet is not used in the solution, it is recommended to disable this scheduler.
It can be done by adding the following entry to portal-ext.properties :
announcements.entry.check.interval=-1
We looked at the features of Liferay Portal that are using scheduler and learned
how to disable them. If none of the preceding features are used and none of the
customer portlets uses a scheduler, it is recommended to disable the scheduler
itself in Liferay Portal. This can be done by adding the following property to
portal-ext.properties :
scheduler.enabled=false
Inline permission checks
Since version 6, Liferay Portal has implemented database query-driven permission
checks while browsing or searching content. This permission check affects the
performance of the system because of heavy database queries. On the other side,
it is useful for mainly social collaboration features. If the Portal is not using social
collaboration features, we should switch off the inline permission check to improve
the performance of the system. Fortunately, Liferay provides a way to disable the
inline permission check using configuration. We need to add the following property
to portal-ext.properties to disable the inline permission check:
permissions.inline.sql.check.enabled=false
 
Search WWH ::




Custom Search