User:Tc2004
Appearance
h1. [1��������� Technical Architecture|]
h2. [1.1�������� Create |]Keyspace Syntax
Follow the naming convention and syntax below when creating keyspaces within the ODS. Note, the keyspace is named the same across environment to facilitate migrations and deployments.
��������� Development Environment
DROP KEYSPACE CouponsNextGenDb;
CREATE KEYSPACE CouponsNextGenDb
WITH strategy_class = 'NetworkTopologyStrategy'
AND strategy_options:DCWEST = 3
AND strategy_options:DCEAST = 3;
��������� Production Environment
DROP KEYSPACE CouponsNextGenDb;
CREATE KEYSPACE CouponsNextGenDb
WITH strategy_class = 'NetworkTopologyStrategy'
AND strategy_options:DCWEST = 2
AND strategy_options:DCEAST = 2
AND strategy_options:DCBatch = 2;
- \\*