PostgreSQL Objects design

Поиск
Список
Период
Сортировка
От Wetmore, Matthew (CTR)
Тема PostgreSQL Objects design
Дата
Msg-id e24229e77dc848929ce3146492131066@express-scripts.com
обсуждение исходный текст
Ответ на Re: PostgreSQL Objects design  (Steve Midgley <science@misuse.org>)
Список pgsql-sql

Database Soup

 

Also, create an account and sign up for postgres listservs.

 

There are a couple to choose from.

 

 

From: Steve Midgley <science@misuse.org>
Sent: Thursday, April 20, 2023 11:25 AM
To: kunwar singh <krishsingh.111@gmail.com>
Cc: pgsql-sql@lists.postgresql.org
Subject: [EXTERNAL] Re: PostgreSQL Objects design

 

 

 

On Thu, Apr 20, 2023 at 9:01 AM kunwar singh <krishsingh.111@gmail.com> wrote:

Hi Listers,

I want to learn more about Table/Columns/Indexes  design. 

  • How big the columns should be? 
  • How many number of columns should a table have at max? 
  • How many rows a tables should have at max
  • What are size limitations of different data types

 

Any books, blogs , videos, courses that you recommend I go over?

 

I have been an Oracle DBA , but only from a support and tuning standpoint. I have never done this kind of work before, even in Oracle. So interested in learning in this area?

 

Any approach that will speed up my learning? 

 

The Postgres docs, IMO, are astonishingly good. https://www.postgresql.org/docs/ -- Not what I tend to expect from open source projects, but there's a reason (again IMO) Postgres is the best database solution ever built. Regarding your specific question here are the current "hard" limits https://www.postgresql.org/docs/current/limits.html 

 

But recognize that the effective limits on your system are going to be lower, and based on your available ram, disk, and other resources.

 

Stackoverflow might be a good place to understand more about these kinds of limits. I'll say that for my use cases, I've never had to worry about anything other than applying the right index or reworking my SQL statement to solve a particular problem in Postgres. So I'd say try to learn about various index techniques and how to use Postgres' SQL, as the starting place to learn. I think EnterpriseDB has good resources for those coming from Oracle as well..

 

Welcome to the light side!

Steve

В списке pgsql-sql по дате отправления:

Предыдущее
От: Steve Midgley
Дата:
Сообщение: Re: PostgreSQL Objects design
Следующее
От: ProfiVPS Support
Дата:
Сообщение: Strange update behaviour