creating clusters in postgres

  Рет қаралды 15,300

CHENNAKESHAVA RAMESH

CHENNAKESHAVA RAMESH

5 жыл бұрын

Creating clusters in postgres

Пікірлер: 13
@leellee7394
@leellee7394 4 жыл бұрын
thanks a lot for your postgres training its really helpful
@esra_erimez
@esra_erimez 4 жыл бұрын
I found your tutorial scintillating and thrilling.
@ABIHASHIM
@ABIHASHIM Жыл бұрын
Where is the second server, how do we can say the given is single host cluster? or there is another video for basic installation
@krarjunkanna
@krarjunkanna 3 жыл бұрын
Hi Ramesh, could you share the configuration and creation of postgres cluster on docker.
@princecharming3536
@princecharming3536 3 жыл бұрын
how to find port number for each cluster??
@vikrambm7023
@vikrambm7023 5 жыл бұрын
Excellent explanation Thanks I have a doubt. When we install Postgres, it already comes with a default cluster, right? So, is there a concept of "cluster names"? How do we know which cluster are we going to connect in a particular server.
@05burky
@05burky 5 жыл бұрын
#psql --cluster /clusterName -l The "-l" option is optional and will list the databases in the cluster
@zakeerp
@zakeerp 5 жыл бұрын
While installing we we will create default cluster with unique port number.. when we create in new cluster we will provide new data directory for that cluster ..created new data directory for that cluster will get all the new supporting directories and PostgreSQL conf file , we need edit port number for the postgresql conf file.. and while connecting to newly created cluster we need to use data directedand port number in pg_ctl command..
@durgasivaprasadkomatineni3977
@durgasivaprasadkomatineni3977 2 жыл бұрын
@@05burky there he is not given port number,without creating port number how we can use another cluster with same port?
@05burky
@05burky 5 жыл бұрын
Trying to create the cluster on Ubuntu 18, getting the following error: postgres@guru-Lenovo-IdeaPad-S410p:/usr/local/bin$ initdb -D /tmp/clu1 -U postgres The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_IE.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/clu1 ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... 2019-05-16 19:05:23.811 IST [6122] FATAL: could not access file "$libdir/ascii_and_mic": No such file or directory 2019-05-16 19:05:23.811 IST [6122] STATEMENT: -- SQL_ASCII --> MULE_INTERNAL CREATE OR REPLACE FUNCTION ascii_to_mic (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/ascii_and_mic', 'ascii_to_mic' LANGUAGE C STRICT PARALLEL SAFE; COMMENT ON FUNCTION ascii_to_mic(INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) IS 'internal conversion function for SQL_ASCII to MULE_INTERNAL'; CREATE DEFAULT CONVERSION pg_catalog.ascii_to_mic FOR 'SQL_ASCII' TO 'MULE_INTERNAL' FROM ascii_to_mic; COMMENT ON CONVERSION pg_catalog.ascii_to_mic IS 'conversion for SQL_ASCII to MULE_INTERNAL'; child process exited with exit code 1 initdb: removing data directory "/tmp/clu1"
@kuchipudi862
@kuchipudi862 Жыл бұрын
New batch epudu start chestaru sir
@karthicks231
@karthicks231 3 жыл бұрын
While creating a cluster , you not mentioning the port number... Then how it's work
@05burky
@05burky 5 жыл бұрын
Why do we need clusters if "there is no relationship between two clusters in a database"?
postgresql conf demo
19:50
CHENNAKESHAVA RAMESH
Рет қаралды 10 М.
tablespace concept in postgres
10:05
CHENNAKESHAVA RAMESH
Рет қаралды 10 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 72 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 5 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 194 МЛН
schema in postgres
7:15
CHENNAKESHAVA RAMESH
Рет қаралды 10 М.
PostgreSQL High Availability Options
16:34
Yugabyte
Рет қаралды 5 М.
Tuning PostgreSQL for High Write Workloads
42:33
Postgres Open
Рет қаралды 49 М.
folder layout and oid in postgres
18:30
CHENNAKESHAVA RAMESH
Рет қаралды 4,2 М.
PostgreSQL HA High Availability Tutorial
19:04
High-Performance Programming
Рет қаралды 45 М.
replication concepts in postgres
16:23
CHENNAKESHAVA RAMESH
Рет қаралды 29 М.
cold and hot backup in postgres
14:17
CHENNAKESHAVA RAMESH
Рет қаралды 10 М.
Table Clustering in MySQL and Postgres - The pros and cons
27:45
Hussein Nasser
Рет қаралды 9 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 72 МЛН