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
Re: How should I specify work_mem/max_worker_processes if I want to do big queries now and then? - Mailing list pgsql-general
From
James(王旭)
Subject
Re: How should I specify work_mem/max_worker_processes if I want to do big queries now and then?
Date
November 22, 2019
05:50:53
Msg-id
tencent_74BC96994E7316FA7599BF68@qq.com
Whole thread
Raw
In response to
Re: How should I specify work_mem/max_worker_processes if I want todo big queries now and then?
(Imre Samu <pella.samu@gmail.com>)
List
pgsql-general
Tree view
Thanks Imre, this is a very important comment, 128 bits is much smaller than 45*8+2=362.
Very glad to know that, thank you very much!
James
------------------ Original ------------------
From:
"Imre Samu"<pella.samu@gmail.com>;
Date:
Thu, Nov 21, 2019 08:39 PM
To:
"James(王旭)"<wangxu@gu360.com>;
Cc:
"pgsql-general"<pgsql-general@postgresql.org>;
Subject:
Re: How should I specify work_mem/max_worker_processes if I want to do big queries now and then?
> uuid character varying(45) NOT NULL,
Just a comment.
IF this is a real UUID (
RFC 4122, ISO/IEC 9834-8:2005 )
;
THEN you can use the built in "UUID Type"
https://www.postgresql.org/docs/11/datatype-uuid.html
"
UUID would be the fastest because its 128 bits -> 16 bytes and comparisons are done numerically."
https://stackoverflow.com/questions/32189129/performance-difference-between-uuid-char-and-varchar-in-postgresql-table
The smaller size can be important for your index size ! :
"quotes_pkey PRIMARY KEY (symbol_id, uuid);"
Imre
pgsql-general
by date:
Previous
From:
Dave Hughes
Date:
22 November 2019, 01:40:28
Subject:
Re: Help with configuring pgAudit
Next
From:
Pavel Stehule
Date:
22 November 2019, 08:14:06
Subject:
Re: Adding LIMIT changes PostgreSQL plan from good to a bad one
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
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