Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alagammai Kasi
Details of Counter table
October 9, 2012 7:36 PM
Answer

Alagammai Kasi

Rank: Regular Member

Posts: 149

Join Date: July 31, 2012

Recent Posts

Dear buddies,

Wondering whats the content of this table is all about.

lportal.Counter;

Thanks - Alagu
Bart Simpson
RE: Details of Counter table
October 10, 2012 12:01 AM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

Recent Posts

This table maintains the value of counter for different model objects in Liferay. In other words, when a new record is created for an entity, Liferay uses this value to generate the next id for the record. Until a threshold is reached, liferay will not update / read value of the counter from database. It does a read when it's started and then maintains it in memory so it reduces database access.
Priyanka Dhingra
RE: Details of Counter table
October 10, 2012 12:04 AM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

check this link
Priyanka Dhingra
RE: Details of Counter table
October 10, 2012 12:05 AM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

check this
http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/count-1