|Re: performance issue when sorting a group [message #542677 is a reply to message #542460]
||Fri, 25 June 2010 15:09
| Jason Weathersby
Registered: July 2009
On 6/24/2010 6:22 PM, Ryan wrote:|
> It looks like the 2 links you posted are no longer working.
> I tried to search around and find the links, but have not yet been able
> to find any.
> Could you post a new set of lines on cache configuration?
The cache configuration message I can not locate, but the contents of it
are listed below:
Performance have been improved via a combination of memory and disk
cache ( http://www.eclipse.org/birt/phoenix/project/notable2.0.php#j ump_11).
But I can't find how to configure this; for exemple, disable it, use
only memory cache, etc...
You can set the memory cache size by using the following.
Size is specified in MB.
You should be able to set this for the viewer using:
can you please explain the other constants defined in
DATA_SET_CACHE_ROW_LIMIT = "org.eclipse.birt.data.cache.RowLimit"
DATA_SET_CACHE_DELTA_FILE = "org.eclipse.birt.data.cache.DeltaFile"
MEMORY_DATA_SET_CACHE = "org.eclipse.birt.data.cache.memory"
How can I use them to improve the performance?
Thanks in advance!
I believe the other settings have to do with setting the cache
configuration while in the designer. In 2.2.1 there is suppose to be
a project to improve the caching of datasets between containers.
I looked how to use DataEngine.MEMORY_DATA_SET_CACHE, but I can't get it
I can set it to 0 or 10 000, it doesn't seem to change anything.
The logs indicates that the memory cache is always used and it takes
always 0 sec (even on big reports)
That's why I'm wondering if this option is really working...
Also I found in DataEngineContext several constants to configure the
cache (CACHE_MODE_IN_DISK, CACHE_MODE_IN_MEMORY, CACHE_USE_DISABLE), but
I don't know how to use them, how to set a DataEngineContext and set it
to my EngineTask.
What version of BIRT are you using?
I'm using Birt 2.2.0 (and waiting for the 2.2.1 ... :-)
I thought this was working properly in 2.2. I do not believe you can
set it below 1 MB. Create a bugzilla entry if you want to get more details.
Powered by FUDForum
. Page generated in 0.01624 seconds