Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7746625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:19:35+00:00 2026-06-01T10:19:35+00:00

I have a few queries regarding columns in Postgres CSV Log. Query 1 Following

  • 0

I have a few queries regarding columns in Postgres CSV Log.

Query 1
Following is a sample Logline

2012-03-28 19:25:47.968 IST,”postgres”,”stock_apals”,2388,”localhost:1898″,4f731863.954,6,”SET”,2012-03-28 19:25:47 IST,2/0,0,LOG,00000,”QUERY STATISTICS”,”! system usage stats:
! 0.047000 elapsed 0.000000 user 0.000000 system sec
! [0.078125 user 0.031250 sys total]”,,,,,”Select * from stock_apals”
,,”ShowUsage, .\src\backend\tcop\postgres.c:4305″,””

I am aware of all the data segments except the following

“! system usage stats:
! 0.047000 elapsed 0.000000 user 0.000000 system sec
! [0.078125 user 0.031250 sys total]”,

What do the number mean, it seems to appear only with a Logline for SQL statements


Query 2

my CSV Log has lot of occurances of a certain Log select statement. It is exactly the same and all over the Log.

2012-03-28 19:25:48.015 IST,”postgres”,”stock_apals”,2388,”localhost:1898″,4f731863.954,7,”idle”,2012-03-28 19:25:47 IST,2/98,0,LOG,00000,”statement: SELECT typname, oid FROM pg_type WHERE typname IN (‘oidvector’, ‘_oidvector’, ‘unknown’, ‘_unknown’, ‘refcursor’, ‘_refcursor’, ‘char’, ‘_char’, ‘bpchar’, ‘_bpchar’, ‘varchar’, ‘_varchar’, ‘text’, ‘_text’, ‘name’, ‘_name’, ‘bytea’, ‘_bytea’, ‘bit’, ‘_bit’, ‘bool’, ‘_bool’, ‘int2’, ‘_int2’, ‘int4’, ‘_int4’, ‘int8’, ‘_int8’, ‘oid’, ‘_oid’, ‘float4’, ‘_float4’, ‘float8’, ‘_float8’, ‘numeric’, ‘_numeric’, ‘inet’, ‘_inet’, ‘money’, ‘_money’, ‘point’, ‘_point’, ‘lseg’, ‘_lseg’, ‘path’, ‘_path’, ‘box’, ‘_box’, ‘circle’, ‘_circle’, ‘polygon’, ‘_polygon’, ‘uuid’, ‘_uuid’, ‘xml’, ‘_xml’, ‘interval’, ‘_interval’, ‘date’, ‘_date’, ‘time’, ‘_time’, ‘timetz’, ‘_timetz’, ‘timestamp’, ‘_timestamp’, ‘abstime’, ‘_abstime’, ‘timestamptz’, ‘_timestamptz’)”,,,,,,,,”exec_simple_query, .\src\backend\tcop\postgres.c:900″,””

Is this a performance concern. ?
is there anything that i can do to keep this statement from recurring.

thank you
arvind

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:19:36+00:00Added an answer on June 1, 2026 at 10:19 am

    I have found the answer regarding numbers on Postgresql.org Form

    Query 1
    These lines are emitted if you set log_statement_stats to “on”.

    They contain execution statistics for the query. The “user” and “sys”
    times are acquired by the getrusage(2) or times(2) system call,
    depending
    on your operating system (on Windows, GetProcessTimes is used).
    You can look at the man page for your system for details.

    The values you see are:
    wall time, CPU user time and kernel CPU time it took to execute the
    query.
    The values in brackets are the values accumulated for this database
    session.

    Answered by – Laurenz Albe

    Query 2
    It is because of too many repititive sql sessions being opened and closed

    I hope it helps other users understand, how much depth the Log data shows.

    regards

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have few queries regarding iPhone app submission. 1) I have an account and
I have ran across a few queries that use this where condition: select ...
We have few components like libraries dlls When initially created I ran the following
I want to design a new distributed application, but I have a few queries
I ran a few queries w/ the persistent option turned on. I now have
We have a a few queries in our system that use LIKE '%'+@SomeCriteria+'%' to
I have a few complex queries that are ran very often. Caching the results
I have few queries related to read()/pread() system calls in a multithreaded environment I
I have a few Mongo queries in the JS format, such as: db.hello.update(params,data); How
I have been creating a php application that makes quite a few queries to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.