![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Does anyone have experience with RSS and the DELAY_APPLY feature? I am running tests, with the end goal to find the best HDR or RSS setup that will minimize the performance impact on my primary db server. *That is, I want the best possible performing primary for my OLTP environment. I don't care if the secondary lags behind a little. The secondary is at a remote location with a dedicated T3 between the sites for this purpose. But I am finding that RSS with DELAY_APPLY=2H (or any value that I have tried), the primary server updates/inserts are severely impacted. *Why would this be the case? *I thought the goal of RSS was to just shoot the log records off, and let them be applied at will on the secondary, with the primary not caring if/when they are received. My tests are also showing that HDR yields faster primary performance than RSS, which further confounds me. Here is my simple test: drop test table, create test table, revoke privs, lock table exclusively, load from file insert into... (1mil rows), then index. This takes on average (I have run it multiple times to get good averages): 2.0min - no replication 2.5min - HDR replication 3.0min - RSS replication with DELAY_APPLY=0 14.0min - RSS replication with DELAY_APPLY=2H Here is my setup: IDS 11.50.FC7 on Sun Solaris 10, Intel processor 64bit LOGBUFF 64 DRAUTO 0 DRINTERVAL 30 DRTIMEOUT 30 DRIDXAUTO 0 LOG_INDEX_BUILDS 1 UPDATABLE_SECONDARY 0 TEMPTAB_NOLOG 0 DELAY_APPLY * * 2H * *# This is the only value that I have tweaked in this test STOP_APPLY * * *0 LOG_STAGING_DIR */u08/ifxdb2t/logs RSS_FLOW_CONTROL -1 Any help or observation would be appreciated. Thanks, Nick |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hello, Does anyone have experience with RSS and the DELAY_APPLY feature? I am running tests, with the end goal to find the best HDR or RSS setup that will minimize the performance impact on my primary db server. That is, I want the best possible performing primary for my OLTP environment. I don't care if the secondary lags behind a little. The secondary is at a remote location with a dedicated T3 between the sites for this purpose. But I am finding that RSS with DELAY_APPLY=2H (or any value that I have tried), the primary server updates/inserts are severely impacted. Why would this be the case? I thought the goal of RSS was to just shoot the log records off, and let them be applied at will on the secondary, with the primary not caring if/when they are received. My tests are also showing that HDR yields faster primary performance than RSS, which further confounds me. Here is my simple test: drop test table, create test table, revoke privs, lock table exclusively, load from file insert into... (1mil rows), then index. This takes on average (I have run it multiple times to get good averages): 2.0min - no replication 2.5min - HDR replication 3.0min - RSS replication with DELAY_APPLY=0 14.0min - RSS replication with DELAY_APPLY=2H Here is my setup: IDS 11.50.FC7 on Sun Solaris 10, Intel processor 64bit LOGBUFF 64 DRAUTO 0 DRINTERVAL 30 DRTIMEOUT 30 DRIDXAUTO 0 LOG_INDEX_BUILDS 1 UPDATABLE_SECONDARY 0 TEMPTAB_NOLOG 0 DELAY_APPLY 2H # This is the only value that I have tweaked in this test STOP_APPLY 0 LOG_STAGING_DIR /u08/ifxdb2t/logs RSS_FLOW_CONTROL -1 Any help or observation would be appreciated. Thanks, Nick _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hi Nick, FYI, RSS_FLOW_CONTROL did not come out until 11.50FC8 unless you receivedit in a patch for 11.50FC7. How far away is your RS server from your primary? Jeff -----Original Message----- From: informix-list-boun... (AT) iiug (DOT) org [mailto:informix-list-boun... (AT) iiug (DOT) org] On Behalf Of Nick Sent: Thursday, November 10, 2011 2:53 PM To: informix-l... (AT) iiug (DOT) org Subject: RSS with DELAY_APPLY is dog slow! Hello, Does anyone have experience with RSS and the DELAY_APPLY feature? I am running tests, with the end goal to find the best HDR or RSS setup that will minimize the performance impact on my primary db server. *That is,I want the best possible performing primary for my OLTP environment. I don't care if the secondary lags behind a little. The secondary is at a remote location with a dedicated T3 between the sites for this purpose. But I am finding that RSS with DELAY_APPLY=2H (or any value that I have tried), the primary server updates/inserts are severely impacted. *Why would this be the case? *I thought the goal of RSS was to just shoot the log records off, and let them be applied at will on the secondary, with the primary not caring if/when they are received. My tests are also showing that HDR yields faster primary performance than RSS, which further confounds me. Here is my simple test: drop test table, create test table, revoke privs, lock table exclusively, load from file insert into... (1mil rows), then index. This takes on average (I have run it multiple times to get good averages): 2.0min - no replication 2.5min - HDR replication 3.0min - RSS replication with DELAY_APPLY=0 14.0min - RSS replication with DELAY_APPLY=2H Here is my setup: IDS 11.50.FC7 on Sun Solaris 10, Intel processor 64bit LOGBUFF 64 DRAUTO 0 DRINTERVAL 30 DRTIMEOUT 30 DRIDXAUTO 0 LOG_INDEX_BUILDS 1 UPDATABLE_SECONDARY 0 TEMPTAB_NOLOG 0 DELAY_APPLY * * 2H * *# This is the only value that I have tweaked in this test STOP_APPLY * * *0 LOG_STAGING_DIR */u08/ifxdb2t/logs RSS_FLOW_CONTROL -1 Any help or observation would be appreciated. Thanks, Nick _______________________________________________ Informix-list mailing list Informix-l... (AT) iiug (DOT) orghttp://www.iiug.org/mailman/listinfo/informix-list |
#7
| |||
| |||
|
|
Jeff - thanks, I found RSS_FLOW_CONTROL in the online docs and copied it into my onconfig. You might be on to something if it is being ignored in xc7 (there is nothing in the log at all recognizing RSS_FLOW_CONTROL). Art - my next test is with DRINTERVAL=0 to see how that impacts each scenario. I have to wait until tonight to bounce my test environment as it's in use by developers today. And I might increase LOGBUFFER to 128 to see if that changes anything. Jacque - I looked at the ath output, but was not sure what I was looking for. I'll try again with your input... _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#8
| |||
| |||
|
|
dbaccess sysmaster <<EOF SELECT * FROM syscfgtab WHERE cf_name = 'RSS_FLOW_CONTROL'; EOF |
![]() |
| Thread Tools | |
| Display Modes | |
| |