WordPress database error: [Duplicate entry '91002' for key 1]
INSERT INTO wp_bas_visitors (visit_ip, referer, osystem, useragent, lasthere) VALUES (644300602, 1, 547, 3795, '2008-11-20 13:41:26');

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND referer = referer_id AND osystem = os_id AND useragent = ua_]
SELECT * FROM wp_bas_visitors, wp_bas_refer, wp_bas_ua, wp_bas_os WHERE visit_id = AND referer = referer_id AND osystem = os_id AND useragent = ua_id

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '2008-11-20 13:41:26', 0, 421)' at line 1]
INSERT INTO wp_bas_log (visit, stamp, outbound, page) VALUES (, '2008-11-20 13:41:26', 0, 421);

Open Intelligence » 2007 » January

Archive for January, 2007

Clustered Report Generation with OpenReports and Quartz

In addition to real-time report generation, OpenReports provides flexible report scheduling capabilities.
OpenReports Scheduling

OpenReports uses Quartz, an open source job scheduling system, to schedule and execute reports. Quartz’s built in clustering capabilities give OpenReports the ability to scale up to meet resource intensive reporting requirements.

The number of scheduled reports that can be executed concurrently is controlled by the number of threads allocated to Quartz. This can be changed by modifying the following line in the quartz.properties file:

org.quartz.threadPool.threadCount = 3

Another option to increase the number of reports that can be executed concurrently is to add a clustered instance of the Quartz scheduler. In most cases, this can be done by following these steps:

  • Set the org.quartz.jobStore.isClustered property to true in the quartz.properties file.
  • Rebuild and Redeploy your war file.
  • Deploy another instance of OpenReports. The easiest way to do this is to deploy the same OpenReports war file to an application server on another machine.

Here are a couple of things to keep in mind:

  • All instances must use the same Quartz database. (HSQL does not seem to be supported by Quartz clustering).
  • If the clustered instances are running on separate machines, the clocks must be in sync.

It is a good idea to encourage the use of scheduled reports and OpenReports Professional features such as ‘Send to Email‘, and the upcoming ‘Send to File‘ when generating large reports. This preserves resources needed for real-time report generation and gives you the ability to dynamically increase or decrease the resources allocated for scheduled report generation.

For more information on Quartz clustering, visit:
http://wiki.opensymphony.com/display/QRTZ1/ConfigJDBCJobStoreClustering

Add comment January 9th, 2007


Calendar

January 2007
M T W T F S S
« Dec   May »
1234567
891011121314
15161718192021
22232425262728
293031  

Posts by Month

Posts by Category

SourceForge.net Logo