Several suggestions, the most important of which is to have them upgrade to
v12.10.xC5W1. HDR performance has gone through at least three phases of
performance improvements since v10.00. In addition, v12 implements finer
transaction control allowing a new "near synchronous" mode that has less
effect on transaction times.
Second, check the latency between the primary and secondary servers. If
this is long, then perhaps the secondary should be an RSS secondary rather
than HDR. If your client can live with 30 second asynchronous mode, then
RSS should be OK for them as well. Of course, RSS secondary servers are
not supported in v10.00, so this also requires upgrading to v11 or v12.
Again, I recommend upgrading to the latest v12.10.xC5W1.
Now, on the specific commands - if the insert ... select or the delete
statements deal with very large numbers of rows, consider using either my
dbcopy or dbmove utility for the data copy and my dbdelete utility for mass
deletes. These are considerably faster than using a single SQL statement,
avoids the risk of a long transaction rollback and huge numbers of locks
causing contention with other applications, and tends to be friendlier to
replication for these same reasons.
Art
Art S. Kagel, President and Principal Consultant
ASK Database Management
www.askdbmgt.com
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on the IIUG, nor any other organization with which I am
associated either explicitly, implicitly, or by inference. Neither do
those opinions reflect those of other individuals affiliated with any
entity with which I am affiliated nor those of the entities themselves.
On Mon, May 18, 2015 at 11:09 AM, CHUAN LU <luchuan@cn.ibm.com> wrote:
> Hi,
> A customer use HDR in IDS 10.They use async mode and DRINTERVAL is 30.
> database is unbuffered.
> a batch job run below two sql.
> 1, insert into A select * from B where condition;
> 2,delete from b where condition;
> they found those SQL become 10 times slow after using HDR.
> How to tuning it?
> Any suggestion would be appreciated.
> thanks.
>
>
>
>
>
>
>
--089e01182f723c6e5105165ce925
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [35120]
*******************************************************************************
v12.10.xC5W1. HDR performance has gone through at least three phases of
performance improvements since v10.00. In addition, v12 implements finer
transaction control allowing a new "near synchronous" mode that has less
effect on transaction times.
Second, check the latency between the primary and secondary servers. If
this is long, then perhaps the secondary should be an RSS secondary rather
than HDR. If your client can live with 30 second asynchronous mode, then
RSS should be OK for them as well. Of course, RSS secondary servers are
not supported in v10.00, so this also requires upgrading to v11 or v12.
Again, I recommend upgrading to the latest v12.10.xC5W1.
Now, on the specific commands - if the insert ... select or the delete
statements deal with very large numbers of rows, consider using either my
dbcopy or dbmove utility for the data copy and my dbdelete utility for mass
deletes. These are considerably faster than using a single SQL statement,
avoids the risk of a long transaction rollback and huge numbers of locks
causing contention with other applications, and tends to be friendlier to
replication for these same reasons.
Art
Art S. Kagel, President and Principal Consultant
ASK Database Management
www.askdbmgt.com
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on the IIUG, nor any other organization with which I am
associated either explicitly, implicitly, or by inference. Neither do
those opinions reflect those of other individuals affiliated with any
entity with which I am affiliated nor those of the entities themselves.
On Mon, May 18, 2015 at 11:09 AM, CHUAN LU <luchuan@cn.ibm.com> wrote:
> Hi,
> A customer use HDR in IDS 10.They use async mode and DRINTERVAL is 30.
> database is unbuffered.
> a batch job run below two sql.
> 1, insert into A select * from B where condition;
> 2,delete from b where condition;
> they found those SQL become 10 times slow after using HDR.
> How to tuning it?
> Any suggestion would be appreciated.
> thanks.
>
>
>
>
>
>
>
--089e01182f723c6e5105165ce925
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [35120]
*******************************************************************************