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 871845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:42:04+00:00 2026-05-15T10:42:04+00:00

I am from DW/BI background using SAS for many years now I have task

  • 0

I am from DW/BI background using SAS for many years now I have task to find out number of records present in tables on the fly for postgresql tables

i.e. In SAS we have meta tables which has details about tables and no of records, column info etc in system meta tables in a same manner is there any meta table available in postgresql to get no of observation on the fly?

I know we can do select count(*) from table but I don’t want to do that, I want to know is there any built in meta tables in postgresql to get no of records present in table?

Highly appreciated your help.

  • 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-05-15T10:42:05+00:00Added an answer on May 15, 2026 at 10:42 am

    The pg_class system catalogue contains information about each relation (table, index, view, sequence…). For tables, this includes an estimate of the number of tuples (rows) and disk pages taken up by the table. e.g.:

    SELECT reltuples, relpages FROM pg_class WHERE oid = 'table_name'::regclass
    

    Note that reltuples is of “real” type and so stores about 6 significant figures.

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

Sidebar

Related Questions

I come from Java Background and so used to Debugging using Eclipse but have
I come from a Java background and have been using C# for the last
I am getting images from background process by using url.To dispaly images i have
I'm using an IntentService to perform background tasks, such as updating data from a
I'm coming from a MS SQL Server background. Working on a new project using
Using AppleScript, how can I change the background color of cells ranging from A3
Without using percentages, is it possible to position a background image 2px from the
Coming from a background using Visual Studio and Notepad++ I'm used to the indent
What is the reason that some people from Oracle background are using DECIMAL(31,0) for
Background Using a jQuery modal dialog to present a form. The form has an

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.