Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8939
RESTBase Parsoid/PHP tables - Beta
Active
Public
Actions
Authored by
•
mobrovac
on Aug 20 2019, 3:12 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
RESTBase
RESTBase-Cassandra
Cassandra
Referenced Files
F30050214: raw.txt
Aug 20 2019, 3:12 PM
2019-08-20 15:12:41 (UTC+0)
Subscribers
None
###
## `others` STORAGE GROUP BLOCK
###
# parsoidphp-stash
create_others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw
:
statement
:
|
CREATE KEYSPACE IF NOT EXISTS "others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw"
WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter1': '3'} AND durable_writes = true;
create_meta_others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw
:
statement
:
|
CREATE TABLE IF NOT EXISTS "others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw".meta (
key text PRIMARY KEY,
value text
) WITH bloom_filter_fp_chance = 0.1
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'}
AND compression = {'chunk_length_in_kb': '32', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
create_data_others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw
:
statement
:
|
CREATE TABLE IF NOT EXISTS "others_T_parsoidphpAetaDBIXR_iWCeS5MknjkVQgnFw".data (
"_domain" text,
key text,
headers text,
tid timeuuid,
value blob,
PRIMARY KEY (("_domain", key))
) WITH bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '32', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 86400
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
# parsoidphp
create_others_T_parsoidphp
:
statement
:
|
CREATE KEYSPACE IF NOT EXISTS "others_T_parsoidphp"
WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter1': '3'} AND durable_writes = true;
create_meta_others_T_parsoidphp
:
statement
:
|
CREATE TABLE IF NOT EXISTS "others_T_parsoidphp".meta (
key text PRIMARY KEY,
value text
) WITH bloom_filter_fp_chance = 0.1
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'}
AND compression = {'chunk_length_in_kb': '32', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
create_data_others_T_parsoidphp
:
statement
:
|
CREATE TABLE IF NOT EXISTS "others_T_parsoidphp".data (
"_domain" text,
key text,
headers text,
tid timeuuid,
value blob,
PRIMARY KEY (("_domain", key))
) WITH bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '32', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
Event Timeline
•
mobrovac
created this paste.
Aug 20 2019, 3:12 PM
2019-08-20 15:12:41 (UTC+0)
•
mobrovac
mentioned this in
T230792: Create Parsoid/PHP tables in Cassandra
.
Log In to Comment