How do I determine who is log into Vertica database ? and how to I kick them off ?
Thanks
Brendon
determine who is log into Vertica database
Moderator: NorbertKrupa
-
- Newbie
- Posts: 17
- Joined: Wed Sep 12, 2012 8:28 pm
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: determine who is log into Vertica database
Hi!
You can query the SESSIONS system table to determine the users that are connected:
Example:
To kick a user off, check out this post:
viewtopic.php?f=3&t=95
You can query the SESSIONS system table to determine the users that are connected:
Example:
Code: Select all
dbadmin=> select user_name from sessions;
user_name
-----------
dbadmin
(1 row)
viewtopic.php?f=3&t=95
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.