0% found this document useful (0 votes)
38 views3 pages

Terminal Saved Output

The document contains a terminal session where a user connects to a Scylla database using cqlsh and retrieves user details from the 'mention' table. It shows multiple user records with their email, creation date, last active space, space IDs, and user IDs. Additionally, the user executes commands to truncate various database tables.

Uploaded by

arvi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views3 pages

Terminal Saved Output

The document contains a terminal session where a user connects to a Scylla database using cqlsh and retrieves user details from the 'mention' table. It shows multiple user records with their email, creation date, last active space, space IDs, and user IDs. Additionally, the user executes commands to truncate various database tables.

Uploaded by

arvi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Last login: Wed Jan 22 15:20:41 on ttys007

The default interactive shell is now zsh.


To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Arvis-MacBook-Pro:image-editor arvihaxhillari$ docker run -it --rm --entrypoint
cqlsh scylladb/scylla-cqlsh -u scylla -p 'O%>1@o5kPO7IW' node-1.aws-us-east-
1.15c477d8f2bc2f09b44e.clusters.scylla.cloud

Warning: Using a password on the command line interface can be insecure.


Recommendation: use the credentials file to securely provide the password.

Connected to 0bbb0a06-afc9-4475-acf3-c52e8a133756 at node-1.aws-us-east-


1.15c477d8f2bc2f09b44e.clusters.scylla.cloud:9042
[cqlsh 6.0.24.dev0+gd2ba55b.d20240919 | Scylla 2024.2.1-0.20241202.3006adf5a31c |
CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
scylla@cqlsh> use mention;
sscylla@cqlsh:mention> select * from user_details;

email | created_at | last_active_space


| space_ids | user_id
-----------------------------+---------------------------------+-------------------
+--------------------------------------------------
+--------------------------------------
[email protected] | 2025-01-16 20:48:57.201000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 09a0d521-7eda-401a-9179-
c6d1e7b4aaa6
[email protected] | 2025-01-14 04:53:53.047000+0000 | yPnlvg1F
| {'yPnlvg1F'} | 4e2ba223-4d6a-42a5-8b99-
6152860ff5bf
[email protected] | 2025-01-16 05:07:21.107000+0000 | m4XNYyN5
| {'m4XNYyN5'} | d9179147-692b-429e-833e-
ab14c9c3ff09
[email protected] | 2025-01-17 18:19:03.753000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | d7d0186e-a031-489d-bb59-
d6307852d14b
[email protected] | 2025-01-17 04:28:16.839000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | d04c4f5f-9500-4c70-bc91-
c1740232b092
[email protected] | 2025-01-14 00:58:02.035000+0000 | JQ5gEI7k
| {'JQ5gEI7k', 'yJFFZo5S'} | 518264e1-6212-4002-bc81-
391490885534
[email protected] | 2025-01-16 04:42:31.566000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | e4b73b1b-0fea-4d12-bbee-
0ae6eba46b77
[email protected] | 2025-01-16 17:04:19.039000+0000 | null
| null | eafe5dd9-5375-407c-adf2-
69fb2065017d
[email protected] | 2025-01-17 21:35:37.042000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | c86e7b32-8d2f-4805-9b5a-
69b490bc98ca
[email protected] | 2025-01-17 19:42:53.036000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 87e2326b-b37d-4640-986b-
5f437bb2afcb
[email protected] | 2025-01-20 16:24:33.474000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | f4046246-73a6-4770-956f-
93119963b978
[email protected] | 2025-01-16 22:08:41.948000+0000 | 0tOt9UYS
| {'0tOt9UYS'} | 4cb0dd01-d7f1-4242-8154-
e9bc62fb5c41
[email protected] | 2025-01-18 00:11:48.074000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | fc18b492-cc72-4519-bebd-
4a7093ec530c
[email protected] | 2025-01-16 21:10:59.574000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 81e0c8e0-9bfe-4461-80ca-
cfc8e29b429d
[email protected] | 2025-01-16 03:33:08.313000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | d99bae95-c84f-4c9b-a163-
d2f0564de7ae
[email protected] | 2025-01-17 22:15:58.884000+0000 | 0tOt9UYS
| {'0tOt9UYS'} | 44e3970a-4b08-4965-b5b4-
21ed33516152
[email protected] | 2025-01-14 00:53:30.177000+0000 | JQ5gEI7k
| {'0tOt9UYS', 'JQ5gEI7k', 'm90CT9Ac', 'tqIyZFDP'} | 75c84872-4bb4-479c-9026-
4ca8c4a5bec0
[email protected] | 2025-01-14 06:07:10.927000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 23816403-f1fc-455b-aabd-
6a416a6dc629
[email protected] | 2025-01-18 16:54:29.467000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 08c5554d-a9f6-4b6b-a517-
78f93ac03b94
[email protected] | 2025-01-15 22:30:17.940000+0000 | m90CT9Ac
| {'m90CT9Ac'} | 66b14b10-3eab-46fd-82e7-
ae47fb8f9e1f
[email protected] | 2025-01-16 01:02:15.922000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | dfd571a5-3a6f-4c14-978c-
b1546b57e6f7
[email protected] | null | Qw2OmdHz
| {'Qw2OmdHz', 'f9N6rWLh', 'vKGX8Ods'} |
null
[email protected] | 2025-01-15 23:06:46.192000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 13a89a39-4a8c-4d12-968a-
3934d0f353db
[email protected] | 2025-01-14 00:56:44.053000+0000 | JQ5gEI7k
| {'0tOt9UYS', 'JQ5gEI7k', 'm4haUmDv'} | b122cdd6-60de-4861-9b28-
1efc39c46002
[email protected] | 2025-01-17 16:19:45.914000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 4c365cf8-0b00-4bfc-ab44-
6263ecb134bb
[email protected] | 2025-01-16 19:20:02.351000+0000 | JQ5gEI7k
| {'JQ5gEI7k'} | 5cb8a628-afb5-48d6-b9fc-
9576b54e6813
[email protected] | 2025-01-22 08:51:18.269000+0000 | ftKiuhBp
| {'ftKiuhBp', 'wfzmkRNs'} | b55602d8-ae3b-4a60-8007-
e041427a3f68

(27 rows)
scylla@cqlsh:mention> select * from user_details where email =
'[email protected]';

email | created_at | last_active_space |


space_ids | user_id
--------------------+---------------------------------+-------------------
+--------------------------------------+--------------------------------------
[email protected] | 2025-01-14 00:56:44.053000+0000 | JQ5gEI7k |
{'0tOt9UYS', 'JQ5gEI7k', 'm4haUmDv'} | b122cdd6-60de-4861-9b28-1efc39c46002
(1 rows)
scylla@cqlsh:mention> select * from user_details where email =
'[email protected]';

email | created_at | last_active_space | space_ids | user_id


-------+------------+-------------------+-----------+---------

(0 rows)
scylla@cqlsh:mention> select * from user_details where email =
'[email protected]';

email | created_at | last_active_space |


space_ids | user_id
------------------------+---------------------------------+-------------------
+-----------+--------------------------------------
[email protected] | 2025-01-23 18:23:52.684000+0000 | null |
null | 3206c38e-9e1c-4315-8104-18c7f64a40de

(1 rows)
scylla@cqlsh:mention> truncate channel_details; truncate folder_contents; truncate
magic_links; truncate user_details; truncate channel_messages; truncate
folder_details; truncate message_reactions; truncate direct_messages; truncate
group_chat_details; truncate room_activity; truncate dm_details; truncate
group_chat_messages; truncate space_details; truncate thread_messages; truncate
user_spaces; truncate workspace_identity_keys; truncate space_invites; truncate
key_rotation_history; truncate space_billing; truncate space_member_billing;
truncate encrypted_sender_keys; truncate saved_message_folders; truncate
saved_messages; truncate space_admins; truncate pending_space_members; truncate
user_key_sync; truncate files_by_sender; truncate files_by_type; truncate
files_by_room; truncate user_analytics; truncate invite_passphrases;

You might also like