22.01.2015 Views

Replication Server Presentation - Sybase

Replication Server Presentation - Sybase

Replication Server Presentation - Sybase

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Performance Enhancements<br />

Configurable Transaction Partitioning<br />

Background<br />

• Parallel DSI threads in RS attempt to apply transactions in<br />

the queue to the replicate DB in parallel<br />

• Each DSI thread opens a connection to the replicate DB<br />

• Commit order is still maintained – only the “body” of the<br />

transactions are applied in parallel<br />

• Transactions can also be grouped together to apply “more”<br />

in each unit of work – grouping rules decide which<br />

transactions can be grouped<br />

• Not all transaction “bodies” can be applied in parallel<br />

• Some of them may deal with the same tables/rows<br />

• Resulting in deadlocks and rollbacks, reducing<br />

throughput<br />

• Transaction grouping increases the chance of contention

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!