Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to write RPTDOC file in chunk
How to write RPTDOC file in chunk [message #1612975] Thu, 12 February 2015 10:18 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 10
Registered: May 2014
Junior Member
We are using Eclipse Birt 4.3.2.
We use ScriptedDataSetEventAdapter and fire the database query in Java code to retrieve the data. Data retrived from database is very large. It creates nearly 400 MB report data file(birt intermidiate file) on file system. It keeps 400 MB of data in memory.

Is there any way in BIRT to write the report data file(birt intermidiate file) in chunk so that we do not have to keep 400 MB data in memory..

For example: Consider i have 1,00,000 rows in my report. Instead of fetching all the rows from database, we are planning to use pagination and fetch 10000 rows from database at a time and write it to birt intermediate file.

Once 10000 rows are written birt intermediate file. We will make another query to fetch the next 10000 rows and write it to report data file(birt intermidiate file).

Is this possible?
By this we do not have to keep large amount of data in memory.
Re: How to write RPTDOC file in chunk [message #1616023 is a reply to message #1612975] Sat, 14 February 2015 08:58 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 10
Registered: May 2014
Junior Member
Anyone on this?
Re: How to write RPTDOC file in chunk [message #1710650 is a reply to message #1616023] Thu, 08 October 2015 08:22 Go to previous message
Alberto Moreno is currently offline Alberto MorenoFriend
Messages: 1
Registered: October 2015
Junior Member
Hi,

Did you find any solution?

Tnahks a lot in advance.

Alberto
Previous Topic:Caused by: java.lang.ArrayIndexOutOfBoundsException when using birt 4.2.1
Next Topic:New to BIRT Scripting
Goto Forum:
  


Current Time: Thu Apr 25 06:04:18 GMT 2024

Powered by FUDForum. Page generated in 0.03016 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top