Groups
Groups
Sign in
Groups
Groups
RapidReportサポート QAフォーラム
Conversations
About
Send feedback
Help
Excel大量出力時のパフォーマンスが低下する件について(XlsxRenderer/XSSFWorkbook使用)
22 views
Skip to first unread message
f.shimizu
unread,
Jul 1, 2026, 12:20:37 AM
Jul 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
RapidReportを使用してExcel出力を行っていますが、
大量データを出力する際に処理時間が非常に長くなるため、
高速化の方法についてご教示いただきたいです。
■出力処理のコード(サンプル)
ByteArrayOutputStream baos = null;
try {
baos = new ByteArrayOutputStream();
XSSFWorkbook workbook = new XSSFWorkbook();
ReportPages pages = report.getPages();
XlsxRenderer renderer = new XlsxRenderer(workbook);
renderer.newSheet(sheetName);
pages.render(renderer);
workbook.write(baos);
return baos.toByteArray();
} finally {
if (baos != null) {
baos.close();
}
}
RapidReportのXlsxRendererとApache POIのXSSFWorkbookを併用しています。
■環境
RapidReportバージョン:5.18
Java:OpenJDK 17.0.13
実行環境:Windows
出力形式:XLSX
テンプレート:罫線・セル結合あり
■出力条件
1シートに全量出力
出力行数はレコード件数*2行
■ 実測値
①レコード件数:1000件
⇒処理時間:約1分30秒
②レコード件数:2000件
⇒処理時間:約9分
■具体的な質問内容
①XlsxRendererを使用した大量データ出力時の推奨設定はありますか
②大量出力時にテンプレート側で避けるべき要素(罫線・結合など)はありますか
③RapidReport側でExcel 出力を高速化するオプションなどはありますか
RapidReport
unread,
Jul 1, 2026, 7:35:03 PM
Jul 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
すみませんが、XLSX出力のパフォーマンスを改善するための
推奨設定、避けるべき要素、高速化オプションといったものはありません。
2026年7月1日水曜日 13:20:37 UTC+9 f.shimizu:
Reply all
Reply to author
Forward
0 new messages