Unix Technical Forum

User session information catalog views

This is a discussion on User session information catalog views within the pgsql Admins forums, part of the PostgreSQL category; --> I am new to PostgreSQL and have long experience of administering Oracle database. I am looking for user sessions ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 07:40 AM
GURON Rawender
 
Posts: n/a
Default User session information catalog views

I am new to PostgreSQL and have long experience of administering Oracle
database. I am looking for user sessions information in a PostgreSQL.
Basically I am after dynamic performance views equivalent to Oracle's
v$session, v$process, v$session_wait etc. Can someone guide me in right
direction because I could not find any relevant information in the
manual.

Thanks
Rawender Guron

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 07:41 AM
Marcelo Costa
 
Posts: n/a
Default Re: User session information catalog views

Hi do you can search in:

http://www.postgresql.org/docs/8.1/i.../catalogs.html

Here you go learning how thats information are stored.

[],s

Marcelo.

2006/9/25, GURON Rawender <Rawender_GURON@rta.nsw.gov.au>:
>
> I am new to PostgreSQL and have long experience of administering Oracle
> database. I am looking for user sessions information in a PostgreSQL.
> Basically I am after dynamic performance views equivalent to Oracle's
> v$session, v$process, v$session_wait etc. Can someone guide me in right
> direction because I could not find any relevant information in the manual.
>
> Thanks
> Rawender Guron
> IMPORTANT NOTICE: This e-mail and any attachment to it are intended only
> to be read or used by the named addressee. It is confidential and may
> contain legally privileged information. No confidentiality or privilege is
> waived or lost by any mistaken transmission to you. The RTA is not
> responsible for any unauthorised alterations to this e-mail or attachment to
> it. Views expressed in this message are those of the individual sender, and
> are not necessarily the views of the RTA. If you receive this e-mail in
> error, please immediately delete it from your system and notify the sender.
> You must not disclose, copy or use any part of this e-mail if you are not
> the intended recipient.
>




--
Marcelo Costa

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 07:41 AM
Michael Fuhr
 
Posts: n/a
Default Re: User session information catalog views

On Tue, Sep 26, 2006 at 12:18:31PM +1000, GURON Rawender wrote:
> I am new to PostgreSQL and have long experience of administering Oracle
> database. I am looking for user sessions information in a PostgreSQL.
> Basically I am after dynamic performance views equivalent to Oracle's
> v$session, v$process, v$session_wait etc. Can someone guide me in right
> direction because I could not find any relevant information in the
> manual.


Sounds like you're looking for the pg_stat_activity view. See "The
Statistics Collector" in the "Monitoring Database Activity" chapter
of the documentation.

http://www.postgresql.org/docs/8.1/i...ing-stats.html

To see command strings you'll need to enable stats_command_string
in postgresql.conf. This setting is off by default in 8.1 and
earlier; enabling it can have a noticeable performance impact.
Performance is improved in 8.2, which will enable stats_command_string
by default.

--
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com