Hi,<div><br><div>We have a Java web application connect to a PostgreSQL 9.1.2. This application is a kind of OLAP application. At a specific time in a day, this application will import a bulk of data from CVS files through the Java application into the PostgreSQL. During the import process, the database is overwhelming and become too slow to handle other simple queries.</div>

<div>We intend to add another PostgreSQL instance to form a cluster using asynchronous Stream Replication and use pgpool-II on top of that to implement a HA solution. </div><div>As you can see, during the import process, when the Java application acquire a connection from pgpool-II, we want to pgpool-II to return the a connection to a slave instance (because we are sure that the operations are read-only). Is it possible for us to achieve that with pgpool-II.</div>

<div><br></div><div>Any hints would be appreciated.</div><div><br></div><div>Regards,</div><div>Tinh</div></div>