Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
why does the toast table exist? - Mailing list pgsql-general
From
AI Rumman
Subject
why does the toast table exist?
Date
February 16, 2011
07:36:12
Msg-id
AANLkTi=qQs3fWszfKfCktq+2szo9t9KR6+hCF7-j1TGs@mail.gmail.com
Whole thread
Raw
Responses
Re: why does the toast table exist?
List
pgsql-general
Tree view
I found in my Postgresql 9.0.1 DB as follows:
select oid,relname,reltoastrelid,relpages,relfilenode,reltuples
from pg_class
where oid in ( 90662,90665);
-[ RECORD 1 ]-+-------------------
oid | 90662
relname | audit_trial
reltoastrelid | 90665
relpages | 7713
relfilenode | 373748
reltuples | 930648
-[ RECORD 2 ]-+-------------------
oid | 90665
relname | pg_toast_90662
reltoastrelid | 0
relpages | 0
relfilenode | 373751
reltuples | 0
I have no idea why the TOAST table exists for audit_trial table.
\d audit_trial
Table "public.audit_trial"
Column | Type | Modifiers
------------+-----------------------------+-----------
auditid | integer | not null
userid | integer |
module | character varying(255) |
action | character varying(255) |
recordid | character varying(20) |
actiondate | timestamp without time zone |
Indexes:
"audit_trial_pkey" PRIMARY KEY, btree (auditid)
"audit_trial_action_idx" btree (action)
"audit_trial_actiondate_desc_idx" btree (actiondate DESC) CLUSTER
"audit_trial_module_idx" btree (module)
"audit_trial_userid_idx" btree (userid)
pgsql-general
by date:
Previous
From:
Magnus Hagander
Date:
16 February 2011, 06:46:53
Subject:
Re: PostgresSQL 9.0 64 bit on windows 2008 64bit
Next
From:
Alessandro Candini
Date:
16 February 2011, 07:55:34
Subject:
Re: Multithreaded query onto 4 postgresql instances
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies