You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/databases/cassandra.mdx
+32-33Lines changed: 32 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: Connect to Cassandra and ScyllaDB clusters, browse keyspaces, and r
7
7
8
8
TablePro supports Apache Cassandra 3.11+ and ScyllaDB 4.0+ via the CQL native protocol. Browse keyspaces, inspect table structures, view materialized views, and run CQL queries from the editor.
9
9
10
-
## Quick Setup
10
+
## Quick setup
11
11
12
12
<Steps>
13
13
<Steptitle="Open Connection Form">
@@ -24,17 +24,17 @@ TablePro supports Apache Cassandra 3.11+ and ScyllaDB 4.0+ via the CQL native pr
24
24
</Step>
25
25
</Steps>
26
26
27
-
## Connection Settings
27
+
## Connection settings
28
28
29
-
### Required Fields
29
+
### Required fields
30
30
31
31
| Field | Description | Default |
32
32
|-------|-------------|---------|
33
33
|**Name**| Connection identifier | - |
34
34
|**Host**| Contact point hostname or IP |`localhost`|
35
35
|**Port**| CQL native transport port |`9042`|
36
36
37
-
### Optional Fields
37
+
### Optional fields
38
38
39
39
| Field | Description |
40
40
|-------|-------------|
@@ -46,17 +46,17 @@ TablePro supports Apache Cassandra 3.11+ and ScyllaDB 4.0+ via the CQL native pr
46
46
Local Cassandra installations typically have authentication disabled. Leave username and password empty for local development.
47
47
</Tip>
48
48
49
-
## Connection URL Format
49
+
## Connection URL format
50
50
51
51
ImportconnectionsusingaCassandraorScyllaDBURL.
52
52
53
53
See [Connection URL Reference](/databases/connection-urls#cassandra--scylladb) for the full URL format.
Astra DB requires a Secure Connect Bundle for TLS. Download the bundle from the Astra dashboard and configure it in the SSL/TLS section.
92
92
</Note>
93
93
94
-
### Remote Server
94
+
### Remote server
95
95
96
-
```
96
+
```text
97
97
Name: Production Cassandra
98
98
Host: cassandra.example.com
99
99
Port: 9042
@@ -106,7 +106,7 @@ Keyspace: production
106
106
For production Cassandra clusters, consider using [SSH tunneling](/databases/ssh-tunneling) for secure connections.
107
107
</Warning>
108
108
109
-
## SSL/TLS Connections
109
+
## SSL/TLS connections
110
110
111
111
Configure SSL in the **SSL/TLS** section of the connection form.
112
112
@@ -122,21 +122,21 @@ For **Verify CA** mode, provide the path to your CA certificate file. You can al
122
122
If you'd rather skip SSL certificate setup, [SSH tunneling](/databases/ssh-tunneling) encrypts all traffic through an SSH tunnel instead.
123
123
</Note>
124
124
125
-
## SSH Tunnel Support
125
+
## SSH tunnel support
126
126
127
127
Connect to Cassandra through an SSH tunnel for secure access to remote clusters. See [SSH Tunneling](/databases/ssh-tunneling) for setup instructions.
128
128
129
129
## Features
130
130
131
-
### Keyspace Browsing
131
+
### Keyspace browsing
132
132
133
133
After connecting, the sidebar lists all keyspaces. Expand a keyspace to see its tables, materialized views, user-defined types (UDTs), and secondary indexes.
134
134
135
135
1. Click the connection name in the sidebar
136
136
2. Expand a keyspace to see its objects
137
137
3. Click a table to view its data
138
138
139
-
### Table Structure
139
+
### Table structure
140
140
141
141
View the full schema for any table:
142
142
@@ -146,11 +146,11 @@ View the full schema for any table:
146
146
-**Secondary indexes**: index name, target column, index class
Browse materialized views alongside tables in the sidebar. View their definition, base table, and column mappings.
152
152
153
-
### Data Grid
153
+
### Data grid
154
154
155
155
Browse table data with pagination. Cell values display with CQL type-aware formatting:
156
156
@@ -161,7 +161,7 @@ Browse table data with pagination. Cell values display with CQL type-aware forma
161
161
-**map/set/list/tuple** display as formatted collections
162
162
-**blob** values display as hex
163
163
164
-
### CQL Editor
164
+
### CQL editor
165
165
166
166
Execute CQL statements directly in the editor tab:
167
167
@@ -197,19 +197,18 @@ CREATE INDEX ON users (email);
197
197
DESCRIBE TABLE users;
198
198
```
199
199
200
-
## CQL-Specific Notes
200
+
## CQL-specific notes
201
201
202
202
Cassandra Query Language (CQL) looks like SQL but has important differences:
203
203
204
204
### No JOINs
205
-
206
205
CQL does not support JOIN operations. Design your data model around query patterns, denormalizing data across multiple tables as needed.
207
206
208
-
### No Subqueries
207
+
### No subqueries
209
208
210
209
CQL does not support subqueries. Break complex queries into multiple sequential statements.
211
210
212
-
### Partition Key Restrictions
211
+
### Partition key restrictions
213
212
214
213
Every SELECT query must include the full partition key in the WHERE clause, unless you use `ALLOW FILTERING` (which scans the entire cluster and should be avoided in production).
215
214
@@ -225,7 +224,7 @@ SELECT * FROM orders WHERE total > 100 ALLOW FILTERING;
225
224
226
225
The `ALLOW FILTERING` clause forces a full cluster scan. It works for development and small datasets but causes timeouts and performance issues on production clusters. TablePro shows a warning when a query includes `ALLOW FILTERING`.
@@ -245,7 +244,7 @@ SELECT TTL(value), WRITETIME(value) FROM cache WHERE key = 'k1';
245
244
246
245
## Troubleshooting
247
246
248
-
### Connection Refused
247
+
### Connection refused
249
248
250
249
**Symptoms**: "Connection refused" or timeout
251
250
@@ -271,7 +270,7 @@ SELECT TTL(value), WRITETIME(value) FROM cache WHERE key = 'k1';
271
270
- Check `rpc_address` and `listen_address` in `cassandra.yaml`
272
271
- For remote connections, set `rpc_address` to `0.0.0.0`
273
272
274
-
### Authentication Failed
273
+
### Authentication failed
275
274
276
275
**Symptoms**: "Provided username and/or password are incorrect"
277
276
@@ -285,7 +284,7 @@ SELECT TTL(value), WRITETIME(value) FROM cache WHERE key = 'k1';
285
284
```
286
285
3. Default superuser is `cassandra` / `cassandra` (change this in production)
287
286
288
-
### Connection Timeout
287
+
### Connection timeout
289
288
290
289
**Symptoms**: Connection hangs or times out
291
290
@@ -296,7 +295,7 @@ SELECT TTL(value), WRITETIME(value) FROM cache WHERE key = 'k1';
296
295
3. For cloud-hosted Cassandra, ensure your IP is in the allowed list
297
296
4. Increase the connection timeout in the Advanced tab
298
297
299
-
### Read Timeout
298
+
### Read timeout
300
299
301
300
**Symptoms**: "Read timed out" on queries
302
301
@@ -307,17 +306,17 @@ SELECT TTL(value), WRITETIME(value) FROM cache WHERE key = 'k1';
307
306
3. Check cluster health with `nodetool status`
308
307
4. Reduce the result set with `LIMIT`
309
308
310
-
## Known Limitations
309
+
## Known limitations
311
310
312
311
- **Multi-datacenter**: connecting to a specific datacenter is not yet configurable. TablePro connects to whichever node the contact point resolves to.
313
312
- **User-Defined Functions (UDFs)**: UDFs and UDAs are not displayed in the sidebar but can be used in CQL queries.
314
313
- **BATCH statements**: supported in the CQL editor but not generated by the change tracking system.
315
314
- **Counter tables**: counter columns are read-only in the data grid. Use the CQL editor for counter updates.
316
315
- **Large partitions**: partitions with millions of rows are paginated automatically to prevent memory issues.
317
316
318
-
## Performance Tips
317
+
## Performance tips
319
318
320
-
### Query Performance
319
+
### Query performance
321
320
322
321
For Cassandra clusters with large datasets:
323
322
@@ -339,7 +338,7 @@ Check cluster health and performance:
339
338
SELECT * FROM system.size_estimates WHERE keyspace_name = 'my_keyspace';
Copy file name to clipboardExpand all lines: docs/vi/databases/overview.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ open "mysql://root:secret@localhost:3306/myapp"
108
108
open "redis://:password@localhost:6379"
109
109
```
110
110
111
-
TablePro đăng ký `postgresql`, `postgres`, `mysql`, `mariadb`, `sqlite`, `mongodb`, `mongodb+srv`, `redis`, `rediss`, `redshift`, `mssql`, `sqlserver`, `oracle`, `clickhouse`, `cassandra` và `scylladb` là các URL scheme trên macOS, nên hệ điều hành sẽ chuyển hướng các URL này trực tiếp đến ứng dụng.
111
+
TablePro đăng ký `postgresql`, `postgres`, `mysql`, `mariadb`, `sqlite`, `mongodb`, `mongodb+srv`, `redis`, `rediss`, `redshift`, `mssql`, `sqlserver`, `oracle`, `clickhouse`, `duckdb`, `cassandra` và `scylladb` là các URL scheme trên macOS, nên hệ điều hành sẽ chuyển hướng các URL này trực tiếp đến ứng dụng.
112
112
113
113
**Khi mở URL:**
114
114
@@ -131,7 +131,7 @@ Khác với **Import from URL** (điền form để bạn xem xét và lưu), m
131
131
| Trường | Mô tả |
132
132
|-------|-------------|
133
133
|**Name**| Tên thân thiện để xác định kết nối này |
134
-
|**Type**| Loại cơ sở dữ liệu: MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, Redshift, SQL Server, Oracle, ClickHouse, Cassandra hoặc ScyllaDB |
134
+
|**Type**| Loại cơ sở dữ liệu: MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, Redshift, SQL Server, Oracle, ClickHouse, DuckDB, Cassandra hoặc ScyllaDB |
0 commit comments