Advanced Replication Management API Reference 10g
Release 1 Edition Randy Urbano - Downloadable PDF
2025
https://ebookfinal.com/download/advanced-replication-management-api-
reference-10g-release-1-edition-randy-urbano/
Visit ebookfinal.com today to download the complete set of
ebooks or textbooks
Here are some recommended products that we believe you will be
interested in. You can click the link to download.
OpenAccess Release 2 2 Standard API Tutorial 6th Edition
David Mallis
https://ebookfinal.com/download/openaccess-release-2-2-standard-api-
tutorial-6th-edition-david-mallis/
Oracle Database 10g The Complete Reference 1st Edition
Kevin Loney
https://ebookfinal.com/download/oracle-database-10g-the-complete-
reference-1st-edition-kevin-loney/
Stata reference manual release 7 Stata
https://ebookfinal.com/download/stata-reference-manual-
release-7-stata/
Head First Ruby Early Release 1 (Early Release) Edition
Jay Mcgavren
https://ebookfinal.com/download/head-first-ruby-early-release-1-early-
release-edition-jay-mcgavren/
Web Content Management Systems Features and Best Practices
1 (Early Release) Edition Deane Barker
https://ebookfinal.com/download/web-content-management-systems-
features-and-best-practices-1-early-release-edition-deane-barker/
WebSocket 1 (Early Release) Edition Andrew Lombardi
https://ebookfinal.com/download/websocket-1-early-release-edition-
andrew-lombardi/
CSS Floating Floats and Float Shapes EARLY RELEASE 1
[EARLY RELEASE] Edition Eric A. Meyer
https://ebookfinal.com/download/css-floating-floats-and-float-shapes-
early-release-1-early-release-edition-eric-a-meyer/
ITIL Release Management A Hands on Guide Dave Howard
https://ebookfinal.com/download/itil-release-management-a-hands-on-
guide-dave-howard/
SAS Warehouse Administrator 2 3 Metadata API Reference 2nd
edition The Sas Technical Team Writers
https://ebookfinal.com/download/sas-warehouse-
administrator-2-3-metadata-api-reference-2nd-edition-the-sas-
technical-team-writers/
Advanced Replication Management API Reference 10g
Release 1 Edition Randy Urbano Digital Instant
Download
Author(s): Randy Urbano
ISBN(s): 9780974435503, 0974435503
Edition: 10g Release 1
File Details: PDF, 5.17 MB
Year: 2003
Language: english
Oracle® Database
Advanced Replication Management API Reference
10g Release 1 (10.1)
Part No. B10733-01
December 2003
Oracle Database Advanced Replication Management API Reference, 10g Release 1 (10.1)
Part No. B10733-01
Copyright © 1996, 2003 Oracle Corporation. All rights reserved.
Primary Author: Randy Urbano
Graphic Artist: Valarie Moore
Contributors: N. Arora, S. Balaraman, Y. Chan, A. Demers, A. Downing, C. Elsbernd, Y. Feng, J.
Galagali, D. Goddard, L. Kaplan, V. Krishnamurthy, A. Lakshminath, P. Lane, J. Liu, E. Lu, P. McElroy, M.
Pratt, A. Rajaram, N. Shodhan, W. Smith, J. Stamos, J. Stern, M. Subramaniam, E. Vandevelde, L. Wong,
D. Zhang
The Programs (which include both the software and documentation) contain proprietary information of
Oracle Corporation; they are provided under a license agreement containing restrictions on use and
disclosure and are also protected by copyright, patent and other intellectual and industrial property
laws. Reverse engineering, disassembly or decompilation of the Programs, except to the extent required
to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems
in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this
document is error-free. Except as may be expressly permitted in your license agreement for these
Programs, no part of these Programs may be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation.
If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on
behalf of the U.S. Government, the following notice is applicable:
Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial
computer software" and use, duplication, and disclosure of the Programs, including documentation,
shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement.
Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer
software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR
52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500
Oracle Parkway, Redwood City, CA 94065.
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy, and other measures to ensure the safe use of such applications if the Programs are used for
such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the
Programs.
Oracle is a registered trademark, and Oracle9i, Oracle8, Oracle Store, SQL*Plus, and PL/SQL are
trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their
respective owners.
iii
Contents
Send Us Your Comments ................................................................................................................ xvii
Preface.......................................................................................................................................................... xix
Part I Configuring Your Replication Environment
1 Overview of Replication
Overview of Creating a Replication Environment....................................................................... 1-2
Before You Start................................................................................................................................... 1-4
2 Create Replication Site
Overview of Setting Up Replication Sites..................................................................................... 2-2
Setting Up Master Sites..................................................................................................................... 2-4
Setting Up orc1.world.................................................................................................................. 2-4
Setting Up orc2.world.................................................................................................................. 2-8
Setting Up orc3.world................................................................................................................ 2-12
Creating Scheduled Links Between the Master Sites ............................................................ 2-16
Setting Up Materialized View Sites.............................................................................................. 2-20
Setting Up mv1.world................................................................................................................ 2-21
Setting Up mv2.world................................................................................................................ 2-27
iv
3 Create a Master Group
Overview of Creating a Master Group ........................................................................................... 3-2
Before You Start ............................................................................................................................ 3-3
Creating a Master Group................................................................................................................... 3-5
4 Create a Deployment Template
Oracle Deployment Templates Concepts....................................................................................... 4-2
Before Creating the Deployment Template ................................................................................... 4-3
Creating a Deployment Template.................................................................................................... 4-3
Packaging a Deployment Template for Instantiation................................................................ 4-12
Packaging a Deployment Template ......................................................................................... 4-14
Saving an Instantiation Script to File ....................................................................................... 4-16
Distributing Instantiation Files................................................................................................. 4-18
Instantiating a Deployment Template..................................................................................... 4-19
Refreshing a Refresh Group After Instantiation .................................................................... 4-21
5 Create Materialized View Group
Overview of Creating a Materialized View Group ...................................................................... 5-2
Creating a Materialized View Group.............................................................................................. 5-4
Creating the Materialized View Group at mv1.world ............................................................ 5-4
Creating the Materialized View Group at mv2.world .......................................................... 5-12
6 Configure Conflict Resolution
Preparing for Conflict Resolution ................................................................................................... 6-2
Creating Conflict Resolution Methods for Update Conflicts .................................................... 6-3
Overwrite and Discard Conflict Resolution Methods............................................................. 6-3
Minimum and Maximum Conflict Resolution Methods ........................................................ 6-6
Timestamp Conflict Resolution Methods.................................................................................. 6-9
Additive and Average Conflict Resolution Methods............................................................ 6-14
Priority Groups Conflict Resolution Methods........................................................................ 6-17
Site Priority Conflict Resolution Methods .............................................................................. 6-21
Creating Conflict Resolution Methods for Uniqueness Conflicts.......................................... 6-27
Creating Conflict Avoidance Methods for Delete Conflicts .................................................... 6-33
v
Using Dynamic Ownership Conflict Avoidance........................................................................ 6-38
Workflow ..................................................................................................................................... 6-38
Token Passing ............................................................................................................................. 6-39
Locating the Owner of a Row ................................................................................................... 6-42
Obtaining Ownership ................................................................................................................ 6-42
Applying the Change................................................................................................................. 6-43
Auditing Successful Conflict Resolution .................................................................................... 6-44
Collecting Conflict Resolution Statistics ................................................................................. 6-44
Viewing Conflict Resolution Statistics .................................................................................... 6-44
Canceling Conflict Resolution Statistics ................................................................................. 6-45
Clearing Statistics Information................................................................................................. 6-45
Part II Managing and Monitoring Your Replication Environment
7 Managing a Master Replication Environment
Changing the Master Definition Site ............................................................................................. 7-2
Option 1: All Master Sites Are Available.................................................................................. 7-2
Option 2: The Old Master Definition Site Is Not Available.................................................... 7-3
Adding New Master Sites................................................................................................................. 7-4
Adding New Master Sites Without Quiescing the Master Group ........................................ 7-4
Adding New Master Sites to a Quiesced Master Group ...................................................... 7-34
Removing a Master Site from a Master Group........................................................................... 7-44
Removing an Unavailable Master Site .................................................................................... 7-47
Updating the Comments Fields in Data Dictionary Views...................................................... 7-48
Using Procedural Replication......................................................................................................... 7-50
Restrictions on Procedural Replication ................................................................................... 7-50
User-Defined Types and Procedural Replication .................................................................. 7-52
Serializing Transactions............................................................................................................. 7-53
Generating Support for Replicated Procedures ..................................................................... 7-54
8 Managing a Materialized View Replication Environment
Refreshing Materialized Views ....................................................................................................... 8-2
Changing a Materialized View Group's Master Site................................................................... 8-3
vi
Dropping Materialized View Groups and Objects...................................................................... 8-4
Dropping a Materialized View Group Created with a Deployment Template................... 8-4
Dropping a Materialized View Group or Objects Created Manually................................... 8-9
Cleaning Up a Master Site or Master Materialized View Site.............................................. 8-11
Managing Materialized View Logs ............................................................................................... 8-17
Altering Materialized View Logs ............................................................................................. 8-17
Managing Materialized View Log Space ................................................................................ 8-18
Reorganizing Master Tables that Have Materialized View Logs........................................ 8-21
Dropping a Materialized View Log ......................................................................................... 8-25
Performing an Offline Instantiation of a Materialized View Site Using Export/Import.... 8-26
Using a Group Owner for a Materialized View Group............................................................. 8-39
9 Managing Replication Objects and Queues
Altering a Replicated Object ............................................................................................................ 9-2
Altering a Replicated Object in a Quiesced Master Group..................................................... 9-2
Modifying Tables without Replicating the Modifications......................................................... 9-5
Disabling Replication ................................................................................................................... 9-6
Reenabling Replication ................................................................................................................ 9-7
Ensuring That Replicated Triggers Fire Only Once................................................................. 9-7
Converting a LONG Column to a LOB Column in a Replicated Table ................................... 9-7
Determining Differences Between Replicated Tables................................................................. 9-9
Using the DIFFERENCES Procedure......................................................................................... 9-9
Using the RECTIFY Procedure ................................................................................................. 9-10
Managing the Deferred Transactions Queue .............................................................................. 9-14
Pushing the Deferred Transaction Queue............................................................................... 9-14
Purging the Deferred Transaction Queue............................................................................... 9-15
Using the AnyData Type to Determine the Value of an Argument in a Deferred Call ... 9-16
Managing the Error Queue ............................................................................................................. 9-18
Reexecuting Error Transaction as the Receiver...................................................................... 9-19
Reexecuting Error Transaction as Alternate User.................................................................. 9-20
10 Monitoring a Replication Environment
Monitoring Master Replication Environments........................................................................... 10-2
Monitoring Master Sites............................................................................................................. 10-2
Monitoring Master Groups ....................................................................................................... 10-3
vii
Monitoring Masters.................................................................................................................... 10-6
Monitoring Materialized View Sites .......................................................................................... 10-11
Listing General Information About a Materialized View Site........................................... 10-11
Listing General Information About Materialized View Groups ....................................... 10-12
Listing Information About Materialized Views................................................................... 10-13
Listing Information About the Refresh Groups at a Materialized View Site .................. 10-15
Determining the Job ID for Each Refresh Job at a Materialized View Site ...................... 10-16
Determining Which Materialized Views Are Currently Refreshing ................................ 10-17
Monitoring Administrative Requests......................................................................................... 10-17
Listing General Information About Administrative Requests .......................................... 10-18
Determining the Cause of Administrative Request Errors ................................................ 10-18
Listing General Information About the Job that Executes Administrative Requests..... 10-19
Monitoring the Deferred Transactions Queue.......................................................................... 10-21
Monitoring Transaction Propagation .................................................................................... 10-21
Monitoring Purges of Successfully Propagated Transactions ........................................... 10-24
Monitoring the Error Queue......................................................................................................... 10-26
Listing General Information About the Error Transactions at a Replication Site........... 10-27
Determining the Percentage of Error Transactions ............................................................. 10-28
Listing the Number of Error Transactions from Each Origin Master Site ....................... 10-28
Listing the Error Messages for the Error Transactions at a Replication Site.................... 10-29
Determining the Error Operations at a Replication Site..................................................... 10-29
Monitoring Performance in a Replication Environment ........................................................ 10-30
Tracking the Average Number of Row Changes in a Replication Transaction .............. 10-30
Tracking the Rate of Transactions Entering the Deferred Transactions Queue.............. 10-31
Determining the Average Network Traffic Created To Propagate a Transaction.......... 10-31
Determining the Average Amount of Time to Apply Transactions at Remote Sites ..... 10-32
Determining the Percentage of Time the Parallel Propagation Job Spends Sleeping .... 10-32
Clearing the Statistics for a Remote Master Site in the DEFSCHEDULE View............... 10-33
Monitoring Parallel Propagation of Deferred Transactions Using V$REPLPROP......... 10-33
Part III Replication Management API Packages Reference
11 Introduction to the Replication Management API Reference
Examples of Using Oracle's Replication Management API ..................................................... 11-2
Issues to Consider When Using the Replication Management API....................................... 11-3
viii
The Replication Management Tool and the Replication Management API ......................... 11-3
Abbreviations for Datetime and Interval Datatypes ................................................................. 11-4
12 DBMS_DEFER
CALL Procedure ......................................................................................................................... 12-3
COMMIT_WORK Procedure.................................................................................................... 12-4
datatype_ARG Procedure ........................................................................................................... 12-5
TRANSACTION Procedure ...................................................................................................... 12-8
13 DBMS_DEFER_QUERY
GET_ARG_FORM Function...................................................................................................... 13-3
GET_ARG_TYPE Function........................................................................................................ 13-4
GET_CALL_ARGS Procedure ................................................................................................. 13-6
GET_datatype_ARG Function.................................................................................................... 13-8
GET_OBJECT_NULL_VECTOR_ARG Function ................................................................. 13-11
14 DBMS_DEFER_SYS
ADD_DEFAULT_DEST Procedure.......................................................................................... 14-4
CLEAR_PROP_STATISTICS Procedure.................................................................................. 14-4
DELETE_DEFAULT_DEST Procedure.................................................................................... 14-5
DELETE_DEF_DESTINATION Procedure............................................................................. 14-6
DELETE_ERROR Procedure ..................................................................................................... 14-6
DELETE_TRAN Procedure ....................................................................................................... 14-7
DISABLED Function .................................................................................................................. 14-8
EXCLUDE_PUSH Function....................................................................................................... 14-9
EXECUTE_ERROR Procedure................................................................................................ 14-10
EXECUTE_ERROR_AS_USER Procedure............................................................................. 14-11
PURGE Function....................................................................................................................... 14-12
PUSH Function.......................................................................................................................... 14-14
REGISTER_PROPAGATOR Procedure................................................................................. 14-17
SCHEDULE_PURGE Procedure............................................................................................. 14-18
SCHEDULE_PUSH Procedure ............................................................................................... 14-20
SET_DISABLED Procedure..................................................................................................... 14-22
UNREGISTER_PROPAGATOR Procedure .......................................................................... 14-24
ix
UNSCHEDULE_PURGE Procedure...................................................................................... 14-25
UNSCHEDULE_PUSH Procedure......................................................................................... 14-25
15 DBMS_OFFLINE_OG
BEGIN_INSTANTIATION Procedure .................................................................................... 15-3
BEGIN_LOAD Procedure ......................................................................................................... 15-4
END_INSTANTIATION Procedure ........................................................................................ 15-5
END_LOAD Procedure ............................................................................................................. 15-7
RESUME_SUBSET_OF_MASTERS Procedure....................................................................... 15-8
16 DBMS_RECTIFIER_DIFF
DIFFERENCES Procedure......................................................................................................... 16-3
RECTIFY Procedure ................................................................................................................... 16-6
17 DBMS_REFRESH
ADD Procedure........................................................................................................................... 17-3
CHANGE Procedure.................................................................................................................. 17-4
DESTROY Procedure ................................................................................................................. 17-6
MAKE Procedure........................................................................................................................ 17-6
REFRESH Procedure.................................................................................................................. 17-9
SUBTRACT Procedure............................................................................................................. 17-10
18 DBMS_REPCAT
ADD_GROUPED_COLUMN Procedure................................................................................ 18-8
ADD_MASTER_DATABASE Procedure................................................................................ 18-9
ADD_NEW_MASTERS Procedure ........................................................................................ 18-11
ADD_PRIORITY_datatype Procedure.................................................................................... 18-17
ADD_SITE_PRIORITY_SITE Procedure ............................................................................... 18-18
ADD_conflicttype_RESOLUTION Procedure........................................................................ 18-19
ALTER_CATCHUP_PARAMETERS Procedure ................................................................. 18-24
ALTER_MASTER_PROPAGATION Procedure.................................................................. 18-26
ALTER_MASTER_REPOBJECT Procedure.......................................................................... 18-28
ALTER_MVIEW_PROPAGATION Procedure.................................................................... 18-31
ALTER_PRIORITY Procedure................................................................................................ 18-33
x
ALTER_PRIORITY_datatype Procedure ................................................................................ 18-34
ALTER_SITE_PRIORITY Procedure...................................................................................... 18-35
ALTER_SITE_PRIORITY_SITE Procedure............................................................................ 18-37
CANCEL_STATISTICS Procedure......................................................................................... 18-38
COMMENT_ON_COLUMN_GROUP Procedure............................................................... 18-38
COMMENT_ON_MVIEW_REPSITES Procedure ............................................................... 18-39
COMMENT_ON_PRIORITY_GROUP Procedures............................................................. 18-40
COMMENT_ON_REPGROUP Procedure............................................................................ 18-41
COMMENT_ON_REPOBJECT Procedure............................................................................ 18-42
COMMENT_ON_REPSITES Procedure................................................................................ 18-43
COMMENT_ON_SITE_PRIORITY Procedure..................................................................... 18-45
COMMENT_ON_conflicttype_RESOLUTION Procedure................................................... 18-46
COMPARE_OLD_VALUES Procedure................................................................................. 18-48
CREATE_MASTER_REPGROUP Procedure........................................................................ 18-50
CREATE_MASTER_REPOBJECT Procedure ....................................................................... 18-51
CREATE_MVIEW_REPGROUP Procedure.......................................................................... 18-55
CREATE_MVIEW_REPOBJECT Procedure ......................................................................... 18-56
DEFINE_COLUMN_GROUP Procedure .............................................................................. 18-59
DEFINE_PRIORITY_GROUP Procedure.............................................................................. 18-60
DEFINE_SITE_PRIORITY Procedure .................................................................................... 18-61
DO_DEFERRED_REPCAT_ADMIN Procedure .................................................................. 18-62
DROP_COLUMN_GROUP Procedure.................................................................................. 18-63
DROP_GROUPED_COLUMN Procedure ............................................................................ 18-64
DROP_MASTER_REPGROUP Procedure ............................................................................ 18-66
DROP_MASTER_REPOBJECT Procedure............................................................................ 18-67
DROP_MVIEW_REPGROUP Procedure .............................................................................. 18-69
DROP_MVIEW_REPOBJECT Procedure .............................................................................. 18-70
DROP_PRIORITY Procedure.................................................................................................. 18-71
DROP_PRIORITY_GROUP Procedure.................................................................................. 18-72
DROP_PRIORITY_datatype Procedure .................................................................................. 18-73
DROP_SITE_PRIORITY Procedure........................................................................................ 18-74
DROP_SITE_PRIORITY_SITE Procedure ............................................................................. 18-75
DROP_conflicttype_RESOLUTION Procedure...................................................................... 18-76
EXECUTE_DDL Procedure..................................................................................................... 18-78
GENERATE_MVIEW_SUPPORT Procedure ....................................................................... 18-80
xi
GENERATE_REPLICATION_SUPPORT Procedure.......................................................... 18-81
MAKE_COLUMN_GROUP Procedure................................................................................. 18-83
PREPARE_INSTANTIATED_MASTER Procedure............................................................. 18-85
PURGE_MASTER_LOG Procedure....................................................................................... 18-87
PURGE_STATISTICS Procedure............................................................................................ 18-88
REFRESH_MVIEW_REPGROUP Procedure........................................................................ 18-88
REGISTER_MVIEW_REPGROUP Procedure ...................................................................... 18-90
REGISTER_STATISTICS Procedure ...................................................................................... 18-91
RELOCATE_MASTERDEF Procedure.................................................................................. 18-92
REMOVE_MASTER_DATABASES Procedure.................................................................... 18-94
RENAME_SHADOW_COLUMN_GROUP Procedure ...................................................... 18-95
REPCAT_IMPORT_CHECK Procedure................................................................................ 18-96
RESUME_MASTER_ACTIVITY Procedure.......................................................................... 18-97
RESUME_PROPAGATION_TO_MDEF Procedure............................................................ 18-98
SEND_OLD_VALUES Procedure .......................................................................................... 18-99
SET_COLUMNS Procedure .................................................................................................. 18-102
SPECIFY_NEW_MASTERS Procedure ............................................................................... 18-104
STREAMS_MIGRATION Procedure................................................................................... 18-106
SUSPEND_MASTER_ACTIVITY Procedure...................................................................... 18-106
SWITCH_MVIEW_MASTER Procedure............................................................................. 18-107
UNDO_ADD_NEW_MASTERS_REQUEST Procedure................................................... 18-109
UNREGISTER_MVIEW_REPGROUP Procedure.............................................................. 18-110
VALIDATE Function ............................................................................................................. 18-111
WAIT_MASTER_LOG Procedure........................................................................................ 18-114
19 DBMS_REPCAT_ADMIN
GRANT_ADMIN_ANY_SCHEMA Procedure...................................................................... 19-3
GRANT_ADMIN_SCHEMA Procedure................................................................................. 19-3
REGISTER_USER_REPGROUP Procedure ............................................................................ 19-4
REVOKE_ADMIN_ANY_SCHEMA Procedure.................................................................... 19-6
REVOKE_ADMIN_SCHEMA Procedure............................................................................... 19-7
UNREGISTER_USER_REPGROUP Procedure...................................................................... 19-7
20 DBMS_REPCAT_INSTANTIATE
DROP_SITE_INSTANTIATION Procedure ........................................................................... 20-3
xii
INSTANTIATE_OFFLINE Function........................................................................................ 20-3
INSTANTIATE_ONLINE Function......................................................................................... 20-6
21 DBMS_REPCAT_RGT
ALTER_REFRESH_TEMPLATE Procedure............................................................................ 21-5
ALTER_TEMPLATE_OBJECT Procedure............................................................................... 21-7
ALTER_TEMPLATE_PARM Procedure ............................................................................... 21-10
ALTER_USER_AUTHORIZATION Procedure ................................................................... 21-11
ALTER_USER_PARM_VALUE Procedure........................................................................... 21-13
COMPARE_TEMPLATES Function....................................................................................... 21-15
COPY_TEMPLATE Function.................................................................................................. 21-17
CREATE_OBJECT_FROM_EXISTING Function ................................................................. 21-19
CREATE_REFRESH_TEMPLATE Function ......................................................................... 21-21
CREATE_TEMPLATE_OBJECT Function ............................................................................ 21-23
CREATE_TEMPLATE_PARM Function ............................................................................... 21-26
CREATE_USER_AUTHORIZATION Function ................................................................... 21-28
CREATE_USER_PARM_VALUE Function .......................................................................... 21-29
DELETE_RUNTIME_PARMS Procedure.............................................................................. 21-31
DROP_ALL_OBJECTS Procedure.......................................................................................... 21-32
DROP_ALL_TEMPLATE_PARMS Procedure..................................................................... 21-33
DROP_ALL_TEMPLATE_SITES Procedure......................................................................... 21-34
DROP_ALL_TEMPLATES Procedure ................................................................................... 21-35
DROP_ALL_USER_AUTHORIZATIONS Procedure......................................................... 21-35
DROP_ALL_USER_PARM_VALUES Procedure ................................................................ 21-36
DROP_REFRESH_TEMPLATE Procedure ........................................................................... 21-37
DROP_SITE_INSTANTIATION Procedure.......................................................................... 21-38
DROP_TEMPLATE_OBJECT Procedure............................................................................... 21-39
DROP_TEMPLATE_PARM Procedure ................................................................................. 21-40
DROP_USER_AUTHORIZATION Procedure ..................................................................... 21-41
DROP_USER_PARM_VALUE Procedure ............................................................................ 21-42
GET_RUNTIME_PARM_ID Function ................................................................................... 21-43
INSERT_RUNTIME_PARMS Procedure .............................................................................. 21-44
INSTANTIATE_OFFLINE Function...................................................................................... 21-46
INSTANTIATE_ONLINE Function....................................................................................... 21-48
LOCK_TEMPLATE_EXCLUSIVE Procedure....................................................................... 21-51
xiii
LOCK_TEMPLATE_SHARED Procedure ............................................................................ 21-51
22 DBMS_REPUTIL
REPLICATION_OFF Procedure............................................................................................... 22-3
REPLICATION_ON Procedure................................................................................................ 22-3
REPLICATION_IS_ON Function............................................................................................. 22-3
FROM_REMOTE Function........................................................................................................ 22-4
GLOBAL_NAME Function....................................................................................................... 22-4
MAKE_INTERNAL_PKG Procedure...................................................................................... 22-5
SYNC_UP_REP Procedure........................................................................................................ 22-6
Part IV Replication Data Dictionary Reference
23 Replication Catalog Views
Summary of Replication Catalog Views ...................................................................................... 23-2
DBA_REGISTERED_MVIEW_GROUPS................................................................................. 23-5
ALL_REPCAT_REFRESH_TEMPLATES ............................................................................... 23-5
ALL_REPCAT_TEMPLATE_OBJECTS .................................................................................. 23-6
ALL_REPCAT_TEMPLATE_PARMS ..................................................................................... 23-8
ALL_REPCAT_TEMPLATE_SITES ...................................................................................... 23-10
ALL_REPCAT_USER_AUTHORIZATIONS ....................................................................... 23-11
ALL_REPCAT_USER_PARM_VALUES .............................................................................. 23-12
ALL_REPCATLOG .................................................................................................................. 23-14
ALL_REPCOLUMN ................................................................................................................ 23-16
ALL_REPCOLUMN_GROUP ................................................................................................ 23-18
ALL_REPCONFLICT .............................................................................................................. 23-18
ALL_REPDDL .......................................................................................................................... 23-19
ALL_REPGENOBJECTS ......................................................................................................... 23-20
ALL_REPGROUP .................................................................................................................... 23-21
ALL_REPGROUP_PRIVILEGES ........................................................................................... 23-22
ALL_REPGROUPED_COLUMN .......................................................................................... 23-23
ALL_REPKEY_COLUMNS .................................................................................................... 23-24
ALL_REPOBJECT .................................................................................................................... 23-25
ALL_REPPARAMETER_COLUMN ..................................................................................... 23-26
xiv
ALL_REPPRIORITY ................................................................................................................ 23-27
ALL_REPPRIORITY_GROUP ................................................................................................ 23-29
ALL_REPPROP ........................................................................................................................ 23-29
ALL_REPRESOL_STATS_CONTROL .................................................................................. 23-30
ALL_REPRESOLUTION ......................................................................................................... 23-31
ALL_REPRESOLUTION_METHOD .................................................................................... 23-32
ALL_REPRESOLUTION_STATISTICS ................................................................................ 23-33
ALL_REPSITES ........................................................................................................................ 23-34
DBA_REPCAT_REFRESH_TEMPLATES ............................................................................ 23-35
DBA_REPCAT_TEMPLATE_OBJECTS ............................................................................... 23-35
DBA_REPCAT_TEMPLATE_PARMS .................................................................................. 23-35
DBA_REPCAT_TEMPLATE_SITES ...................................................................................... 23-36
DBA_REPCAT_USER_AUTHORIZATIONS ...................................................................... 23-36
DBA_REPCAT_USER_PARM_VALUES ............................................................................. 23-36
DBA_REPCATLOG ................................................................................................................. 23-36
DBA_REPCOLUMN ............................................................................................................... 23-37
DBA_REPCOLUMN_GROUP ............................................................................................... 23-37
DBA_REPCONFLICT ............................................................................................................. 23-37
DBA_REPDDL ......................................................................................................................... 23-37
DBA_REPEXTENSIONS ......................................................................................................... 23-37
DBA_REPGENOBJECTS ......................................................................................................... 23-40
DBA_REPGROUP .................................................................................................................... 23-40
DBA_REPGROUP_PRIVILEGES ........................................................................................... 23-40
DBA_REPGROUPED_COLUMN .......................................................................................... 23-40
DBA_REPKEY_COLUMNS ................................................................................................... 23-40
DBA_REPOBJECT ................................................................................................................... 23-41
DBA_REPPARAMETER_COLUMN .................................................................................... 23-41
DBA_REPPRIORITY ............................................................................................................... 23-41
DBA_REPPRIORITY_GROUP ............................................................................................... 23-41
DBA_REPPROP ....................................................................................................................... 23-41
DBA_REPRESOL_STATS_CONTROL ................................................................................. 23-42
DBA_REPRESOLUTION ........................................................................................................ 23-42
DBA_REPRESOLUTION_METHOD .................................................................................... 23-42
DBA_REPRESOLUTION_STATISTICS ................................................................................ 23-42
DBA_REPSITES ........................................................................................................................ 23-43
xv
DBA_REPSITES_NEW............................................................................................................. 23-43
USER_REPCAT_REFRESH_TEMPLATES .......................................................................... 23-44
USER_REPCAT_TEMPLATE_OBJECTS .............................................................................. 23-45
USER_REPCAT_TEMPLATE_PARMS ................................................................................ 23-45
USER_REPCAT_TEMPLATE_SITES .................................................................................... 23-45
USER_REPCAT_USER_AUTHORIZATION ....................................................................... 23-45
USER_REPCAT_USER_PARM_VALUES ........................................................................... 23-46
USER_REPCATLOG ............................................................................................................... 23-46
USER_REPCOLUMN .............................................................................................................. 23-46
USER_REPCOLUMN_GROUP ............................................................................................. 23-46
USER_REPCONFLICT ............................................................................................................ 23-47
USER_REPDDL ........................................................................................................................ 23-47
USER_REPGENOBJECTS ....................................................................................................... 23-47
USER_REPGROUP .................................................................................................................. 23-47
USER_REPGROUP_PRIVILEGES ......................................................................................... 23-47
USER_REPGROUPED_COLUMN ........................................................................................ 23-47
USER_REPKEY_COLUMNS ................................................................................................. 23-48
USER_REPOBJECT .................................................................................................................. 23-48
USER_REPPARAMETER_COLUMN .................................................................................. 23-48
USER_REPPRIORITY ............................................................................................................. 23-48
USER_REPPRIORITY_GROUP ............................................................................................. 23-49
USER_REPPROP ...................................................................................................................... 23-49
USER_REPRESOL_STATS_CONTROL ............................................................................... 23-49
USER_REPRESOLUTION ...................................................................................................... 23-49
USER_REPRESOLUTION_METHOD .................................................................................. 23-50
USER_REPRESOLUTION_STATISTICS .............................................................................. 23-50
USER_REPSITES ...................................................................................................................... 23-50
24 Replication Dynamic Performance Views
V$MVREFRESH ......................................................................................................................... 24-2
V$REPLPROP ............................................................................................................................. 24-2
V$REPLQUEUE ......................................................................................................................... 24-4
25 Deferred Transaction Views
DEFCALL ................................................................................................................................... 25-2
xvi
DEFCALLDEST .......................................................................................................................... 25-2
DEFDEFAULTDEST .................................................................................................................. 25-3
DEFERRCOUNT ........................................................................................................................ 25-3
DEFERROR ................................................................................................................................. 25-3
DEFLOB ...................................................................................................................................... 25-4
DEFPROPAGATOR .................................................................................................................. 25-4
DEFSCHEDULE ......................................................................................................................... 25-4
DEFTRAN ................................................................................................................................... 25-7
DEFTRANDEST ......................................................................................................................... 25-8
26 Materialized View and Refresh Group Views
Part V Appendixes
A Security Options
Security Setup for Multimaster Replication.................................................................................. A-2
Trusted Compared With Untrusted Security ........................................................................... A-3
Security Setup for Materialized View Replication ...................................................................... A-8
Trusted Compared With Untrusted Security ........................................................................... A-9
B User-Defined Conflict Resolution Methods
User-Defined Conflict Resolution Methods.................................................................................. B-2
Conflict Resolution Method Parameters ................................................................................... B-2
Resolving Update Conflicts......................................................................................................... B-3
Resolving Uniqueness Conflicts................................................................................................. B-3
Resolving Delete Conflicts........................................................................................................... B-4
Multitier Materialized Views and User-Defined Conflict Resolution Methods.................. B-4
Restrictions for User-Defined Conflict Resolution Methods.................................................. B-5
Examples of User-Defined Conflict Resolution Method......................................................... B-6
User-Defined Conflict Notification Methods ............................................................................... B-8
Creating a Conflict Notification Log.......................................................................................... B-8
Creating a Conflict Notification Package.................................................................................. B-9
Viewing Conflict Resolution Information................................................................................... B-12
Index
xvii
Send Us Your Comments
Oracle Database Advanced Replication Management API Reference, 10g Release 1 (10.1)
Part No. B10733-01
Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this
document. Your input is an important part of the information used for revision.
■ Did you find any errors?
■ Is the information clearly presented?
■ Do you need more information? If so, where?
■ Are the examples correct? Do you need more examples?
■ What features did you like most?
If you find any errors or have any other suggestions for improvement, please indicate the document
title and part number, and the chapter, section, and page number (if available). You can send com-
ments to us in the following ways:
■ Electronic mail: infodev_us@oracle.com
■ FAX: (650) 506-7227 Attn: Server Technologies Documentation Manager
■ Postal service:
Oracle Corporation
Server Technologies Documentation
500 Oracle Parkway, Mailstop 4op11
Redwood Shores, CA 94065
USA
If you would like a reply, please give your name, address, telephone number, and (optionally) elec-
tronic mail address.
If you have problems with the software, please contact your local Oracle Support Services.
xviii
xix
Preface
Oracle Database Advanced Replication Management API Reference contains information
that describes the features and functionality of the replication management API.
Specifically, the Oracle Database Advanced Replication Management API Reference
contains reference information for the packages in the replication management API,
as well as examples of their use.
In addition, Oracle Database Advanced Replication Management API Reference contains
reference information about the replication catalog and other data dictionary views
that are important for replication.
This preface contains these topics:
■ Audience
■ Organization
■ Related Documentation
■ Conventions
■ Documentation Accessibility
xx
Audience
Oracle Database Advanced Replication Management API Reference is intended for
database administrators and application developers who develop and maintain
replication environments. These administrators and application developers perform
one or more of the following tasks:
■ Configure replication sites
■ Create master groups
■ Create deployment templates
■ Create materialized view groups
■ Configure conflict resolution
■ Manage replication environments
■ Use the replication management API
■ Monitor replication environments using data dictionary views
■ Plan and configure security options
To use this document, you need to be familiar with relational database concepts,
distributed database administration, PL/SQL (if using procedural replication), and
the operating system under which you run an Advanced Replication environment.
Organization
This document contains:
Part I, "Configuring Your Replication Environment"
Includes instructions on using the replication management API to set up both
multimaster replication and materialized view replication. This part also contains
instructions for configuring conflict resolution methods and instructions for
managing your replication environment using the replication management API.
Chapter 1, "Overview of Replication"
Provides an overview of the process for building a replication environment with the
replication management API. This chapter also contains some prerequisites for
building a replication environment.
Another Random Scribd Document
with Unrelated Content
54 THE CHEMICAL WARFARE SERVICE appeared
practicable, but the CWS finally decided that the advantages of the
method did not compensate for the higher cost of diphosgene and
the changes that would have been necessary in the design of
munitions. During the war the CWS manufactured and purchased
from industry more than forty million pounds of phosgene for use in
various munitions/^ Two munitions for phosgene, the chemical
mortar shell and the portable cylinder, had descended from World
War I. In the event of gas warfare, the mortar would have been the
chief weapon of the ground forces for laying down concentrations of
phosgene on caves, dugouts, bunkers, and artillery and machine gun
emplacements. From 1941 to 1944 the CWS filled almost half a
million 4.2-inch mortar shells with CG. Each shell held almost seven
pounds of CG, about 25 percent of the total weight of the filled
munition. The cylinder had been a standard weapon in the static
trench warfare of World War I, but it was scarcely suited for the blitz
tactics of World War II. It could have been used, however, to
overcome resistance within caves or bunkers on Japanese-held
islands. It contained thirty-one pounds of phosgene, about 56
percent of the total weight. The cylinder also held about two pounds
of carbon dioxide to expel the phosgene in the form of a mist. In
view of the possible employment of cylinders, the service retained
the final model MlA2, standardized in 1936, until World War II was
over.-" New phosgene weapons were the 7.5-inch rocket, the AN-
M78 500pound bomb, and the AN-M79 1000- pound bomb. The
rocket, which was the World War II counterpart of the World War I
Livens projectile, was readied by 1944. The Navy took almost eight
thousand of these, the Army more than twenty-three thousand.
Development of phosgene bombs started in early 1942 when the
CWS asked the Ordnance Department for a series of chemical bombs
of approximately the same shape as general purpose bombs. The
new munitions were produced in 1943 and sent to Dugway Proving
Ground for testing and 'evaluation.-^ The 1000-pound bomb holding
415 pounds of CG '" Richard H. Crawford, Lindsley F. Cook, and
Theodore E. Whiting, Statistics, "Procurement," p. 21. Copy in
OCMH. Statistics is a forthcoming volume in the series UNITED
STATES ARMY IN WORLD WAR II. -" (1) CWTC Item 1545,
Obsoletion of Cylinders, Portable, Chemical, Ml, MlAl, M1A2, and
Apparatus, Charging, Portable Chemical Cylinder, Ml, 28 Mar 46. (2)
CWTC Item 1614, same title, 23 May 46. 2' (1) Baum, Dugway
Proving Ground, pp. 201-24. (2) CWTC Item 826, Classification of
Fillings for Chemical Munitions, 15 Oct 43. (3) CWTC Item 881,
Classification of Fillings for Chemical Munitions, 3 Dec 43.
TOXIC AGENTS 55 turned out to be an extremely effective
munition. When it hit the ground and burst open a large amount of
liquid phosgene was freed. The evaporating liquid cooled the vapor
and caused it to flatten out against the ground in a pancake-shaped
cloud instead of rising as had been expected. This cloud always
fDtmed, regardless of the weather. The 500-pound bomb containing
205 pounds of CG was not quite half as effective as the 1000pound
bomb, but it was still a useful munition because American planes
could carry more than twice as many 500-pound bombs as 1000-
pound bombs. The CWS filled twenty-five thousand 500-pound
bombs in 1944, and sixty-three thousand 1000-pound bombs from
1943 to 1945. The Air Forces could, in case of chemical warfare,
have used these chemical bombs against targets beyond mortar
range, against fortifications on Iwo Jima and other islands before
amphibious assaults were made, and against strategic targets, such
as war plants during working hours. After the war examination of
stocks of gas weapons captured in Germany showed that the
German Army had on hand thousands of 250and 500-kilogram
phosgene bombs."'- These bombs, however, had been largely
superseded by bombs containing the nerve gas tabun, which the
Germans began producing in 1942. '-'^ The Germans did not favor
the use of phosgene in shells. Italy had phosgene bombs, and shells
ranging in size from l49-mm. to 305-mm.-^ Phosgene shells, from
75-mm. up to 150mm. were captured from the Japanese, who also
had bombs in sizes up to 200 kilograms."'' Had gas warfare started
early in World War II, phosgene would probably have been used
widely by the Allied and the Axis armies wherever the tactical
situation called for the employment of a nonpersistent, delayed-
action agent. Sometime in 1942 or thereafter, evidence indicates
that as a stockpile accumulated the Germans would have introduced
tabun, and phosgene would then have had to share the field with
the new nerve gas. Hydrogen Cyanide At the battle of the Somme in
July 1916 French artillery fired shells filled with hydrogen cyanide
(CWS symbol, AC)."^ The compound had --First United States Army.
Report of Operations 23 Feb-8 May 1945. Annex No. 9, p. 192. ^^
Intel Div, CWS, Theater Service Forces, ETOUSA, German Chemical
Warfare, World War II, Sep 45, p. 39. Hereafter cited as German
Chemical Warfare. -■' CW Intel Bull No. 16, Italian Chemical
Warfare, 1 Jul 43. -■' (1) CW Intel Bull No. 49, pt. I, Japanese Gas
Shells, 1 Feb 45. (2) CW Intel Bull No. 14, Aerial Gas Weapons of
Germany, Italy and Japan, 15 May 43. -" Hydrogen cyanide is also
known as hydrocyanic acid and prussic acid.
56 THE CHEMICAL WARFARE SERVICE been familiar to
chemists for a century but this was the first time it was used in
warfare."" It is a colorless liquid which evaporates quickly at room
temperature and boils at 78° F. The liquid and vapor interfere with
normal processes in body cells, particularly in the respiratory center
of the nervous system, and if present in more than a certain small
concentration quickly causes death. But if cyanide is present in less
than the lethal concentration the cells can convert it into a harmless
compound and the body is uninjured. In this respect AC is different
from phosgene, mustard, and other toxic agents which are harmful
even when present in less than the lethal dose. The French had
some difficulty in using hydrogen cyanide as an agent because AC
vapor is light and therefore has a tendency to diffuse instead of lying
close to the ground. Also, AC has a tendency to
decomposesometimes so violently that the container exploded.'"^ In
an attempt to cut down the rate of diffusion the French mixed AC
with stannic chloride. To prevent AC from decomposing the French
added arsenic trichloride. To keep the mixture from crystallizing and
to make soldiers more susceptible to the agent they added
chloroform. The addition of these compounds diluted the AC so
much that the final mixture contained only 50 percent of the
cyanide. This meant that twice as many shells, or shells with twice
the capacity, were needed to deliver the same weight of the cyanide
— a rather wasteful procedure. In addition to employing a dilute
agent the French used small shells holding only about a pound of
filling. Furthermore, their artillery fired at a slow rate. As a result the
French were not able to place a lethal concentration of gas on an
enemy area. Other nations observed the apparent failure of
hydrogen cyanide and came to the conclusion that it was not
suitable as a war gas, but the French never lost faith in it and
continued to use it until the end of the war. Despite its drawbacks,
hydrogen cyanide was inexpensive, commercially available, and had
several of the other properties that have been mentioned as being
necessary or desirable for a toxic agent. After the war the opinion
gained ground in the CWS that the agent had not been given a fair
trial. "^ In the 1930's chemists made laboratory and field studies, in-
' Maj. Gen. C. H. Foulkes, "Gas!" The Story of the Special Brigade
(Edinburgh: William Blackwood & Sons, 1934), p. 108, says that
hydrogen cyanide was "reported" to have been employed by
Austrian artillery in Italy in September 1915. ■-"* After World War I
the CWS experienced several explosions among AC shells and
cylinders in storage sheds at Edgewood Arsenal. -'^ Rudolph Macy,
Hydrocyanic Acid: Its Military History and a Summary of its
Properties. EATR 219, 20 May 37.
TOXIC AGENTS 57 eluding firing tests with 155-mm.
howitzer shells, and came to the conclusion that the compound was
potentially an effective lethal, nonpersistent agent.^° They
overcame the old problem of decomposition with the aid of Du Pont
and American Cyanamid, manufacturers of hydrogen cyanide, who
gave information which finally enabled the CWS to stabilize the
cyanide in munitions. ^^ After the United States entered World War
II the CWS extended its work and tested AC bombs of the 100-, 11
5-, 1000-, and 2000-pound size. The 1000-pound bomb, holding
approximately 200 pounds of agent, proved particularly suitable as a
munition. With this large quantity of the cyanide the cooling effect
brought about by evaporation of the liquid produced a cloud of gas
whose density was greater than air and which hovered close to the
ground. Under favorable meteorological conditions the cloud was
fatal hundreds of yards from the point of impact. ■^'The bomb was
unquestionably an efficient munition for use in a cyanide gas attack,
but the tests uncovered a serious problem. The vapor which billowed
outward from the bomb was easily ignited by the flash of the
burster. In some tests, practically all the bombs caught fire as they
split open. There were three ways of preventing the burning of AC:
one was to devise a "cold" bursting charge that would not ignite the
vapor, the second was to use a more powerful bursting charge that
would push the vapor cloud away from the bomb faster than the
flame could follow, and the third was to add a substance that would
make AC more difficult to ignite. Since the first two methods would
have required too much time and field work, the third was followed.
Anton B. Burg and his associates conducted the research under an
NDRC contract at the University of Southern California. They
discovered that hydrocarbons such as those in gasoline were the
best flame inhibitors. Dugway Proving Ground tested AC protected
with hydrocarbons and found that it did not take fire as readily as
pure AC, but bombs still burned occasionally, and the problem was
never completely solved.'^^ The 1000-pound bomb would have
been the chief means of dumping hydrogen cyanide on the enemy if
gas had been used in the latter part of the war. It was standardized
for use with AC in 1943, and about 5,000 '" Samuel A. White,
Hydrocyanic Acid: Field Tests (Static and Artillery Fire) of HCN in
155mm. Shell. EATR 299, 5 May 39. •" G. N. Jarman, HCN: Stability
in Shell, Status Report, 1940. EATR 340, 6 Mar 41. •■'- Baum,
Dugway Proving Ground, pp. 214-29. ■■'■' Military Problems with
Aerosols and Nonpersistetit Gases. Summary Technical Report of
Division 10, National Defense Research Committee (Washington,
1946).
58 THE CHEMICAL WARFARE SERVICE bombs were filled
and stored.'^' This munition accounted for almost all of the
1,132,000 pounds of AC procured by the CWS from July 1940 to the
end of 1945.^^ An unusual AC weapon was a glass bottle holding
about a pint of liquid.'^*^ This grenade was produced from 1942
onward as a possible lastditch weapon against tanks or in
overcoming bunkers. It was finally dropped from the approved
munitions in 1944 because of the danger of breakage during
shipment, either through accident or enemy action, and because
tests had proven that it would not always break on soft jungle
underbrush or if it glanced off log bunkers.^' In view of the fact that
the Germans did not regard hydrogen cyanide as highly as some
other agents, they did not procure large quantities or fill shells,
bombs, or grenades. They did, however, think that AC might be
useful in the form of a spray, and the Luftwaffe carried out extensive
field trials with aerial spray tanks. The Japanese, on the other hand,
felt as the Americans did about the value of AC, but they planned to
use it in shells and grenades rather than in bombs. Their AC
munitions ranged from mortar shells— light, medium, and heavy—
to 150-mm. howitzer shells. Japanese glass grenades containing
hydrogen cyanide were captured on Guadalcanal, in Burma, and on
the upper Chindwin River. Hydrogen cyanide was not as important as
some of the other toxic agents, but if gas warfare had broken out,
both sides would certainly have employed it in tactical situations
where its rapid action and lack of persistence would have been of
advantage to the attacking force. Cyanogen Chloride Cyanogen
chloride (CWS symbol, CK) is a colorless liquid slightly denser than
water.^^'* It boils at a temperature of 55° F., giving off a vapor
which is approximately twice as dense as air and which irritates the
eyes ^M 1) CWTC Item 826. (2) CWTC Item 881, (3) Chemical
Warfare Service Report of Production, 1 Jan 40 through 31 Dec 45,
p. 4. Prepared by Prod Br, Proc Div, CWS. CWS 314.7 Procurement
File. '■'■■' Consolidated Chemical Commodity Report, 16 Oct 51, p.
16. This report was prepared by Facilities Br, Ind Div. OC CmlO. CWS
314.7 Procurement File. 3« CWTC Item 495, Standardization of HCN
Filling for Grenade, Frangible Ml, 10 Feb 42. ^" (1) CWTC Item 1117,
Obsoletion of Grenade, Frangible (AC), Ml and Grenade, Frangible
(FS), Ml, 31 Aug 44. (2) CWTC Item 1201, same title, 26 Oct 44. ^^
In June 1943 the CWS changed the symbol CK to CC. But the letters
CC resembled CG (phosgene) when printed, and there was some
confusion. In November 1944 the symbol CK was restored. See
CWTC Item 1179.
TOXIC AGENTS 59 and nasal passages. When air containing
a high concentration of the vapor is inhaled the compound quickly
paralyzes the nervous system and causes death. When a low
concentration is inhaled the reaction is not so rapid, but the
compound accumulates in the body until a lethal concentration is
reached. Cyanogen chloride was first used as a toxic agent by the
French in October 1916. In 1917 and 1918 the CWS investigated the
manufacture, the chemical, physical, and physiological properties,
and the effectiveness in shells and Livens projectiles of cyanogen
chloride.'^^ The Research Division found that the gas passed rapidly
through the German but not through the American mask. This was
an important discovery and might have led to the adoption of the
compound as an American chemical warfare agent had not the
density of the vapor been so low that the CWS felt it was impossible
to place a lethal concentration of cyanogen chloride on enemy
positions. ^° The same decision, apparently, was also reached by
the French and other European armies, for cyanogen chloride was
never used to any extent. Between the wars the CWS conducted few
trials with CK. The compound's chief test came in 1933 when the
Technical Division, searching for an agent that would act more
rapidly than phosgene, the standard nonpersistent agent, examined
CK and decided it was not acceptable. ^^ But early in World War II
the CWS, while examining captured Japanese and German masks,
obtained data that indicated that CK would penetrate enemy
canisters in harassing concentrations if the humidity of the air was
high — a condition common to the tropics.^" This discovery opened
the way for the adoption of CK as a standard agent. As a prelude to
standardization technicians had to learn if a lethal concentration
could be laid down over enemy positions, to see if CK was available
in quantities sufficient for military use, to find means of overcoming
the instability of the compound, and to modify the canister of the
mask for greater protection to American soldiers. The CWS and
NDRC assessed CK at Dugway Proving Ground in 3^ Clarence J.
West, Cyanogen Derivatives, Chloride, Bromide, Iodide, Sulfide,
Chemical Warfare Monographs, vol. 25, April 1919. "" Phosgene,
mustard, lewisite, and other agents have a density 3.4 to 7 times
that of air. CK is only twice as dense as air. Only one agent,
hydrogen cyanide, is less dense than CK. ^' Armstrong and White,
Selection of Quick-Acting Nonpersistent Agent. ^- A comparison of
enemy and friendly canisters may be found in: (1) CWTC Item 811,
Standardization of Nonpersistent Agent, Cyanogen Chloride, 3 Sep
43. (2) Military Problems with Aerosols and Nonpersistent Gases.
Summary Technical Report of Division 10, National Defense Research
Committee (Washington, 1946).
60 THE CHEMICAL WARFARE SERVICE February and March
1943.'*^ Testers placed a 100-pound chemical bomb containing 67
pounds of CK and a 500-pound bomb containing 280 pounds of CK
in shallow craters and split them open with tetryl bursters. They
estimated the strength of the gas cloud by means of vapor sampling
devices and goats placed downwind from the burst. The trials
showed that the 500-pound bomb released a low-hanging cloud that
was lethal' for a considerable distance and that the flash from a
tetryl burster would not ignite the compound. Even though CK was
shown to be suitable as an agent, the CWS still might not have
standardized it if the protective properties of the American mask had
not been improved. The mask carried by soldiers at the start of the
war gave excellent protection against chloropicrin, phosgene,
mustard, and lewisite but only fair protection against hydrogen
cyanide, and cyanogen chloride. The CWS in 1943 adopted Type ASC
charcoal, treated with chromium, which was more effective in
removing CK. Thus at the time when the investigators were
uncovering evidence of the usefulness of CK on the offense, the
technicians were developing better protection for defense. Another
hurdle that remained was the chemical instability of cyanogen
chloride which had a tendency to polymerize. That is, the short
molecules of the compound would join together spontaneously to
torm large molecules of a new compound. Sometimes the reaction
took place so rapidly that the container exploded. Polymerization
within bombs or shells also meant a wastage of the munition, since
the new compounds were relatively harmless as agents. The task of
preventing or retarding polymerization was undertaken by Division
10 of the NDRC in 1942. A group of chemists headed by Wendell M.
Latimer of the University of California made a preliminary search for
stabilizing compounds. Later researchers of American Cyanamid Co.,
working under CWS contract, took up the quest and uncovered
additional information. Dugway Proving Ground contributed to these
studies by setting up a large-scale surveillance test of munitions
filled with CK. In August 1943 the NDRC started an additional
experimental program under Anton B. Burg of the University of
Southern California. Burg's group ran nearly two thousand tests on
cyanogen chloride. This work expanded the knowledge of the
chemistry of CK, particularly the reactions which took place during
storage, but still did not provide the complete '^ B. G. Macintire,
Static Tests of CC in 100-lb. and 500-lb. Chemical Bombs. DPGMR 5,
12 Mar 43.
TOXIC AGENTS 61 answer. In 1944 Division 9 of the NDRC
entered the field with a group of men under Kharasch of the
University of Chicago. This group observed the retarding power of
inorganic compounds on the polymerization of CK and finally found
that a small amount of sodium pyrophosphate would preserve CK
under normal storage conditions for many years. From then on
sodium pyrophosphate was used to stabilize CK. In order to obtain
sufficient CK for chemical munitions, the CWS had to erect a plant.
Before the war the only plant in the country was owned by the
American Cyanamid Co. at Warners, N.Y. This plant produced
sufficient cyanogen chloride for industry, but could not turn out the
large quantity needed for chemical warfare. In October 1943 the
War Department approved the construction of a CWS plant with a
capacity of fifteen tons, later increased to sixty tons, per day.^^ The
Chemical Construction Co. broke ground for the "Owl" plant, as it
was called, on 27 November at a site adjacent to the American
Cyanamid Co.'s hydrogen cyanide plant at Azusa, Calif This location
thus assured the "Owl" plant with the hydrogen cyanide needed in
the process. American Cyanamid, which operated the plant under
contract, started the first unit in April 1944. The CWS chose two
types of munitions for cyanogen chloride— 4.2inch mortar shells and
bombs. The mortar shell was made the official CK munition for
ground forces in 1945, but was not filled. Instead, almost all of the
twenty-five million pounds of CK procured by the CWS went into
33,347 M78 500-pound bombs, each holding 165 pounds of agent,
and 55,851 M79 1000-pound bombs, each holding 332 pounds.^^
Cyanogen chloride bombs, in event of chemical warfare, would
probably have been used early against the Japanese, particularly in
the tropics, where the humidity would have assisted the vapor in
passing through the canister. The soldier then would have been
forced to tear off his mask, exposing himself to other lethal agents
dropped simultaneously. In time the Japanese and Germans could
have treated the charcoal in such a way that CK would no longer
pass through their canisters. The agent would then have lost its
chief usefulness as a war gas. Mustard Gas In World War I the
protection experts on each side tried to devise means of neutralizing
enemy agents as soon as new agents appeared. Chlo*■• History of
the Owl Plant, passim. ■•s Consolidated Chemical Commodity
Report, p. 56. (2) CWS Report of Production, 1 Jan 40 through 31
Dec 45, p. 4. 512467 O-60— 6
62 THE CHEMICAL WARFARE SERVICE rine, the first gas
used, was soon parried by an adequate mask. As new gases
appeared, the masks were improved. Soon the mask furnished full
protection and men were gassed only when they were careless,
panicky, or caught by surprise. But in July 1917 the German Army
brought out a new type of agent, mustard gas, that not only
attacked the respiratory system but also the skin, soaking through
clothes and shoes and raising painful blisters. It was almost
impossible to shield soldiers completely against mustard. It became
the king of battle gases and caused four hundred thousand
casualties before the armistice.^'' Crude mustard gas (CWS symbol,
H) was a mixture of approximately 70 percent )S,yS'-dichloroethyl
sulfide and 30 percent of sulphur and other sulphur compounds. It
was an oily, brown liquid that evaporated slowly, giving off a vapor
five times heavier than air. It was almost odorless in ordinary field
concentrations but smelled like garlic or mustard in high
concentrations — hence the name. It irritated and poisoned body
cells, but generally several hours passed before symptoms appeared.
The chief problem concerning mustard had to do with its
purification. In World War I the CWS adopted the Levinstein process
of the English in which ethylene reacted with sulphur monochloride
under carefully controlled conditions.^' The reaction at first glance
seems simple, but actually it was rather complex and defied the
eflforts of CWS chemists to chart its course. The impurities were of
such a nature that they could not be isolated and analyzed. They
resisted separation from the main ingredient, /S,/5'-dichloroethyl
sulfide, and caused or hastened decomposition of the sulfide.
Decomposition was a disadvantage, first, because some of the
resulting products corroded the storage container, making storage
unsafe; secondly, other products settled out as a sludge that could
change the ballistic properties of shells or prevent the liquid from
dispersing in the most favorable pattern; thirdly, a gas was evolved
which built up pressure and threatened to burst containers; and,
later, after airplane spray tanks were devised, the decomposition
products made it impossible to thicken mustard for use in airplane
spray attacks. Chemists of the research and development division
investigated methods of purifying mustard, but the processes proved
to be impractical for large-scale use.^*^ After the armistice the
CWS disposed of the mustard *''' Prentiss, Chemicals in War. p. 199.
''^ James K. Senior, "The Manufacture of Mustard Gas in World War
I," Armed Forces Chemical Journal. XII (Sept-Oct 1958), 12-14, 16-
17, 29; XII (Nov-Dec 1938), 26-29. " Clarence J. West, Dichloroethyl
Sulfide and Homologues, Chemical Warfare Monographs, vol. 40, 1
Aug 18.
TOXIC AGENTS 63 plants at Cleveland, Ohio, Buffalo, N.Y.,
Midland, Mich., and Hastingson-Hudson, N.Y., and closed the plant at
Edgewood. Research on mustard practically ceased until the early
1930's when the plant at Edgewood was restored. In 1937 this plant
was put into production for a two-week period but not until 1940
was it opened for large-scale production. ^^ After Edgewood
Arsenal began producing mustard again the CWS, assisted by the
NDRC, examined a number of purification methods including
distillation under low pressure, distillation using steam and organic
liquids, extraction with solvents, treatment with ammonia, flash
distillation, and crystal fractionation. Of these processes only vacuum
distillation, steam distillation, and solvent extraction proved to be
feasible for use on a large scale. Purification by extraction dated
back to 1918 when the CWS carried out laboratory and pilot plant
investigations to see if ^,)S'-dichloroethyl sulfide could be separated
from impurities by dissolving it in gasoline or other solvents. The
insoluble impurities remained in the residue and the sulfide was
recovered from the solvent by distillation. '''' In 1942 this line of
research was resumed at the CWS-MIT Development Laboratory.
The chemists first obtained data on the solubility of the constituents
of crude mustard in various solvents, and on rates of solution. Then,
using glass extraction apparatus, they determined the data
necessary for designing a large-scale extractor. '^^ The NDRC
assisted by awarding a contract to the Texas Co. for pilot plant
studies. Texas Co. engineers proved that largescale extraction was
practical, but they found that the product was less pure than steam
distilled mustard and that the process required complex, expensive
equipment. Steam distillation, in which a current of steam was
passed into the still to help carry away mustard, leaving the
impurities behind as a tarry residue, had also been tested by the
CWS back in 1918. In 1943 the CWSMIT Development Laboratory
re-examined this method and found that it produced a sulfide of
high purity and fair stability, and that only simple equipment was
required. "'" The Texas Co. then made a pilot plant inves^^ (1) Capt
William Creasy and L. Wilson Greene, Six-Ton Levinstein HS Plant,
Engineering Test. EATR 254, 14 Apr 39. (2) Edgewood Arsenal in
Chemical Warfare Production, pp. 48-51. ■'" (1) Single, Successive
and Continuous Extraction of Mustard Gas with Solvents. EAL 11, 24
May 18. (2) Thomas G. Thompson and Harry Odeen, "The Solubility
of /?, /^'-Dichloroethyl Sulfide in Petroleum Hydrocarbons and Its
Purification by Extraction with These Solvents," Industrial and
Engineering Chemistry. 12 (1920), 1057-62. ■" Scott W. Walker, Capt
John H. Carpenter, and Theodore Q. Eliot, Purification of Levinstein
H. MITMR 66, 23 May 44. '-- Ibtd.
64 THE CHEMICAL WARFARE SERVICE tigation to obtain
data for the construction and operation of a full size plant. ^^ It is
possible that this process would have been the one utilized, as it
seemed the most promising at the time, had not the CWS and NDRC
come across a superior method, vacuum distillation. The CWS
obtained the clue which led them to vacuum distillation in November
1943 when Capt. J. W. Eastes visited the University of Illinois to
confer with NDRC chemists. He learned that they had distilled at low
pressure mustard which had been washed with water, and that the
temperatures in the distillation column indicated that fairly pure
j8,/8'-dichloroethyl sulfide could be prepared in this way.^^ In other
words, water removed certain impurities, and distillation removed
the remainder. The CWS had investigated vacuum distillation earlier,
but had never washed the crude mustard before distilling.^^ The
Technical Division investigated the process and found that it
produced a purer and more stable l^,/3'-dichloroethyl sulfide than
the other methods and that it was quite practical so far as apparatus
was concerned. A pilot plant was first set up and then a full-scale
plant.^^ In 1945 the service switched to the new process at
Edgewood and at Rocky Mountain Arsenal. ^^ By the end of the
year 9,218,357 pounds of distilled mustard (symbol, HD) had been
produced. With the successful production of HD, production of the
old Levinstein mustard was halted. Mustard, in terms of the quantity
that the CWS stockpiled, was the most important American toxic
agent. The plants at the Edgewood, Huntsville, Pine Bluff, and Rocky
Mountain arsenals produced 174,610,000 pounds, exclusive of the
nine million pounds of the new distilled mustard.^^ Since mustard
evaporated slowly and thus remained effective from several hours to
several days, depending upon the weather and terrain, its use was
indicated on strategic targets or on enemy positions that would not
be taken immediately by American troops. Thus, it could be used to
"seal ofiP' an enemy area into which American troops were
advancing, and 5^ W. E. Kuhn, G. B. Arnold, and L. E. Rudisch,
Purification of Levinstein Mustard. OSRD 3217, 5 Feb 44. ■'-* Agents
III (Vesicants), monograph MS, vol. 3 of series History of Research
and Development of the CWS (1 July 1940-31 December 1945), pp.
80-81. ^■'' Elford D. Streeter, "Continuous Vacuum Still for 'Mustard
Gas. ' biJ;/srrnil and Engineering Chemistry. 11 (1919), 292-94. 5«
Capt William R. Wheeler, Capt Willard Marcy, Andrew E. Perry, and
William R. Wilson, Vacuum Distillation of Levinstein H, Pilot Plant
Study. TDMR 985, 17 Mar 45. ■" History of Rocky Mountain Arsenal,
1945, vol. IK, pt. L PP- 647-715. "Crawford, Cook, and Whiting,
Statistics, "Procurement," p. 21.
TOXIC AGENTS 65 to hamper enemy lines of
communication, airfields, landing beaches, artillery emplacements,
and observation points. In withdrawals it could be used to
contaminate the routes of enemy advance. For delivery of mustard
by ground troops the CWS had 4.2-inch mortar shells, artillery shells,
and land mines. The land mines were simply rectangular 1-gallon tin
cans, such as were commonly used to hold varnish or syrup. They
had a capacity of ten pounds of mustard. When exploded with a
slow-burning fuze or by electrical means, the mines spread mustard
over a considerable area. They were intended for use as booby traps
or in contaminating fields, roads, and buildings. The CWS procured
and stored (but did not fill) almost two million such mines. ''^ For
possible use by troops, 540,746 4.2-inch mortar shells were filled
and stored. For the artillery, 1,360,338 75-mm. Mk 64, 1,983,945
105-mm. M60, 784,836 155-mm. Mk 2Al, 290,810 155-mm. Ml 10,
and smaller quantities of other shells, were readied. '^° For carrying
out aerial mustard attacks the CWS had chemical bombs and spray
tanks. "^^ The service procured 594,216 M70 and M70Al 115pound
bombs, developed by the Ordnance Department, and 539,727
M47A1 and M47A2 100-pound bombs, developed by the CWS in the
1930's.''" The bombs were slightly over 4 feet long, about 8 inches in
diameter, and contained a cylindrical burster. The bombs held from
60 to 70 pounds of mustard, and when dropped contaminated an
area of from 15 to 40 yards in diameter, depending upon the altitude
of the plane, hardness of the ground, thickness of vegetation, and
so on.*^^ In addition to bombs the service procured 92,337 MlO
30-gallon airplane spray tanks. A plane flying at an altitude of 100
feet and carrying four of these tanks could spray mustard over an
area 75 to 80 yards wide and 600 to 700 yards long. A larger tank,
the M33 or M33A1, of which the service obtained 20,598, held more
than twice as much mustard. A plane carrying two of these tanks
could contaminate an area 75 to 100 yards wide and 700 yards
long.*'^ In anticipation of the use of spray tanks the CWS expended
much effort in trying to improve the spraying properties of mustard.
In the 1930's the CWS had accepted the doctrine that mustard spray
attacks would be "'' Ibid., p. 24. «" CWS Report of Production, 1 Jan
40 through 31 Dec 45, pp. 28-30. '^^ Spray tanks were also used to
dispense Hquid smoke agents. See ch. IX, "Smoke." «- CWS Rpt of
Production, 1 Jan 40 through 31 Dec 45, pp. 3-4. •^^ FM 3-6,
Employment and Characteristics of Air Chemical Munitions, Oct 46.
«^ Ibid.
66 THE CHEMICAL WARFARE SERVICE carried out by
planes flying at low altitudes and moderate speeds. By 1941 plans
called for planes flying a mile high and at speeds up to 350 miles an
hour. At high altitudes and speeds the wind could easily carry small
droplets beyond the target or spread them over too wide an area.
Small droplets also evaporated so quickly that they either might not
reach the ground at all, or else become so minute as to be
practically ineffective. To obtain the desired large droplets chemists
began to search for materials which would thicken mustard.*'^ After
starting the project CWS learned that the British had already
determined the best size for high altitude droplets and were adding
various substances to mustard to increase the particle size. In co-
operation with the NDRC the CWS tested more than seventy
thickeners.'''' Finally, the search narrowed down to polystyrene and
methyl methacrylate. After methyl methacrylate sheet scrap
(Plexiglas and Lucite) became available from aircraft factories, the
CWS adopted it as a m.ustard thickener.'^" As things turned out the
work of the CWS and NDRC on thickeners went for naught. High and
low altitude spray tests carried out by the CWS in co-operation with
the Signal Corps and Army Air Forces at Dugway Proving Ground
from 1943 onward finally proved that unthickened mustard was a
better substance for spraying purposes than thickened mustard, and
thickening agents were given up.''* Like the American Army, the
German Army placed much reliance on mustard. An examination of
captured documents and gas dumps showed that they had produced
more than twice as much mustard as any other agent for use in
artillery shells of all calibers, mortar shells, 250- and 500kilogram
bombs, rockets, and spray tanks. '^'^ A notable feature was the
tendency to use mustard in conjunction with thickening agents or
with substances that would lower the freezing point. Arsenol, a
mixture of arsenic compounds, mainly diphenylchloroarsine, was
widely used for this purpose. The Japanese, too, used mustard as a
filling for shells and bombs. They 8^ Agents III (Vesicants), pp. 96-
135. ''^ Miscellaneous Chemical Eng!neeri>7g Problems. Summary
Technical Report ot Div 11, National Defense Research Committee
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
Let us accompany you on the journey of exploring knowledge and
personal growth!
ebookfinal.com

Advanced Replication Management API Reference 10g Release 1 Edition Randy Urbano

  • 1.
    Advanced Replication ManagementAPI Reference 10g Release 1 Edition Randy Urbano - Downloadable PDF 2025 https://ebookfinal.com/download/advanced-replication-management-api- reference-10g-release-1-edition-randy-urbano/ Visit ebookfinal.com today to download the complete set of ebooks or textbooks
  • 2.
    Here are somerecommended products that we believe you will be interested in. You can click the link to download. OpenAccess Release 2 2 Standard API Tutorial 6th Edition David Mallis https://ebookfinal.com/download/openaccess-release-2-2-standard-api- tutorial-6th-edition-david-mallis/ Oracle Database 10g The Complete Reference 1st Edition Kevin Loney https://ebookfinal.com/download/oracle-database-10g-the-complete- reference-1st-edition-kevin-loney/ Stata reference manual release 7 Stata https://ebookfinal.com/download/stata-reference-manual- release-7-stata/ Head First Ruby Early Release 1 (Early Release) Edition Jay Mcgavren https://ebookfinal.com/download/head-first-ruby-early-release-1-early- release-edition-jay-mcgavren/
  • 3.
    Web Content ManagementSystems Features and Best Practices 1 (Early Release) Edition Deane Barker https://ebookfinal.com/download/web-content-management-systems- features-and-best-practices-1-early-release-edition-deane-barker/ WebSocket 1 (Early Release) Edition Andrew Lombardi https://ebookfinal.com/download/websocket-1-early-release-edition- andrew-lombardi/ CSS Floating Floats and Float Shapes EARLY RELEASE 1 [EARLY RELEASE] Edition Eric A. Meyer https://ebookfinal.com/download/css-floating-floats-and-float-shapes- early-release-1-early-release-edition-eric-a-meyer/ ITIL Release Management A Hands on Guide Dave Howard https://ebookfinal.com/download/itil-release-management-a-hands-on- guide-dave-howard/ SAS Warehouse Administrator 2 3 Metadata API Reference 2nd edition The Sas Technical Team Writers https://ebookfinal.com/download/sas-warehouse- administrator-2-3-metadata-api-reference-2nd-edition-the-sas- technical-team-writers/
  • 5.
    Advanced Replication ManagementAPI Reference 10g Release 1 Edition Randy Urbano Digital Instant Download Author(s): Randy Urbano ISBN(s): 9780974435503, 0974435503 Edition: 10g Release 1 File Details: PDF, 5.17 MB Year: 2003 Language: english
  • 6.
    Oracle® Database Advanced ReplicationManagement API Reference 10g Release 1 (10.1) Part No. B10733-01 December 2003
  • 7.
    Oracle Database AdvancedReplication Management API Reference, 10g Release 1 (10.1) Part No. B10733-01 Copyright © 1996, 2003 Oracle Corporation. All rights reserved. Primary Author: Randy Urbano Graphic Artist: Valarie Moore Contributors: N. Arora, S. Balaraman, Y. Chan, A. Demers, A. Downing, C. Elsbernd, Y. Feng, J. Galagali, D. Goddard, L. Kaplan, V. Krishnamurthy, A. Lakshminath, P. Lane, J. Liu, E. Lu, P. McElroy, M. Pratt, A. Rajaram, N. Shodhan, W. Smith, J. Stamos, J. Stern, M. Subramaniam, E. Vandevelde, L. Wong, D. Zhang The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent and other intellectual and industrial property laws. Reverse engineering, disassembly or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable: Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs. Oracle is a registered trademark, and Oracle9i, Oracle8, Oracle Store, SQL*Plus, and PL/SQL are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners.
  • 8.
    iii Contents Send Us YourComments ................................................................................................................ xvii Preface.......................................................................................................................................................... xix Part I Configuring Your Replication Environment 1 Overview of Replication Overview of Creating a Replication Environment....................................................................... 1-2 Before You Start................................................................................................................................... 1-4 2 Create Replication Site Overview of Setting Up Replication Sites..................................................................................... 2-2 Setting Up Master Sites..................................................................................................................... 2-4 Setting Up orc1.world.................................................................................................................. 2-4 Setting Up orc2.world.................................................................................................................. 2-8 Setting Up orc3.world................................................................................................................ 2-12 Creating Scheduled Links Between the Master Sites ............................................................ 2-16 Setting Up Materialized View Sites.............................................................................................. 2-20 Setting Up mv1.world................................................................................................................ 2-21 Setting Up mv2.world................................................................................................................ 2-27
  • 9.
    iv 3 Create aMaster Group Overview of Creating a Master Group ........................................................................................... 3-2 Before You Start ............................................................................................................................ 3-3 Creating a Master Group................................................................................................................... 3-5 4 Create a Deployment Template Oracle Deployment Templates Concepts....................................................................................... 4-2 Before Creating the Deployment Template ................................................................................... 4-3 Creating a Deployment Template.................................................................................................... 4-3 Packaging a Deployment Template for Instantiation................................................................ 4-12 Packaging a Deployment Template ......................................................................................... 4-14 Saving an Instantiation Script to File ....................................................................................... 4-16 Distributing Instantiation Files................................................................................................. 4-18 Instantiating a Deployment Template..................................................................................... 4-19 Refreshing a Refresh Group After Instantiation .................................................................... 4-21 5 Create Materialized View Group Overview of Creating a Materialized View Group ...................................................................... 5-2 Creating a Materialized View Group.............................................................................................. 5-4 Creating the Materialized View Group at mv1.world ............................................................ 5-4 Creating the Materialized View Group at mv2.world .......................................................... 5-12 6 Configure Conflict Resolution Preparing for Conflict Resolution ................................................................................................... 6-2 Creating Conflict Resolution Methods for Update Conflicts .................................................... 6-3 Overwrite and Discard Conflict Resolution Methods............................................................. 6-3 Minimum and Maximum Conflict Resolution Methods ........................................................ 6-6 Timestamp Conflict Resolution Methods.................................................................................. 6-9 Additive and Average Conflict Resolution Methods............................................................ 6-14 Priority Groups Conflict Resolution Methods........................................................................ 6-17 Site Priority Conflict Resolution Methods .............................................................................. 6-21 Creating Conflict Resolution Methods for Uniqueness Conflicts.......................................... 6-27 Creating Conflict Avoidance Methods for Delete Conflicts .................................................... 6-33
  • 10.
    v Using Dynamic OwnershipConflict Avoidance........................................................................ 6-38 Workflow ..................................................................................................................................... 6-38 Token Passing ............................................................................................................................. 6-39 Locating the Owner of a Row ................................................................................................... 6-42 Obtaining Ownership ................................................................................................................ 6-42 Applying the Change................................................................................................................. 6-43 Auditing Successful Conflict Resolution .................................................................................... 6-44 Collecting Conflict Resolution Statistics ................................................................................. 6-44 Viewing Conflict Resolution Statistics .................................................................................... 6-44 Canceling Conflict Resolution Statistics ................................................................................. 6-45 Clearing Statistics Information................................................................................................. 6-45 Part II Managing and Monitoring Your Replication Environment 7 Managing a Master Replication Environment Changing the Master Definition Site ............................................................................................. 7-2 Option 1: All Master Sites Are Available.................................................................................. 7-2 Option 2: The Old Master Definition Site Is Not Available.................................................... 7-3 Adding New Master Sites................................................................................................................. 7-4 Adding New Master Sites Without Quiescing the Master Group ........................................ 7-4 Adding New Master Sites to a Quiesced Master Group ...................................................... 7-34 Removing a Master Site from a Master Group........................................................................... 7-44 Removing an Unavailable Master Site .................................................................................... 7-47 Updating the Comments Fields in Data Dictionary Views...................................................... 7-48 Using Procedural Replication......................................................................................................... 7-50 Restrictions on Procedural Replication ................................................................................... 7-50 User-Defined Types and Procedural Replication .................................................................. 7-52 Serializing Transactions............................................................................................................. 7-53 Generating Support for Replicated Procedures ..................................................................... 7-54 8 Managing a Materialized View Replication Environment Refreshing Materialized Views ....................................................................................................... 8-2 Changing a Materialized View Group's Master Site................................................................... 8-3
  • 11.
    vi Dropping Materialized ViewGroups and Objects...................................................................... 8-4 Dropping a Materialized View Group Created with a Deployment Template................... 8-4 Dropping a Materialized View Group or Objects Created Manually................................... 8-9 Cleaning Up a Master Site or Master Materialized View Site.............................................. 8-11 Managing Materialized View Logs ............................................................................................... 8-17 Altering Materialized View Logs ............................................................................................. 8-17 Managing Materialized View Log Space ................................................................................ 8-18 Reorganizing Master Tables that Have Materialized View Logs........................................ 8-21 Dropping a Materialized View Log ......................................................................................... 8-25 Performing an Offline Instantiation of a Materialized View Site Using Export/Import.... 8-26 Using a Group Owner for a Materialized View Group............................................................. 8-39 9 Managing Replication Objects and Queues Altering a Replicated Object ............................................................................................................ 9-2 Altering a Replicated Object in a Quiesced Master Group..................................................... 9-2 Modifying Tables without Replicating the Modifications......................................................... 9-5 Disabling Replication ................................................................................................................... 9-6 Reenabling Replication ................................................................................................................ 9-7 Ensuring That Replicated Triggers Fire Only Once................................................................. 9-7 Converting a LONG Column to a LOB Column in a Replicated Table ................................... 9-7 Determining Differences Between Replicated Tables................................................................. 9-9 Using the DIFFERENCES Procedure......................................................................................... 9-9 Using the RECTIFY Procedure ................................................................................................. 9-10 Managing the Deferred Transactions Queue .............................................................................. 9-14 Pushing the Deferred Transaction Queue............................................................................... 9-14 Purging the Deferred Transaction Queue............................................................................... 9-15 Using the AnyData Type to Determine the Value of an Argument in a Deferred Call ... 9-16 Managing the Error Queue ............................................................................................................. 9-18 Reexecuting Error Transaction as the Receiver...................................................................... 9-19 Reexecuting Error Transaction as Alternate User.................................................................. 9-20 10 Monitoring a Replication Environment Monitoring Master Replication Environments........................................................................... 10-2 Monitoring Master Sites............................................................................................................. 10-2 Monitoring Master Groups ....................................................................................................... 10-3
  • 12.
    vii Monitoring Masters.................................................................................................................... 10-6 MonitoringMaterialized View Sites .......................................................................................... 10-11 Listing General Information About a Materialized View Site........................................... 10-11 Listing General Information About Materialized View Groups ....................................... 10-12 Listing Information About Materialized Views................................................................... 10-13 Listing Information About the Refresh Groups at a Materialized View Site .................. 10-15 Determining the Job ID for Each Refresh Job at a Materialized View Site ...................... 10-16 Determining Which Materialized Views Are Currently Refreshing ................................ 10-17 Monitoring Administrative Requests......................................................................................... 10-17 Listing General Information About Administrative Requests .......................................... 10-18 Determining the Cause of Administrative Request Errors ................................................ 10-18 Listing General Information About the Job that Executes Administrative Requests..... 10-19 Monitoring the Deferred Transactions Queue.......................................................................... 10-21 Monitoring Transaction Propagation .................................................................................... 10-21 Monitoring Purges of Successfully Propagated Transactions ........................................... 10-24 Monitoring the Error Queue......................................................................................................... 10-26 Listing General Information About the Error Transactions at a Replication Site........... 10-27 Determining the Percentage of Error Transactions ............................................................. 10-28 Listing the Number of Error Transactions from Each Origin Master Site ....................... 10-28 Listing the Error Messages for the Error Transactions at a Replication Site.................... 10-29 Determining the Error Operations at a Replication Site..................................................... 10-29 Monitoring Performance in a Replication Environment ........................................................ 10-30 Tracking the Average Number of Row Changes in a Replication Transaction .............. 10-30 Tracking the Rate of Transactions Entering the Deferred Transactions Queue.............. 10-31 Determining the Average Network Traffic Created To Propagate a Transaction.......... 10-31 Determining the Average Amount of Time to Apply Transactions at Remote Sites ..... 10-32 Determining the Percentage of Time the Parallel Propagation Job Spends Sleeping .... 10-32 Clearing the Statistics for a Remote Master Site in the DEFSCHEDULE View............... 10-33 Monitoring Parallel Propagation of Deferred Transactions Using V$REPLPROP......... 10-33 Part III Replication Management API Packages Reference 11 Introduction to the Replication Management API Reference Examples of Using Oracle's Replication Management API ..................................................... 11-2 Issues to Consider When Using the Replication Management API....................................... 11-3
  • 13.
    viii The Replication ManagementTool and the Replication Management API ......................... 11-3 Abbreviations for Datetime and Interval Datatypes ................................................................. 11-4 12 DBMS_DEFER CALL Procedure ......................................................................................................................... 12-3 COMMIT_WORK Procedure.................................................................................................... 12-4 datatype_ARG Procedure ........................................................................................................... 12-5 TRANSACTION Procedure ...................................................................................................... 12-8 13 DBMS_DEFER_QUERY GET_ARG_FORM Function...................................................................................................... 13-3 GET_ARG_TYPE Function........................................................................................................ 13-4 GET_CALL_ARGS Procedure ................................................................................................. 13-6 GET_datatype_ARG Function.................................................................................................... 13-8 GET_OBJECT_NULL_VECTOR_ARG Function ................................................................. 13-11 14 DBMS_DEFER_SYS ADD_DEFAULT_DEST Procedure.......................................................................................... 14-4 CLEAR_PROP_STATISTICS Procedure.................................................................................. 14-4 DELETE_DEFAULT_DEST Procedure.................................................................................... 14-5 DELETE_DEF_DESTINATION Procedure............................................................................. 14-6 DELETE_ERROR Procedure ..................................................................................................... 14-6 DELETE_TRAN Procedure ....................................................................................................... 14-7 DISABLED Function .................................................................................................................. 14-8 EXCLUDE_PUSH Function....................................................................................................... 14-9 EXECUTE_ERROR Procedure................................................................................................ 14-10 EXECUTE_ERROR_AS_USER Procedure............................................................................. 14-11 PURGE Function....................................................................................................................... 14-12 PUSH Function.......................................................................................................................... 14-14 REGISTER_PROPAGATOR Procedure................................................................................. 14-17 SCHEDULE_PURGE Procedure............................................................................................. 14-18 SCHEDULE_PUSH Procedure ............................................................................................... 14-20 SET_DISABLED Procedure..................................................................................................... 14-22 UNREGISTER_PROPAGATOR Procedure .......................................................................... 14-24
  • 14.
    ix UNSCHEDULE_PURGE Procedure...................................................................................... 14-25 UNSCHEDULE_PUSHProcedure......................................................................................... 14-25 15 DBMS_OFFLINE_OG BEGIN_INSTANTIATION Procedure .................................................................................... 15-3 BEGIN_LOAD Procedure ......................................................................................................... 15-4 END_INSTANTIATION Procedure ........................................................................................ 15-5 END_LOAD Procedure ............................................................................................................. 15-7 RESUME_SUBSET_OF_MASTERS Procedure....................................................................... 15-8 16 DBMS_RECTIFIER_DIFF DIFFERENCES Procedure......................................................................................................... 16-3 RECTIFY Procedure ................................................................................................................... 16-6 17 DBMS_REFRESH ADD Procedure........................................................................................................................... 17-3 CHANGE Procedure.................................................................................................................. 17-4 DESTROY Procedure ................................................................................................................. 17-6 MAKE Procedure........................................................................................................................ 17-6 REFRESH Procedure.................................................................................................................. 17-9 SUBTRACT Procedure............................................................................................................. 17-10 18 DBMS_REPCAT ADD_GROUPED_COLUMN Procedure................................................................................ 18-8 ADD_MASTER_DATABASE Procedure................................................................................ 18-9 ADD_NEW_MASTERS Procedure ........................................................................................ 18-11 ADD_PRIORITY_datatype Procedure.................................................................................... 18-17 ADD_SITE_PRIORITY_SITE Procedure ............................................................................... 18-18 ADD_conflicttype_RESOLUTION Procedure........................................................................ 18-19 ALTER_CATCHUP_PARAMETERS Procedure ................................................................. 18-24 ALTER_MASTER_PROPAGATION Procedure.................................................................. 18-26 ALTER_MASTER_REPOBJECT Procedure.......................................................................... 18-28 ALTER_MVIEW_PROPAGATION Procedure.................................................................... 18-31 ALTER_PRIORITY Procedure................................................................................................ 18-33
  • 15.
    x ALTER_PRIORITY_datatype Procedure ................................................................................18-34 ALTER_SITE_PRIORITY Procedure...................................................................................... 18-35 ALTER_SITE_PRIORITY_SITE Procedure............................................................................ 18-37 CANCEL_STATISTICS Procedure......................................................................................... 18-38 COMMENT_ON_COLUMN_GROUP Procedure............................................................... 18-38 COMMENT_ON_MVIEW_REPSITES Procedure ............................................................... 18-39 COMMENT_ON_PRIORITY_GROUP Procedures............................................................. 18-40 COMMENT_ON_REPGROUP Procedure............................................................................ 18-41 COMMENT_ON_REPOBJECT Procedure............................................................................ 18-42 COMMENT_ON_REPSITES Procedure................................................................................ 18-43 COMMENT_ON_SITE_PRIORITY Procedure..................................................................... 18-45 COMMENT_ON_conflicttype_RESOLUTION Procedure................................................... 18-46 COMPARE_OLD_VALUES Procedure................................................................................. 18-48 CREATE_MASTER_REPGROUP Procedure........................................................................ 18-50 CREATE_MASTER_REPOBJECT Procedure ....................................................................... 18-51 CREATE_MVIEW_REPGROUP Procedure.......................................................................... 18-55 CREATE_MVIEW_REPOBJECT Procedure ......................................................................... 18-56 DEFINE_COLUMN_GROUP Procedure .............................................................................. 18-59 DEFINE_PRIORITY_GROUP Procedure.............................................................................. 18-60 DEFINE_SITE_PRIORITY Procedure .................................................................................... 18-61 DO_DEFERRED_REPCAT_ADMIN Procedure .................................................................. 18-62 DROP_COLUMN_GROUP Procedure.................................................................................. 18-63 DROP_GROUPED_COLUMN Procedure ............................................................................ 18-64 DROP_MASTER_REPGROUP Procedure ............................................................................ 18-66 DROP_MASTER_REPOBJECT Procedure............................................................................ 18-67 DROP_MVIEW_REPGROUP Procedure .............................................................................. 18-69 DROP_MVIEW_REPOBJECT Procedure .............................................................................. 18-70 DROP_PRIORITY Procedure.................................................................................................. 18-71 DROP_PRIORITY_GROUP Procedure.................................................................................. 18-72 DROP_PRIORITY_datatype Procedure .................................................................................. 18-73 DROP_SITE_PRIORITY Procedure........................................................................................ 18-74 DROP_SITE_PRIORITY_SITE Procedure ............................................................................. 18-75 DROP_conflicttype_RESOLUTION Procedure...................................................................... 18-76 EXECUTE_DDL Procedure..................................................................................................... 18-78 GENERATE_MVIEW_SUPPORT Procedure ....................................................................... 18-80
  • 16.
    xi GENERATE_REPLICATION_SUPPORT Procedure.......................................................... 18-81 MAKE_COLUMN_GROUPProcedure................................................................................. 18-83 PREPARE_INSTANTIATED_MASTER Procedure............................................................. 18-85 PURGE_MASTER_LOG Procedure....................................................................................... 18-87 PURGE_STATISTICS Procedure............................................................................................ 18-88 REFRESH_MVIEW_REPGROUP Procedure........................................................................ 18-88 REGISTER_MVIEW_REPGROUP Procedure ...................................................................... 18-90 REGISTER_STATISTICS Procedure ...................................................................................... 18-91 RELOCATE_MASTERDEF Procedure.................................................................................. 18-92 REMOVE_MASTER_DATABASES Procedure.................................................................... 18-94 RENAME_SHADOW_COLUMN_GROUP Procedure ...................................................... 18-95 REPCAT_IMPORT_CHECK Procedure................................................................................ 18-96 RESUME_MASTER_ACTIVITY Procedure.......................................................................... 18-97 RESUME_PROPAGATION_TO_MDEF Procedure............................................................ 18-98 SEND_OLD_VALUES Procedure .......................................................................................... 18-99 SET_COLUMNS Procedure .................................................................................................. 18-102 SPECIFY_NEW_MASTERS Procedure ............................................................................... 18-104 STREAMS_MIGRATION Procedure................................................................................... 18-106 SUSPEND_MASTER_ACTIVITY Procedure...................................................................... 18-106 SWITCH_MVIEW_MASTER Procedure............................................................................. 18-107 UNDO_ADD_NEW_MASTERS_REQUEST Procedure................................................... 18-109 UNREGISTER_MVIEW_REPGROUP Procedure.............................................................. 18-110 VALIDATE Function ............................................................................................................. 18-111 WAIT_MASTER_LOG Procedure........................................................................................ 18-114 19 DBMS_REPCAT_ADMIN GRANT_ADMIN_ANY_SCHEMA Procedure...................................................................... 19-3 GRANT_ADMIN_SCHEMA Procedure................................................................................. 19-3 REGISTER_USER_REPGROUP Procedure ............................................................................ 19-4 REVOKE_ADMIN_ANY_SCHEMA Procedure.................................................................... 19-6 REVOKE_ADMIN_SCHEMA Procedure............................................................................... 19-7 UNREGISTER_USER_REPGROUP Procedure...................................................................... 19-7 20 DBMS_REPCAT_INSTANTIATE DROP_SITE_INSTANTIATION Procedure ........................................................................... 20-3
  • 17.
    xii INSTANTIATE_OFFLINE Function........................................................................................ 20-3 INSTANTIATE_ONLINEFunction......................................................................................... 20-6 21 DBMS_REPCAT_RGT ALTER_REFRESH_TEMPLATE Procedure............................................................................ 21-5 ALTER_TEMPLATE_OBJECT Procedure............................................................................... 21-7 ALTER_TEMPLATE_PARM Procedure ............................................................................... 21-10 ALTER_USER_AUTHORIZATION Procedure ................................................................... 21-11 ALTER_USER_PARM_VALUE Procedure........................................................................... 21-13 COMPARE_TEMPLATES Function....................................................................................... 21-15 COPY_TEMPLATE Function.................................................................................................. 21-17 CREATE_OBJECT_FROM_EXISTING Function ................................................................. 21-19 CREATE_REFRESH_TEMPLATE Function ......................................................................... 21-21 CREATE_TEMPLATE_OBJECT Function ............................................................................ 21-23 CREATE_TEMPLATE_PARM Function ............................................................................... 21-26 CREATE_USER_AUTHORIZATION Function ................................................................... 21-28 CREATE_USER_PARM_VALUE Function .......................................................................... 21-29 DELETE_RUNTIME_PARMS Procedure.............................................................................. 21-31 DROP_ALL_OBJECTS Procedure.......................................................................................... 21-32 DROP_ALL_TEMPLATE_PARMS Procedure..................................................................... 21-33 DROP_ALL_TEMPLATE_SITES Procedure......................................................................... 21-34 DROP_ALL_TEMPLATES Procedure ................................................................................... 21-35 DROP_ALL_USER_AUTHORIZATIONS Procedure......................................................... 21-35 DROP_ALL_USER_PARM_VALUES Procedure ................................................................ 21-36 DROP_REFRESH_TEMPLATE Procedure ........................................................................... 21-37 DROP_SITE_INSTANTIATION Procedure.......................................................................... 21-38 DROP_TEMPLATE_OBJECT Procedure............................................................................... 21-39 DROP_TEMPLATE_PARM Procedure ................................................................................. 21-40 DROP_USER_AUTHORIZATION Procedure ..................................................................... 21-41 DROP_USER_PARM_VALUE Procedure ............................................................................ 21-42 GET_RUNTIME_PARM_ID Function ................................................................................... 21-43 INSERT_RUNTIME_PARMS Procedure .............................................................................. 21-44 INSTANTIATE_OFFLINE Function...................................................................................... 21-46 INSTANTIATE_ONLINE Function....................................................................................... 21-48 LOCK_TEMPLATE_EXCLUSIVE Procedure....................................................................... 21-51
  • 18.
    xiii LOCK_TEMPLATE_SHARED Procedure ............................................................................21-51 22 DBMS_REPUTIL REPLICATION_OFF Procedure............................................................................................... 22-3 REPLICATION_ON Procedure................................................................................................ 22-3 REPLICATION_IS_ON Function............................................................................................. 22-3 FROM_REMOTE Function........................................................................................................ 22-4 GLOBAL_NAME Function....................................................................................................... 22-4 MAKE_INTERNAL_PKG Procedure...................................................................................... 22-5 SYNC_UP_REP Procedure........................................................................................................ 22-6 Part IV Replication Data Dictionary Reference 23 Replication Catalog Views Summary of Replication Catalog Views ...................................................................................... 23-2 DBA_REGISTERED_MVIEW_GROUPS................................................................................. 23-5 ALL_REPCAT_REFRESH_TEMPLATES ............................................................................... 23-5 ALL_REPCAT_TEMPLATE_OBJECTS .................................................................................. 23-6 ALL_REPCAT_TEMPLATE_PARMS ..................................................................................... 23-8 ALL_REPCAT_TEMPLATE_SITES ...................................................................................... 23-10 ALL_REPCAT_USER_AUTHORIZATIONS ....................................................................... 23-11 ALL_REPCAT_USER_PARM_VALUES .............................................................................. 23-12 ALL_REPCATLOG .................................................................................................................. 23-14 ALL_REPCOLUMN ................................................................................................................ 23-16 ALL_REPCOLUMN_GROUP ................................................................................................ 23-18 ALL_REPCONFLICT .............................................................................................................. 23-18 ALL_REPDDL .......................................................................................................................... 23-19 ALL_REPGENOBJECTS ......................................................................................................... 23-20 ALL_REPGROUP .................................................................................................................... 23-21 ALL_REPGROUP_PRIVILEGES ........................................................................................... 23-22 ALL_REPGROUPED_COLUMN .......................................................................................... 23-23 ALL_REPKEY_COLUMNS .................................................................................................... 23-24 ALL_REPOBJECT .................................................................................................................... 23-25 ALL_REPPARAMETER_COLUMN ..................................................................................... 23-26
  • 19.
    xiv ALL_REPPRIORITY ................................................................................................................ 23-27 ALL_REPPRIORITY_GROUP................................................................................................ 23-29 ALL_REPPROP ........................................................................................................................ 23-29 ALL_REPRESOL_STATS_CONTROL .................................................................................. 23-30 ALL_REPRESOLUTION ......................................................................................................... 23-31 ALL_REPRESOLUTION_METHOD .................................................................................... 23-32 ALL_REPRESOLUTION_STATISTICS ................................................................................ 23-33 ALL_REPSITES ........................................................................................................................ 23-34 DBA_REPCAT_REFRESH_TEMPLATES ............................................................................ 23-35 DBA_REPCAT_TEMPLATE_OBJECTS ............................................................................... 23-35 DBA_REPCAT_TEMPLATE_PARMS .................................................................................. 23-35 DBA_REPCAT_TEMPLATE_SITES ...................................................................................... 23-36 DBA_REPCAT_USER_AUTHORIZATIONS ...................................................................... 23-36 DBA_REPCAT_USER_PARM_VALUES ............................................................................. 23-36 DBA_REPCATLOG ................................................................................................................. 23-36 DBA_REPCOLUMN ............................................................................................................... 23-37 DBA_REPCOLUMN_GROUP ............................................................................................... 23-37 DBA_REPCONFLICT ............................................................................................................. 23-37 DBA_REPDDL ......................................................................................................................... 23-37 DBA_REPEXTENSIONS ......................................................................................................... 23-37 DBA_REPGENOBJECTS ......................................................................................................... 23-40 DBA_REPGROUP .................................................................................................................... 23-40 DBA_REPGROUP_PRIVILEGES ........................................................................................... 23-40 DBA_REPGROUPED_COLUMN .......................................................................................... 23-40 DBA_REPKEY_COLUMNS ................................................................................................... 23-40 DBA_REPOBJECT ................................................................................................................... 23-41 DBA_REPPARAMETER_COLUMN .................................................................................... 23-41 DBA_REPPRIORITY ............................................................................................................... 23-41 DBA_REPPRIORITY_GROUP ............................................................................................... 23-41 DBA_REPPROP ....................................................................................................................... 23-41 DBA_REPRESOL_STATS_CONTROL ................................................................................. 23-42 DBA_REPRESOLUTION ........................................................................................................ 23-42 DBA_REPRESOLUTION_METHOD .................................................................................... 23-42 DBA_REPRESOLUTION_STATISTICS ................................................................................ 23-42 DBA_REPSITES ........................................................................................................................ 23-43
  • 20.
    xv DBA_REPSITES_NEW............................................................................................................. 23-43 USER_REPCAT_REFRESH_TEMPLATES ..........................................................................23-44 USER_REPCAT_TEMPLATE_OBJECTS .............................................................................. 23-45 USER_REPCAT_TEMPLATE_PARMS ................................................................................ 23-45 USER_REPCAT_TEMPLATE_SITES .................................................................................... 23-45 USER_REPCAT_USER_AUTHORIZATION ....................................................................... 23-45 USER_REPCAT_USER_PARM_VALUES ........................................................................... 23-46 USER_REPCATLOG ............................................................................................................... 23-46 USER_REPCOLUMN .............................................................................................................. 23-46 USER_REPCOLUMN_GROUP ............................................................................................. 23-46 USER_REPCONFLICT ............................................................................................................ 23-47 USER_REPDDL ........................................................................................................................ 23-47 USER_REPGENOBJECTS ....................................................................................................... 23-47 USER_REPGROUP .................................................................................................................. 23-47 USER_REPGROUP_PRIVILEGES ......................................................................................... 23-47 USER_REPGROUPED_COLUMN ........................................................................................ 23-47 USER_REPKEY_COLUMNS ................................................................................................. 23-48 USER_REPOBJECT .................................................................................................................. 23-48 USER_REPPARAMETER_COLUMN .................................................................................. 23-48 USER_REPPRIORITY ............................................................................................................. 23-48 USER_REPPRIORITY_GROUP ............................................................................................. 23-49 USER_REPPROP ...................................................................................................................... 23-49 USER_REPRESOL_STATS_CONTROL ............................................................................... 23-49 USER_REPRESOLUTION ...................................................................................................... 23-49 USER_REPRESOLUTION_METHOD .................................................................................. 23-50 USER_REPRESOLUTION_STATISTICS .............................................................................. 23-50 USER_REPSITES ...................................................................................................................... 23-50 24 Replication Dynamic Performance Views V$MVREFRESH ......................................................................................................................... 24-2 V$REPLPROP ............................................................................................................................. 24-2 V$REPLQUEUE ......................................................................................................................... 24-4 25 Deferred Transaction Views DEFCALL ................................................................................................................................... 25-2
  • 21.
    xvi DEFCALLDEST .......................................................................................................................... 25-2 DEFDEFAULTDEST.................................................................................................................. 25-3 DEFERRCOUNT ........................................................................................................................ 25-3 DEFERROR ................................................................................................................................. 25-3 DEFLOB ...................................................................................................................................... 25-4 DEFPROPAGATOR .................................................................................................................. 25-4 DEFSCHEDULE ......................................................................................................................... 25-4 DEFTRAN ................................................................................................................................... 25-7 DEFTRANDEST ......................................................................................................................... 25-8 26 Materialized View and Refresh Group Views Part V Appendixes A Security Options Security Setup for Multimaster Replication.................................................................................. A-2 Trusted Compared With Untrusted Security ........................................................................... A-3 Security Setup for Materialized View Replication ...................................................................... A-8 Trusted Compared With Untrusted Security ........................................................................... A-9 B User-Defined Conflict Resolution Methods User-Defined Conflict Resolution Methods.................................................................................. B-2 Conflict Resolution Method Parameters ................................................................................... B-2 Resolving Update Conflicts......................................................................................................... B-3 Resolving Uniqueness Conflicts................................................................................................. B-3 Resolving Delete Conflicts........................................................................................................... B-4 Multitier Materialized Views and User-Defined Conflict Resolution Methods.................. B-4 Restrictions for User-Defined Conflict Resolution Methods.................................................. B-5 Examples of User-Defined Conflict Resolution Method......................................................... B-6 User-Defined Conflict Notification Methods ............................................................................... B-8 Creating a Conflict Notification Log.......................................................................................... B-8 Creating a Conflict Notification Package.................................................................................. B-9 Viewing Conflict Resolution Information................................................................................... B-12 Index
  • 22.
    xvii Send Us YourComments Oracle Database Advanced Replication Management API Reference, 10g Release 1 (10.1) Part No. B10733-01 Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this document. Your input is an important part of the information used for revision. ■ Did you find any errors? ■ Is the information clearly presented? ■ Do you need more information? If so, where? ■ Are the examples correct? Do you need more examples? ■ What features did you like most? If you find any errors or have any other suggestions for improvement, please indicate the document title and part number, and the chapter, section, and page number (if available). You can send com- ments to us in the following ways: ■ Electronic mail: infodev_us@oracle.com ■ FAX: (650) 506-7227 Attn: Server Technologies Documentation Manager ■ Postal service: Oracle Corporation Server Technologies Documentation 500 Oracle Parkway, Mailstop 4op11 Redwood Shores, CA 94065 USA If you would like a reply, please give your name, address, telephone number, and (optionally) elec- tronic mail address. If you have problems with the software, please contact your local Oracle Support Services.
  • 23.
  • 24.
    xix Preface Oracle Database AdvancedReplication Management API Reference contains information that describes the features and functionality of the replication management API. Specifically, the Oracle Database Advanced Replication Management API Reference contains reference information for the packages in the replication management API, as well as examples of their use. In addition, Oracle Database Advanced Replication Management API Reference contains reference information about the replication catalog and other data dictionary views that are important for replication. This preface contains these topics: ■ Audience ■ Organization ■ Related Documentation ■ Conventions ■ Documentation Accessibility
  • 25.
    xx Audience Oracle Database AdvancedReplication Management API Reference is intended for database administrators and application developers who develop and maintain replication environments. These administrators and application developers perform one or more of the following tasks: ■ Configure replication sites ■ Create master groups ■ Create deployment templates ■ Create materialized view groups ■ Configure conflict resolution ■ Manage replication environments ■ Use the replication management API ■ Monitor replication environments using data dictionary views ■ Plan and configure security options To use this document, you need to be familiar with relational database concepts, distributed database administration, PL/SQL (if using procedural replication), and the operating system under which you run an Advanced Replication environment. Organization This document contains: Part I, "Configuring Your Replication Environment" Includes instructions on using the replication management API to set up both multimaster replication and materialized view replication. This part also contains instructions for configuring conflict resolution methods and instructions for managing your replication environment using the replication management API. Chapter 1, "Overview of Replication" Provides an overview of the process for building a replication environment with the replication management API. This chapter also contains some prerequisites for building a replication environment.
  • 26.
    Another Random ScribdDocument with Unrelated Content
  • 27.
    54 THE CHEMICALWARFARE SERVICE appeared practicable, but the CWS finally decided that the advantages of the method did not compensate for the higher cost of diphosgene and the changes that would have been necessary in the design of munitions. During the war the CWS manufactured and purchased from industry more than forty million pounds of phosgene for use in various munitions/^ Two munitions for phosgene, the chemical mortar shell and the portable cylinder, had descended from World War I. In the event of gas warfare, the mortar would have been the chief weapon of the ground forces for laying down concentrations of phosgene on caves, dugouts, bunkers, and artillery and machine gun emplacements. From 1941 to 1944 the CWS filled almost half a million 4.2-inch mortar shells with CG. Each shell held almost seven pounds of CG, about 25 percent of the total weight of the filled munition. The cylinder had been a standard weapon in the static trench warfare of World War I, but it was scarcely suited for the blitz tactics of World War II. It could have been used, however, to overcome resistance within caves or bunkers on Japanese-held islands. It contained thirty-one pounds of phosgene, about 56 percent of the total weight. The cylinder also held about two pounds of carbon dioxide to expel the phosgene in the form of a mist. In view of the possible employment of cylinders, the service retained the final model MlA2, standardized in 1936, until World War II was over.-" New phosgene weapons were the 7.5-inch rocket, the AN- M78 500pound bomb, and the AN-M79 1000- pound bomb. The rocket, which was the World War II counterpart of the World War I Livens projectile, was readied by 1944. The Navy took almost eight thousand of these, the Army more than twenty-three thousand. Development of phosgene bombs started in early 1942 when the CWS asked the Ordnance Department for a series of chemical bombs of approximately the same shape as general purpose bombs. The new munitions were produced in 1943 and sent to Dugway Proving Ground for testing and 'evaluation.-^ The 1000-pound bomb holding 415 pounds of CG '" Richard H. Crawford, Lindsley F. Cook, and Theodore E. Whiting, Statistics, "Procurement," p. 21. Copy in
  • 28.
    OCMH. Statistics isa forthcoming volume in the series UNITED STATES ARMY IN WORLD WAR II. -" (1) CWTC Item 1545, Obsoletion of Cylinders, Portable, Chemical, Ml, MlAl, M1A2, and Apparatus, Charging, Portable Chemical Cylinder, Ml, 28 Mar 46. (2) CWTC Item 1614, same title, 23 May 46. 2' (1) Baum, Dugway Proving Ground, pp. 201-24. (2) CWTC Item 826, Classification of Fillings for Chemical Munitions, 15 Oct 43. (3) CWTC Item 881, Classification of Fillings for Chemical Munitions, 3 Dec 43.
  • 29.
    TOXIC AGENTS 55turned out to be an extremely effective munition. When it hit the ground and burst open a large amount of liquid phosgene was freed. The evaporating liquid cooled the vapor and caused it to flatten out against the ground in a pancake-shaped cloud instead of rising as had been expected. This cloud always fDtmed, regardless of the weather. The 500-pound bomb containing 205 pounds of CG was not quite half as effective as the 1000pound bomb, but it was still a useful munition because American planes could carry more than twice as many 500-pound bombs as 1000- pound bombs. The CWS filled twenty-five thousand 500-pound bombs in 1944, and sixty-three thousand 1000-pound bombs from 1943 to 1945. The Air Forces could, in case of chemical warfare, have used these chemical bombs against targets beyond mortar range, against fortifications on Iwo Jima and other islands before amphibious assaults were made, and against strategic targets, such as war plants during working hours. After the war examination of stocks of gas weapons captured in Germany showed that the German Army had on hand thousands of 250and 500-kilogram phosgene bombs."'- These bombs, however, had been largely superseded by bombs containing the nerve gas tabun, which the Germans began producing in 1942. '-'^ The Germans did not favor the use of phosgene in shells. Italy had phosgene bombs, and shells ranging in size from l49-mm. to 305-mm.-^ Phosgene shells, from 75-mm. up to 150mm. were captured from the Japanese, who also had bombs in sizes up to 200 kilograms."'' Had gas warfare started early in World War II, phosgene would probably have been used widely by the Allied and the Axis armies wherever the tactical situation called for the employment of a nonpersistent, delayed- action agent. Sometime in 1942 or thereafter, evidence indicates that as a stockpile accumulated the Germans would have introduced tabun, and phosgene would then have had to share the field with the new nerve gas. Hydrogen Cyanide At the battle of the Somme in July 1916 French artillery fired shells filled with hydrogen cyanide (CWS symbol, AC)."^ The compound had --First United States Army. Report of Operations 23 Feb-8 May 1945. Annex No. 9, p. 192. ^^
  • 30.
    Intel Div, CWS,Theater Service Forces, ETOUSA, German Chemical Warfare, World War II, Sep 45, p. 39. Hereafter cited as German Chemical Warfare. -■' CW Intel Bull No. 16, Italian Chemical Warfare, 1 Jul 43. -■' (1) CW Intel Bull No. 49, pt. I, Japanese Gas Shells, 1 Feb 45. (2) CW Intel Bull No. 14, Aerial Gas Weapons of Germany, Italy and Japan, 15 May 43. -" Hydrogen cyanide is also known as hydrocyanic acid and prussic acid.
  • 31.
    56 THE CHEMICALWARFARE SERVICE been familiar to chemists for a century but this was the first time it was used in warfare."" It is a colorless liquid which evaporates quickly at room temperature and boils at 78° F. The liquid and vapor interfere with normal processes in body cells, particularly in the respiratory center of the nervous system, and if present in more than a certain small concentration quickly causes death. But if cyanide is present in less than the lethal concentration the cells can convert it into a harmless compound and the body is uninjured. In this respect AC is different from phosgene, mustard, and other toxic agents which are harmful even when present in less than the lethal dose. The French had some difficulty in using hydrogen cyanide as an agent because AC vapor is light and therefore has a tendency to diffuse instead of lying close to the ground. Also, AC has a tendency to decomposesometimes so violently that the container exploded.'"^ In an attempt to cut down the rate of diffusion the French mixed AC with stannic chloride. To prevent AC from decomposing the French added arsenic trichloride. To keep the mixture from crystallizing and to make soldiers more susceptible to the agent they added chloroform. The addition of these compounds diluted the AC so much that the final mixture contained only 50 percent of the cyanide. This meant that twice as many shells, or shells with twice the capacity, were needed to deliver the same weight of the cyanide — a rather wasteful procedure. In addition to employing a dilute agent the French used small shells holding only about a pound of filling. Furthermore, their artillery fired at a slow rate. As a result the French were not able to place a lethal concentration of gas on an enemy area. Other nations observed the apparent failure of hydrogen cyanide and came to the conclusion that it was not suitable as a war gas, but the French never lost faith in it and continued to use it until the end of the war. Despite its drawbacks, hydrogen cyanide was inexpensive, commercially available, and had several of the other properties that have been mentioned as being necessary or desirable for a toxic agent. After the war the opinion gained ground in the CWS that the agent had not been given a fair
  • 32.
    trial. "^ Inthe 1930's chemists made laboratory and field studies, in- ' Maj. Gen. C. H. Foulkes, "Gas!" The Story of the Special Brigade (Edinburgh: William Blackwood & Sons, 1934), p. 108, says that hydrogen cyanide was "reported" to have been employed by Austrian artillery in Italy in September 1915. ■-"* After World War I the CWS experienced several explosions among AC shells and cylinders in storage sheds at Edgewood Arsenal. -'^ Rudolph Macy, Hydrocyanic Acid: Its Military History and a Summary of its Properties. EATR 219, 20 May 37.
  • 33.
    TOXIC AGENTS 57eluding firing tests with 155-mm. howitzer shells, and came to the conclusion that the compound was potentially an effective lethal, nonpersistent agent.^° They overcame the old problem of decomposition with the aid of Du Pont and American Cyanamid, manufacturers of hydrogen cyanide, who gave information which finally enabled the CWS to stabilize the cyanide in munitions. ^^ After the United States entered World War II the CWS extended its work and tested AC bombs of the 100-, 11 5-, 1000-, and 2000-pound size. The 1000-pound bomb, holding approximately 200 pounds of agent, proved particularly suitable as a munition. With this large quantity of the cyanide the cooling effect brought about by evaporation of the liquid produced a cloud of gas whose density was greater than air and which hovered close to the ground. Under favorable meteorological conditions the cloud was fatal hundreds of yards from the point of impact. ■^'The bomb was unquestionably an efficient munition for use in a cyanide gas attack, but the tests uncovered a serious problem. The vapor which billowed outward from the bomb was easily ignited by the flash of the burster. In some tests, practically all the bombs caught fire as they split open. There were three ways of preventing the burning of AC: one was to devise a "cold" bursting charge that would not ignite the vapor, the second was to use a more powerful bursting charge that would push the vapor cloud away from the bomb faster than the flame could follow, and the third was to add a substance that would make AC more difficult to ignite. Since the first two methods would have required too much time and field work, the third was followed. Anton B. Burg and his associates conducted the research under an NDRC contract at the University of Southern California. They discovered that hydrocarbons such as those in gasoline were the best flame inhibitors. Dugway Proving Ground tested AC protected with hydrocarbons and found that it did not take fire as readily as pure AC, but bombs still burned occasionally, and the problem was never completely solved.'^^ The 1000-pound bomb would have been the chief means of dumping hydrogen cyanide on the enemy if gas had been used in the latter part of the war. It was standardized
  • 34.
    for use withAC in 1943, and about 5,000 '" Samuel A. White, Hydrocyanic Acid: Field Tests (Static and Artillery Fire) of HCN in 155mm. Shell. EATR 299, 5 May 39. •" G. N. Jarman, HCN: Stability in Shell, Status Report, 1940. EATR 340, 6 Mar 41. •■'- Baum, Dugway Proving Ground, pp. 214-29. ■■'■' Military Problems with Aerosols and Nonpersistetit Gases. Summary Technical Report of Division 10, National Defense Research Committee (Washington, 1946).
  • 35.
    58 THE CHEMICALWARFARE SERVICE bombs were filled and stored.'^' This munition accounted for almost all of the 1,132,000 pounds of AC procured by the CWS from July 1940 to the end of 1945.^^ An unusual AC weapon was a glass bottle holding about a pint of liquid.'^*^ This grenade was produced from 1942 onward as a possible lastditch weapon against tanks or in overcoming bunkers. It was finally dropped from the approved munitions in 1944 because of the danger of breakage during shipment, either through accident or enemy action, and because tests had proven that it would not always break on soft jungle underbrush or if it glanced off log bunkers.^' In view of the fact that the Germans did not regard hydrogen cyanide as highly as some other agents, they did not procure large quantities or fill shells, bombs, or grenades. They did, however, think that AC might be useful in the form of a spray, and the Luftwaffe carried out extensive field trials with aerial spray tanks. The Japanese, on the other hand, felt as the Americans did about the value of AC, but they planned to use it in shells and grenades rather than in bombs. Their AC munitions ranged from mortar shells— light, medium, and heavy— to 150-mm. howitzer shells. Japanese glass grenades containing hydrogen cyanide were captured on Guadalcanal, in Burma, and on the upper Chindwin River. Hydrogen cyanide was not as important as some of the other toxic agents, but if gas warfare had broken out, both sides would certainly have employed it in tactical situations where its rapid action and lack of persistence would have been of advantage to the attacking force. Cyanogen Chloride Cyanogen chloride (CWS symbol, CK) is a colorless liquid slightly denser than water.^^'* It boils at a temperature of 55° F., giving off a vapor which is approximately twice as dense as air and which irritates the eyes ^M 1) CWTC Item 826. (2) CWTC Item 881, (3) Chemical Warfare Service Report of Production, 1 Jan 40 through 31 Dec 45, p. 4. Prepared by Prod Br, Proc Div, CWS. CWS 314.7 Procurement File. '■'■■' Consolidated Chemical Commodity Report, 16 Oct 51, p. 16. This report was prepared by Facilities Br, Ind Div. OC CmlO. CWS 314.7 Procurement File. 3« CWTC Item 495, Standardization of HCN
  • 36.
    Filling for Grenade,Frangible Ml, 10 Feb 42. ^" (1) CWTC Item 1117, Obsoletion of Grenade, Frangible (AC), Ml and Grenade, Frangible (FS), Ml, 31 Aug 44. (2) CWTC Item 1201, same title, 26 Oct 44. ^^ In June 1943 the CWS changed the symbol CK to CC. But the letters CC resembled CG (phosgene) when printed, and there was some confusion. In November 1944 the symbol CK was restored. See CWTC Item 1179.
  • 37.
    TOXIC AGENTS 59and nasal passages. When air containing a high concentration of the vapor is inhaled the compound quickly paralyzes the nervous system and causes death. When a low concentration is inhaled the reaction is not so rapid, but the compound accumulates in the body until a lethal concentration is reached. Cyanogen chloride was first used as a toxic agent by the French in October 1916. In 1917 and 1918 the CWS investigated the manufacture, the chemical, physical, and physiological properties, and the effectiveness in shells and Livens projectiles of cyanogen chloride.'^^ The Research Division found that the gas passed rapidly through the German but not through the American mask. This was an important discovery and might have led to the adoption of the compound as an American chemical warfare agent had not the density of the vapor been so low that the CWS felt it was impossible to place a lethal concentration of cyanogen chloride on enemy positions. ^° The same decision, apparently, was also reached by the French and other European armies, for cyanogen chloride was never used to any extent. Between the wars the CWS conducted few trials with CK. The compound's chief test came in 1933 when the Technical Division, searching for an agent that would act more rapidly than phosgene, the standard nonpersistent agent, examined CK and decided it was not acceptable. ^^ But early in World War II the CWS, while examining captured Japanese and German masks, obtained data that indicated that CK would penetrate enemy canisters in harassing concentrations if the humidity of the air was high — a condition common to the tropics.^" This discovery opened the way for the adoption of CK as a standard agent. As a prelude to standardization technicians had to learn if a lethal concentration could be laid down over enemy positions, to see if CK was available in quantities sufficient for military use, to find means of overcoming the instability of the compound, and to modify the canister of the mask for greater protection to American soldiers. The CWS and NDRC assessed CK at Dugway Proving Ground in 3^ Clarence J. West, Cyanogen Derivatives, Chloride, Bromide, Iodide, Sulfide, Chemical Warfare Monographs, vol. 25, April 1919. "" Phosgene,
  • 38.
    mustard, lewisite, andother agents have a density 3.4 to 7 times that of air. CK is only twice as dense as air. Only one agent, hydrogen cyanide, is less dense than CK. ^' Armstrong and White, Selection of Quick-Acting Nonpersistent Agent. ^- A comparison of enemy and friendly canisters may be found in: (1) CWTC Item 811, Standardization of Nonpersistent Agent, Cyanogen Chloride, 3 Sep 43. (2) Military Problems with Aerosols and Nonpersistent Gases. Summary Technical Report of Division 10, National Defense Research Committee (Washington, 1946).
  • 39.
    60 THE CHEMICALWARFARE SERVICE February and March 1943.'*^ Testers placed a 100-pound chemical bomb containing 67 pounds of CK and a 500-pound bomb containing 280 pounds of CK in shallow craters and split them open with tetryl bursters. They estimated the strength of the gas cloud by means of vapor sampling devices and goats placed downwind from the burst. The trials showed that the 500-pound bomb released a low-hanging cloud that was lethal' for a considerable distance and that the flash from a tetryl burster would not ignite the compound. Even though CK was shown to be suitable as an agent, the CWS still might not have standardized it if the protective properties of the American mask had not been improved. The mask carried by soldiers at the start of the war gave excellent protection against chloropicrin, phosgene, mustard, and lewisite but only fair protection against hydrogen cyanide, and cyanogen chloride. The CWS in 1943 adopted Type ASC charcoal, treated with chromium, which was more effective in removing CK. Thus at the time when the investigators were uncovering evidence of the usefulness of CK on the offense, the technicians were developing better protection for defense. Another hurdle that remained was the chemical instability of cyanogen chloride which had a tendency to polymerize. That is, the short molecules of the compound would join together spontaneously to torm large molecules of a new compound. Sometimes the reaction took place so rapidly that the container exploded. Polymerization within bombs or shells also meant a wastage of the munition, since the new compounds were relatively harmless as agents. The task of preventing or retarding polymerization was undertaken by Division 10 of the NDRC in 1942. A group of chemists headed by Wendell M. Latimer of the University of California made a preliminary search for stabilizing compounds. Later researchers of American Cyanamid Co., working under CWS contract, took up the quest and uncovered additional information. Dugway Proving Ground contributed to these studies by setting up a large-scale surveillance test of munitions filled with CK. In August 1943 the NDRC started an additional experimental program under Anton B. Burg of the University of
  • 40.
    Southern California. Burg'sgroup ran nearly two thousand tests on cyanogen chloride. This work expanded the knowledge of the chemistry of CK, particularly the reactions which took place during storage, but still did not provide the complete '^ B. G. Macintire, Static Tests of CC in 100-lb. and 500-lb. Chemical Bombs. DPGMR 5, 12 Mar 43.
  • 41.
    TOXIC AGENTS 61answer. In 1944 Division 9 of the NDRC entered the field with a group of men under Kharasch of the University of Chicago. This group observed the retarding power of inorganic compounds on the polymerization of CK and finally found that a small amount of sodium pyrophosphate would preserve CK under normal storage conditions for many years. From then on sodium pyrophosphate was used to stabilize CK. In order to obtain sufficient CK for chemical munitions, the CWS had to erect a plant. Before the war the only plant in the country was owned by the American Cyanamid Co. at Warners, N.Y. This plant produced sufficient cyanogen chloride for industry, but could not turn out the large quantity needed for chemical warfare. In October 1943 the War Department approved the construction of a CWS plant with a capacity of fifteen tons, later increased to sixty tons, per day.^^ The Chemical Construction Co. broke ground for the "Owl" plant, as it was called, on 27 November at a site adjacent to the American Cyanamid Co.'s hydrogen cyanide plant at Azusa, Calif This location thus assured the "Owl" plant with the hydrogen cyanide needed in the process. American Cyanamid, which operated the plant under contract, started the first unit in April 1944. The CWS chose two types of munitions for cyanogen chloride— 4.2inch mortar shells and bombs. The mortar shell was made the official CK munition for ground forces in 1945, but was not filled. Instead, almost all of the twenty-five million pounds of CK procured by the CWS went into 33,347 M78 500-pound bombs, each holding 165 pounds of agent, and 55,851 M79 1000-pound bombs, each holding 332 pounds.^^ Cyanogen chloride bombs, in event of chemical warfare, would probably have been used early against the Japanese, particularly in the tropics, where the humidity would have assisted the vapor in passing through the canister. The soldier then would have been forced to tear off his mask, exposing himself to other lethal agents dropped simultaneously. In time the Japanese and Germans could have treated the charcoal in such a way that CK would no longer pass through their canisters. The agent would then have lost its chief usefulness as a war gas. Mustard Gas In World War I the
  • 42.
    protection experts oneach side tried to devise means of neutralizing enemy agents as soon as new agents appeared. Chlo*■• History of the Owl Plant, passim. ■•s Consolidated Chemical Commodity Report, p. 56. (2) CWS Report of Production, 1 Jan 40 through 31 Dec 45, p. 4. 512467 O-60— 6
  • 43.
    62 THE CHEMICALWARFARE SERVICE rine, the first gas used, was soon parried by an adequate mask. As new gases appeared, the masks were improved. Soon the mask furnished full protection and men were gassed only when they were careless, panicky, or caught by surprise. But in July 1917 the German Army brought out a new type of agent, mustard gas, that not only attacked the respiratory system but also the skin, soaking through clothes and shoes and raising painful blisters. It was almost impossible to shield soldiers completely against mustard. It became the king of battle gases and caused four hundred thousand casualties before the armistice.^'' Crude mustard gas (CWS symbol, H) was a mixture of approximately 70 percent )S,yS'-dichloroethyl sulfide and 30 percent of sulphur and other sulphur compounds. It was an oily, brown liquid that evaporated slowly, giving off a vapor five times heavier than air. It was almost odorless in ordinary field concentrations but smelled like garlic or mustard in high concentrations — hence the name. It irritated and poisoned body cells, but generally several hours passed before symptoms appeared. The chief problem concerning mustard had to do with its purification. In World War I the CWS adopted the Levinstein process of the English in which ethylene reacted with sulphur monochloride under carefully controlled conditions.^' The reaction at first glance seems simple, but actually it was rather complex and defied the eflforts of CWS chemists to chart its course. The impurities were of such a nature that they could not be isolated and analyzed. They resisted separation from the main ingredient, /S,/5'-dichloroethyl sulfide, and caused or hastened decomposition of the sulfide. Decomposition was a disadvantage, first, because some of the resulting products corroded the storage container, making storage unsafe; secondly, other products settled out as a sludge that could change the ballistic properties of shells or prevent the liquid from dispersing in the most favorable pattern; thirdly, a gas was evolved which built up pressure and threatened to burst containers; and, later, after airplane spray tanks were devised, the decomposition products made it impossible to thicken mustard for use in airplane
  • 44.
    spray attacks. Chemistsof the research and development division investigated methods of purifying mustard, but the processes proved to be impractical for large-scale use.^*^ After the armistice the CWS disposed of the mustard *''' Prentiss, Chemicals in War. p. 199. ''^ James K. Senior, "The Manufacture of Mustard Gas in World War I," Armed Forces Chemical Journal. XII (Sept-Oct 1958), 12-14, 16- 17, 29; XII (Nov-Dec 1938), 26-29. " Clarence J. West, Dichloroethyl Sulfide and Homologues, Chemical Warfare Monographs, vol. 40, 1 Aug 18.
  • 45.
    TOXIC AGENTS 63plants at Cleveland, Ohio, Buffalo, N.Y., Midland, Mich., and Hastingson-Hudson, N.Y., and closed the plant at Edgewood. Research on mustard practically ceased until the early 1930's when the plant at Edgewood was restored. In 1937 this plant was put into production for a two-week period but not until 1940 was it opened for large-scale production. ^^ After Edgewood Arsenal began producing mustard again the CWS, assisted by the NDRC, examined a number of purification methods including distillation under low pressure, distillation using steam and organic liquids, extraction with solvents, treatment with ammonia, flash distillation, and crystal fractionation. Of these processes only vacuum distillation, steam distillation, and solvent extraction proved to be feasible for use on a large scale. Purification by extraction dated back to 1918 when the CWS carried out laboratory and pilot plant investigations to see if ^,)S'-dichloroethyl sulfide could be separated from impurities by dissolving it in gasoline or other solvents. The insoluble impurities remained in the residue and the sulfide was recovered from the solvent by distillation. '''' In 1942 this line of research was resumed at the CWS-MIT Development Laboratory. The chemists first obtained data on the solubility of the constituents of crude mustard in various solvents, and on rates of solution. Then, using glass extraction apparatus, they determined the data necessary for designing a large-scale extractor. '^^ The NDRC assisted by awarding a contract to the Texas Co. for pilot plant studies. Texas Co. engineers proved that largescale extraction was practical, but they found that the product was less pure than steam distilled mustard and that the process required complex, expensive equipment. Steam distillation, in which a current of steam was passed into the still to help carry away mustard, leaving the impurities behind as a tarry residue, had also been tested by the CWS back in 1918. In 1943 the CWSMIT Development Laboratory re-examined this method and found that it produced a sulfide of high purity and fair stability, and that only simple equipment was required. "'" The Texas Co. then made a pilot plant inves^^ (1) Capt William Creasy and L. Wilson Greene, Six-Ton Levinstein HS Plant,
  • 46.
    Engineering Test. EATR254, 14 Apr 39. (2) Edgewood Arsenal in Chemical Warfare Production, pp. 48-51. ■'" (1) Single, Successive and Continuous Extraction of Mustard Gas with Solvents. EAL 11, 24 May 18. (2) Thomas G. Thompson and Harry Odeen, "The Solubility of /?, /^'-Dichloroethyl Sulfide in Petroleum Hydrocarbons and Its Purification by Extraction with These Solvents," Industrial and Engineering Chemistry. 12 (1920), 1057-62. ■" Scott W. Walker, Capt John H. Carpenter, and Theodore Q. Eliot, Purification of Levinstein H. MITMR 66, 23 May 44. '-- Ibtd.
  • 47.
    64 THE CHEMICALWARFARE SERVICE tigation to obtain data for the construction and operation of a full size plant. ^^ It is possible that this process would have been the one utilized, as it seemed the most promising at the time, had not the CWS and NDRC come across a superior method, vacuum distillation. The CWS obtained the clue which led them to vacuum distillation in November 1943 when Capt. J. W. Eastes visited the University of Illinois to confer with NDRC chemists. He learned that they had distilled at low pressure mustard which had been washed with water, and that the temperatures in the distillation column indicated that fairly pure j8,/8'-dichloroethyl sulfide could be prepared in this way.^^ In other words, water removed certain impurities, and distillation removed the remainder. The CWS had investigated vacuum distillation earlier, but had never washed the crude mustard before distilling.^^ The Technical Division investigated the process and found that it produced a purer and more stable l^,/3'-dichloroethyl sulfide than the other methods and that it was quite practical so far as apparatus was concerned. A pilot plant was first set up and then a full-scale plant.^^ In 1945 the service switched to the new process at Edgewood and at Rocky Mountain Arsenal. ^^ By the end of the year 9,218,357 pounds of distilled mustard (symbol, HD) had been produced. With the successful production of HD, production of the old Levinstein mustard was halted. Mustard, in terms of the quantity that the CWS stockpiled, was the most important American toxic agent. The plants at the Edgewood, Huntsville, Pine Bluff, and Rocky Mountain arsenals produced 174,610,000 pounds, exclusive of the nine million pounds of the new distilled mustard.^^ Since mustard evaporated slowly and thus remained effective from several hours to several days, depending upon the weather and terrain, its use was indicated on strategic targets or on enemy positions that would not be taken immediately by American troops. Thus, it could be used to "seal ofiP' an enemy area into which American troops were advancing, and 5^ W. E. Kuhn, G. B. Arnold, and L. E. Rudisch, Purification of Levinstein Mustard. OSRD 3217, 5 Feb 44. ■'-* Agents III (Vesicants), monograph MS, vol. 3 of series History of Research
  • 48.
    and Development ofthe CWS (1 July 1940-31 December 1945), pp. 80-81. ^■'' Elford D. Streeter, "Continuous Vacuum Still for 'Mustard Gas. ' biJ;/srrnil and Engineering Chemistry. 11 (1919), 292-94. 5« Capt William R. Wheeler, Capt Willard Marcy, Andrew E. Perry, and William R. Wilson, Vacuum Distillation of Levinstein H, Pilot Plant Study. TDMR 985, 17 Mar 45. ■" History of Rocky Mountain Arsenal, 1945, vol. IK, pt. L PP- 647-715. "Crawford, Cook, and Whiting, Statistics, "Procurement," p. 21.
  • 49.
    TOXIC AGENTS 65to hamper enemy lines of communication, airfields, landing beaches, artillery emplacements, and observation points. In withdrawals it could be used to contaminate the routes of enemy advance. For delivery of mustard by ground troops the CWS had 4.2-inch mortar shells, artillery shells, and land mines. The land mines were simply rectangular 1-gallon tin cans, such as were commonly used to hold varnish or syrup. They had a capacity of ten pounds of mustard. When exploded with a slow-burning fuze or by electrical means, the mines spread mustard over a considerable area. They were intended for use as booby traps or in contaminating fields, roads, and buildings. The CWS procured and stored (but did not fill) almost two million such mines. ''^ For possible use by troops, 540,746 4.2-inch mortar shells were filled and stored. For the artillery, 1,360,338 75-mm. Mk 64, 1,983,945 105-mm. M60, 784,836 155-mm. Mk 2Al, 290,810 155-mm. Ml 10, and smaller quantities of other shells, were readied. '^° For carrying out aerial mustard attacks the CWS had chemical bombs and spray tanks. "^^ The service procured 594,216 M70 and M70Al 115pound bombs, developed by the Ordnance Department, and 539,727 M47A1 and M47A2 100-pound bombs, developed by the CWS in the 1930's.''" The bombs were slightly over 4 feet long, about 8 inches in diameter, and contained a cylindrical burster. The bombs held from 60 to 70 pounds of mustard, and when dropped contaminated an area of from 15 to 40 yards in diameter, depending upon the altitude of the plane, hardness of the ground, thickness of vegetation, and so on.*^^ In addition to bombs the service procured 92,337 MlO 30-gallon airplane spray tanks. A plane flying at an altitude of 100 feet and carrying four of these tanks could spray mustard over an area 75 to 80 yards wide and 600 to 700 yards long. A larger tank, the M33 or M33A1, of which the service obtained 20,598, held more than twice as much mustard. A plane carrying two of these tanks could contaminate an area 75 to 100 yards wide and 700 yards long.*'^ In anticipation of the use of spray tanks the CWS expended much effort in trying to improve the spraying properties of mustard. In the 1930's the CWS had accepted the doctrine that mustard spray
  • 50.
    attacks would be"'' Ibid., p. 24. «" CWS Report of Production, 1 Jan 40 through 31 Dec 45, pp. 28-30. '^^ Spray tanks were also used to dispense Hquid smoke agents. See ch. IX, "Smoke." «- CWS Rpt of Production, 1 Jan 40 through 31 Dec 45, pp. 3-4. •^^ FM 3-6, Employment and Characteristics of Air Chemical Munitions, Oct 46. «^ Ibid.
  • 51.
    66 THE CHEMICALWARFARE SERVICE carried out by planes flying at low altitudes and moderate speeds. By 1941 plans called for planes flying a mile high and at speeds up to 350 miles an hour. At high altitudes and speeds the wind could easily carry small droplets beyond the target or spread them over too wide an area. Small droplets also evaporated so quickly that they either might not reach the ground at all, or else become so minute as to be practically ineffective. To obtain the desired large droplets chemists began to search for materials which would thicken mustard.*'^ After starting the project CWS learned that the British had already determined the best size for high altitude droplets and were adding various substances to mustard to increase the particle size. In co- operation with the NDRC the CWS tested more than seventy thickeners.'''' Finally, the search narrowed down to polystyrene and methyl methacrylate. After methyl methacrylate sheet scrap (Plexiglas and Lucite) became available from aircraft factories, the CWS adopted it as a m.ustard thickener.'^" As things turned out the work of the CWS and NDRC on thickeners went for naught. High and low altitude spray tests carried out by the CWS in co-operation with the Signal Corps and Army Air Forces at Dugway Proving Ground from 1943 onward finally proved that unthickened mustard was a better substance for spraying purposes than thickened mustard, and thickening agents were given up.''* Like the American Army, the German Army placed much reliance on mustard. An examination of captured documents and gas dumps showed that they had produced more than twice as much mustard as any other agent for use in artillery shells of all calibers, mortar shells, 250- and 500kilogram bombs, rockets, and spray tanks. '^'^ A notable feature was the tendency to use mustard in conjunction with thickening agents or with substances that would lower the freezing point. Arsenol, a mixture of arsenic compounds, mainly diphenylchloroarsine, was widely used for this purpose. The Japanese, too, used mustard as a filling for shells and bombs. They 8^ Agents III (Vesicants), pp. 96- 135. ''^ Miscellaneous Chemical Eng!neeri>7g Problems. Summary Technical Report ot Div 11, National Defense Research Committee
  • 52.
    Welcome to ourwebsite – the ideal destination for book lovers and knowledge seekers. With a mission to inspire endlessly, we offer a vast collection of books, ranging from classic literary works to specialized publications, self-development books, and children's literature. Each book is a new journey of discovery, expanding knowledge and enriching the soul of the reade Our website is not just a platform for buying books, but a bridge connecting readers to the timeless values of culture and wisdom. With an elegant, user-friendly interface and an intelligent search system, we are committed to providing a quick and convenient shopping experience. Additionally, our special promotions and home delivery services ensure that you save time and fully enjoy the joy of reading. Let us accompany you on the journey of exploring knowledge and personal growth! ebookfinal.com