rs_initialize_threads

Sets the sequence of each entry in the rs_threads system table to 0.

Syntax

rs_initialize_threads @rs_id

Parameters

Examples

Usage

  • rs_initialize_threads executes function when a connection is initialized. It is executed only when more than one DSI thread is defined for the connection. It sets the sequence number of each entry in the rs_threads system table to 0.

  • rs_initialize_threads has function-string-class scope.

  • Replication Server creates an initial rs_initialize_threads function string for the system-provided function-string classes during installation.

  • If you use a user-created base function-string class and you use the parallel DSI feature, create a function string for rs_initialize_threads.

  • Create or customize an rs_initialize_threads function string at the Replication Server that is the primary site for the class.

Related reference
create connection
rs_get_thread_seq
rs_get_thread_seq_noholdlock
rs_set_isolation_level
rs_update_threads