Vertica log file question (Session ID)

Moderator: NorbertKrupa

Post Reply
User avatar
becky
Intermediate
Intermediate
Posts: 118
Joined: Sat Apr 28, 2012 11:37 am

Vertica log file question (Session ID)

Post by becky » Mon Sep 24, 2012 8:27 pm

Hi guys,

When I look at my Vertica log file I see info like "Session:0x2aaab8e63790".

For instance:

Code: Select all

2012-09-24 09:49:33.486 Init Session:0x2aaab8e63790 <LOG> @v_node0001: 00000/2705: Connection received: host=10.254.7.222 port=37227 
What does the value "Session:0x2aaab8e63790" represent? It does seem to map to a session ID in the sessions table...

Thanks!
THANKS - BECKSTER

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Vertica log file question (Session ID)

Post by id10t » Mon Sep 24, 2012 9:44 pm

Hi!

Check system_sessions table (transaction_id equals to SessionID in log but in log number in hex):

Code: Select all

db=> select * from system_sessions limit 1;
-[ RECORD 1 ]-----------+-------------------------------------------
node_name               | v_db_node0001
user_name               | dbadmin
session_id              | suse.vertica-18311:0x1dac
transaction_id          | 45035996273720756
session_type            | MOVEOUT
runtime_priority        | 
description             | Txn: a0000000003db4 'Moveout: Tuple Mover'
session_start_timestamp | 2012-09-24 22:39:10.014445+02
session_end_timestamp   | 2012-09-24 22:39:10.026718+02
is_active               | f
session_duration_ms     | 0

User avatar
becky
Intermediate
Intermediate
Posts: 118
Joined: Sat Apr 28, 2012 11:37 am

Re: Vertica log file question (Session ID)

Post by becky » Tue Sep 25, 2012 3:25 am

Thanks, sKwa! So in the log file the session ID is the system session ID? Is that a process that Vertica itself is running? So it has nothing to do with the session id in the sessions table?
THANKS - BECKSTER

Post Reply

Return to “New to Vertica Database Administration”