Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL transactional replication to Oracle 11g server taking slower than normal Expand / Collapse
Author
Message
Posted Friday, January 4, 2013 5:05 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 2:16 PM
Points: 55, Visits: 294
Hi, I have a push transactional replication set up that pushes to a Oracle 11g db. What used to take around 9 to 10 minutes now takes around a hour. There are about 3.5 million rows in this table (well call it table1 for this purpose) on the sql server. The oracle table (well call it table2) also has about 3.5 mill rows. There are only 2 indexs on each table.

I ran a trace to try and find any long duration queries hanging, used sp_who2 to look for locks, cpu, i/o, memory and they all look fine.

We also looked at the Virtual Log Files and they were around 3500 so we shrinked them to around 400 and right now were are going to check if that helped as I type this.

Anything else I am missing your help is much appreciated?

p.s. sorry i originally posted this same topic in another section..
Post #1403162
Posted Friday, January 4, 2013 6:25 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 1,398, Visits: 6,425
Have you also checked the oracle-side? (tracing,locks etc)
Post #1403177
Posted Friday, January 4, 2013 8:51 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 2:16 PM
Points: 55, Visits: 294
I was affraid you would say that. I only looked at he cpu, i/o and memory of the Oracle server. I unfortunately am not a Oracle dba. If you have links or quick code snippets that I can run on Oracle to see that would be much appreciated!

Are there any Distributor checks I can do to see if it could be the Distributor that is causing the slowness?

Appreciate the help!
Post #1403188
Posted Monday, January 7, 2013 7:48 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 1,398, Visits: 6,425
Haven't time to setup a mssql to oracle replication, however some possible helpfull links.

SQL Server Replication
Locks in oracle
Perhaps Statspack if installed on the oracle db (small interval)

Dreaded question: anything changed on hardware level? network, storage, db-settings...
Post #1403617
Posted Monday, January 7, 2013 10:23 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 2:16 PM
Points: 55, Visits: 294
Thanks for the link much apprecaited. I will find if there were any changes thanks.
Post #1403739
Posted Tuesday, January 8, 2013 3:10 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 1,398, Visits: 6,425
Other oracle tools:
tracing, perhaps on module sqlserver.exe, or enable from your openquerysession
General oracle performance tuning
Post #1404086
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse