跳转到正文

Docker 验证证据 ​

ScyllaDB 已验证 · Verified 🕒 快照采集: 2026-08-23 15:15:53 UTC
🐳 镜像:server:由 SCYLLADB_IMAGE 锁定
🛠️ 关键工具:scyllacqlshnodetool
🚀 运行/交互CREATE KEYSPACE/TABLE → INSERT → SELECT → DESCRIBE TABLES → tracing
docker-session.out.txt
$ cqlsh -e "DESCRIBE CLUSTER"
Cluster: 
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Snitch: SimpleSnitch

$ cqlsh -e fixed-session.cql
Warnings :
SimpleStrategy replication class is not recommended, but was used for keyspace hello. You may suppress this warning by delisting SimpleStrategy from replication_strategy_warn_list configuration option, or make it into an error by listing this replication strategy on replication_strategy_fail_list.

Using Replication Factor replication_factor=1 lower than the minimum_replication_factor_warn_threshold=3 is not recommended.


 id | name  | score
----+-------+-------
  1 | Alice |    30
  2 |   Bob |    20
  3 | Carol |    40

(3 rows)

CREATE TABLE hello.items (
    id int PRIMARY KEY,
    name text,
    score int
) WITH bloom_filter_fp_chance = 0.01
    AND caching = {'keys': 'ALL', 'rows_per_partition': 'ALL'}
    AND comment = ''
    AND compaction = {'class': 'IncrementalCompactionStrategy'}
    AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND crc_check_chance = 1.0
    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 speculative_retry = '99.0PERCENTILE';

Released under the MIT License.