Re: constantly updated table in Amazon RDS

2022-10-21 Thread Julie Nishimura
Thank you all From: Laurenz Albe Sent: Friday, October 21, 2022 8:56 PM To: Julie Nishimura ; pgsql-gene...@postgresql.org Subject: Re: constantly updated table in Amazon RDS On Fri, 2022-10-21 at 18:51 +, Julie Nishimura wrote: > A table is constan

constantly updated table in Amazon RDS

2022-10-21 Thread Julie Nishimura
Hello, A table is constantly updated by inserting new rows. Will it affect select if where clause is based on > date? Does "where clause" to specify > date and < now? Thanks!

Convert hot_standby 9.4 postgresql into standalone server

2020-07-14 Thread Julie Nishimura
Hello, we currently have 9.4 hot_standby master-slave pair. Going forward, we can keep only one server. How can I convert the system properly? These are some snippets from master postgresql.conf file: == wal_level = hot_standby # minimal, archive,

backup -restore question

2020-07-13 Thread Julie Nishimura
Hello there, One of our PostgreSQL 9.4.1 databases has been backed up as *.gz file with the compression 9 "pg_dump -Z 9". What is the right format of restore this file when needed? Can I run the restore from a compressed file or I need to unzip the file first, then run pg_restore? Thanks

Re: migration from 9.4 to 9.6

2019-12-06 Thread Julie Nishimura
I'd like to copy one single database from 9.4 cluster to a new 9.6 cluster (migration with the upgrade), to the different host From: Adrian Klaver Sent: Friday, December 6, 2019 1:32 PM To: Julie Nishimura ; pgsql-general@lists.postgresql.org ; pgsql-general

migration from 9.4 to 9.6

2019-12-06 Thread Julie Nishimura
Hello there, what would be my best way to migrate 2 tb single database from cluster 9.4 to another machine on 9.6? Thank you!

Re: upgrade and migrate

2019-12-06 Thread Julie Nishimura
These are great points. Thanks! I will push for some testing environment From: Justin Sent: Friday, December 6, 2019 10:06 AM To: Julie Nishimura Cc: Tom Lane ; Stephen Frost ; Laurenz Albe ; Michael Paquier ; pgsql-general@lists.postgresql.org ; pgsql

Re: upgrade and migrate

2019-12-06 Thread Julie Nishimura
step requires downtime. Second does not. Correct? -Julie From: Tom Lane Sent: Wednesday, December 4, 2019 5:28 AM To: Stephen Frost Cc: Laurenz Albe ; Michael Paquier ; Julie Nishimura ; pgsql-general@lists.postgresql.org ; pgsql-general Subject: Re: upgrade

upgrade and migrate

2019-12-03 Thread Julie Nishimura
Hello, what is the best way to migrate from PostgreSQL 8.3.11 on x86_64-redhat-linux-gnu to PostgreSQL 9.6.16 on x86_64-pc-linux-gnu server, with minimal downtime? The caveat is the source has about 80 databases overall almost 30 TB. I could migrate the smallest ones (up to 1 tb) using pg_dump

postgres backup question

2019-11-19 Thread Julie Nishimura
Hello, What is the best way to dump/restore the entire database except couple of largest tables, what is the best way to do it on PostgreSQL 9.4.1 on x86_64-unknown-linux-gnu? Thank you

existing dblinks

2019-10-21 Thread Julie Nishimura
Hello, is there any way to find if there are any dblink exist on the 9.6 postgresql server? Thanks

Re: releasing space

2019-10-19 Thread Julie Nishimura
Thank you, Thomas. Do you know if it is safe to replicate 9.6.2 (smaller) db to 9.6.15 (larger capacity) using pg_basebackup? Would it be considered as an upgrade? From: Tomas Vondra Sent: Saturday, October 19, 2019 5:44 AM To: Julie Nishimura Cc: pgsql

Re: drop database

2019-10-17 Thread Julie Nishimura
I think you don't swallow an entire elephant at once, you can choke on it, it is more safe to be eaten piece by piece:) From: Julie Nishimura Sent: Thursday, October 17, 2019 2:19 PM To: Ron ; pgsql-general@lists.postgresql.org Subject: Re: drop database Ive

Re: drop database

2019-10-17 Thread Julie Nishimura
19 1:59 PM To: pgsql-general@lists.postgresql.org Subject: Re: drop database On 10/17/19 3:44 PM, Julie Nishimura wrote: Guys, can anybody reply if they drop any postgresql database larger than 1 tb and how long did it take? A lot has to do with how quickly the underlying file system can de

drop database

2019-10-17 Thread Julie Nishimura
Guys, can anybody reply if they drop any postgresql database larger than 1 tb and how long did it take? Thanks

releasing space

2019-10-17 Thread Julie Nishimura
Hello everybody, We are running PostgreSQL 9.6.2 cluster master -> standby (streaming replication). 22 tb of space (constantly struggling with the space, pruning the old data, but not fast enough). The biggest db takes 16 tb. So, we've copied it to another server, and now we would like to

how can I get non-truncated version of running sql?

2019-10-11 Thread Julie Nishimura
How do i find the FULL query running on a postgres instance? When I run: SELECT datname, pid, state, query, age(clock_timestamp(), query_start) AS age FROM pg_stat_activity WHERE state <> 'idle' AND query NOT LIKE '% FROM pg_stat_activity %' ORDER BY age; query seems to be truncated

Re: is it safe to drop 25 tb schema with cascade option?

2019-09-19 Thread Julie Nishimura
my_db_name' without parameters, that it runs for every table? I am just not sure how long it will take to run for 39 tb...:( Thanks From: Adrian Klaver Sent: Thursday, September 19, 2019 2:06 PM To: Julie Nishimura Subject: Re: is it safe to drop 25

is it safe to drop 25 tb schema with cascade option?

2019-09-19 Thread Julie Nishimura
Hello, we've recently inherited large Greenplum system (master with standby and 8 segment nodes), which is running old version of GP: 20190919:15:22:01:122002 gpstate:hitw-mck-gp1-mdw-1:gpadmin-[INFO]:- Greenplum initsystem version = 4.3.4.0 build 1 20190919:15:22:01:122002

Re: killing vacuum analyze process

2019-09-03 Thread Julie Nishimura
ows) From: Tom Lane Sent: Tuesday, September 3, 2019 4:11 PM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org Subject: Re: killing vacuum analyze process Julie Nishimura writes: > PostgreSQL 9.6.2 on x86_64-pc-linux-gnu > It seems like we have one process running s

killing vacuum analyze process

2019-09-03 Thread Julie Nishimura
Hello there, PostgreSQL 9.6.2 on x86_64-pc-linux-gnu It seems like we have one process running since 8/19. Is it any repercussion if we kill it? postgres=# select * from pg_stat_activity where pid = '18986'; -[ RECORD 1

Re: adding more space to the existing server

2019-08-05 Thread Julie Nishimura
Thanks a lot! Very helpful Sent from my iPhone > On Aug 5, 2019, at 1:50 PM, Alban Hertroys wrote: > > >> On 5 Aug 2019, at 17:27, Julie Nishimura wrote: >> >> Thanks for your reply Alban. Currently we only have A->B replication. Is >> adding B-

Re: adding more space to the existing server

2019-08-05 Thread Julie Nishimura
_ From: Alban Hertroys Sent: Monday, August 5, 2019 5:01 AM To: Julie Nishimura Cc: Adrian Klaver ; pgsql-general@lists.postgresql.org ; pgsql-general Subject: Re: adding more space to the existing server On 5 Aug 2019, at 0:39, Julie Nishimura mailto:juliez...@hotmail.com>> wrote:

Re: adding more space to the existing server

2019-08-04 Thread Julie Nishimura
te to C End state: A replicates to C B replicates to D we remove some of the dbs from A and B, then reassign the traffic based on db selections I hope it all makes sense... Thank you From: Alban Hertroys Sent: Saturday, August 3, 2019 3:15 AM To: Julie N

adding more space to the existing server

2019-07-31 Thread Julie Nishimura
Hello postgres folks, We're tossing around the idea of upgrading a replicated postgres cluster (37 dbs) by breaking the replication, adding different size (larger) data disks to the hot-spare, then turning replication back on, letting it fully populate, then breaking replication, making the

Re: number of concurrent writes that are allowed for database

2019-07-09 Thread Julie Nishimura
Any advice is appreciated, thank you, guys!!! Sent from my iPhone On Jul 9, 2019, at 3:56 PM, Julie Nishimura mailto:juliez...@hotmail.com>> wrote: Hello guys, How do I determine the number of concurrent writes that are allowed for some databases? Is it max of connections par

number of concurrent writes that are allowed for database

2019-07-09 Thread Julie Nishimura
Hello guys, How do I determine the number of concurrent writes that are allowed for some databases? Is it max of connections parameter? Is there a way to determine how many we are currently using on average? Thank you, julie

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-29 Thread Julie Nishimura
--- 7 Today after the change: SELECT count(*) from pg_freespacemap_relations; count --- 272 (1 row) Just FYI From: Adrian Klaver Sent: Tuesday, May 28, 2019 5:16 PM To: Julie Nishimura Cc: pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-28 Thread Julie Nishimura
From: Adrian Klaver Sent: Tuesday, May 28, 2019 12:43 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 8 (99%) On 5/28/19 11:20 AM, Julie Nishimura wrote

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-28 Thread Julie Nishimura
What is the impact of fsm_relatiosn being maxed out? From: Julie Nishimura Sent: Tuesday, May 28, 2019 11:11 AM To: Adrian Klaver; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-28 Thread Julie Nishimura
d IN ('r','i') ? Thanks for your help From: Adrian Klaver Sent: Friday, May 24, 2019 10:22 AM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 8 (99%) O

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-27 Thread Julie Nishimura
Andres, yes, thank you! From: Andres Freund Sent: Monday, May 27, 2019 6:49 AM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 8 (99%) Hi

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-24 Thread Julie Nishimura
! From: Adrian Klaver Sent: Friday, May 24, 2019 7:19 AM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 8 (99%) On 5/23/19 11:57 PM, Julie Nishimura

Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-24 Thread Julie Nishimura
Correction about version: PostgreSQL 8.3.11 Thanks again!!! From: Julie Nishimura Sent: Thursday, May 23, 2019 11:57 PM To: pgsql-general@lists.postgresql.org; pgsql-general Subject: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569

POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)

2019-05-24 Thread Julie Nishimura
Hello, We have an issue with fsm_relations utilization reaching 99%, I was able to vacuum a handful of tables, but it wasn't enough to make a noticeable difference. I think at this point we will need to increase the number of fsm_relations from 80,000 to 100,000 which will require a restart.

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
nd control) default_tablespace to the emptiest volume... Thanks everybody... From: Adrian Klaver Sent: Wednesday, May 15, 2019 3:35 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On 5/

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
to public; From: Adrian Klaver Sent: Wednesday, May 15, 2019 3:22 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On 5/15/19 3:01 PM, Julie Nishimura wrote: > No, I did not have them at all in my

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
postgresql On 5/15/19 2:57 PM, Julie Nishimura wrote: This puzzles me too! I found that bizarre myself. What is even more interesting, we have about 80 databases, and all of them now have default_tablespace=vol4, except only one - "control" database. The only explanation I would hav

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
that makes sense, thanks! From: Adrian Klaver Sent: Wednesday, May 15, 2019 3:15 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On 5/15/19 3:01 PM, Julie Nishimura wrote: > No

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
From: Adrian Klaver Sent: Wednesday, May 15, 2019 2:48 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On 5/15/19 2:45 PM, Julie Nishimura wrote: > Adrian, only first 3 (which are template0, postgres, control).

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
as created with the explicit tablespace in it?... I dont have any other good explanations... From: Adrian Klaver Sent: Wednesday, May 15, 2019 2:18 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablesp

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
+ From: Adrian Klaver Sent: Wednesday, May 15, 2019 2:11 PM To: Julie Nishimura; David G. Johnston Cc: pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On 5/15/19 1:57 PM, Julie Nishimura wrote: > This puzzles me too! I found that bizarre myself. W

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
esday, May 15, 2019 1:23 PM To: Julie Nishimura Cc: Adrian Klaver; pgsql-general@lists.postgresql.org Subject: Re: default_tablespace in 8.3 postgresql On Wed, May 15, 2019 at 1:01 PM Julie Nishimura mailto:juliez...@hotmail.com>> wrote: However, since I have modified template1 (and mo

Re: default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
, May 15, 2019 12:47 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: default_tablespace in 8.3 postgresql On 5/15/19 12:39 PM, Julie Nishimura wrote: > Hello, I have created new tablespace on a new drive yesterday and > modified some of existing databases

default_tablespace in 8.3 postgresql

2019-05-15 Thread Julie Nishimura
Hello, I have created new tablespace on a new drive yesterday and modified some of existing databases to use this tablespace as default, like this: ALTER DATABASE xxx SET default_tablespace = 'vol4'; So, this command did not physically move any existing tables/indices on the database xxx, but

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
| f| f (1 row) From: Adrian Klaver Sent: Monday, May 13, 2019 5:52 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: does postgresql backup require additional space on disk On 5/13/19 5:39 PM, Julie Nishimura wrote

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
: Monday, May 13, 2019 5:09 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: does postgresql backup require additional space on disk On 5/13/19 4:53 PM, Julie Nishimura wrote: > Adrian, > I think in my first emails in this chain about the effort i did

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
t" part got lost in emails...:) From: Adrian Klaver Sent: Monday, May 13, 2019 4:33 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: does postgresql backup require additional space on disk On 5/13/19 3:27 PM, Julie Nishimura wrote:

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
Klaver Sent: Monday, May 13, 2019 2:47 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: does postgresql backup require additional space on disk On 5/13/19 1:26 PM, Julie Nishimura wrote: > Adrian, thanks for your reply. Couple of clarifications/questions

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
at 07:33:58PM +, Julie Nishimura wrote: > We have added new disk volume and about to introduce new > tablespace using this additional disk space. After that, I am > going to alter all user dbs (and template db as well) by > runnig the following command: > > CREATE TABLESPACE vol

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
e to point to the newly volume and reload postgresql.conf default_tablespace temp_tablespaces Am I wrong here? Thanks, Julie From: Adrian Klaver Sent: Monday, May 13, 2019 1:10 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject

Re: does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
To: Julie Nishimura; pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: does postgresql backup require additional space on disk On 5/13/19 10:59 AM, Julie Nishimura wrote: > Hello, > we are almost out of disk space on one of our servers (99% full). If we > run pg_dump to a diff

does postgresql backup require additional space on disk

2019-05-13 Thread Julie Nishimura
Hello, we are almost out of disk space on one of our servers (99% full). If we run pg_dump to a diff location, does it require any additional disk space on our current server? I am asking, because on some other software, a backup might open transaction which keeps growing and eventually consume

Re: running out of disk space

2019-05-09 Thread Julie Nishimura
to extend vol3 instead of creating new tablespace on vol4 (if possible). If not, then what is my best bet? Thanks, Julie From: Alan Hodgson Sent: Thursday, May 9, 2019 9:15 AM To: Julie Nishimura; pgsql-general Subject: Re: running out of disk space On Thu, 2019-05

Re: postgresql 9.4 restart

2019-05-09 Thread Julie Nishimura
Thanks for your help, Adrian! From: Adrian Klaver Sent: Thursday, May 9, 2019 9:41 AM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: postgresql 9.4 restart On 5/9/19 8:10 AM, Julie Nishimura wrote: > Etc/UTC W

running out of disk space

2019-05-09 Thread Julie Nishimura
hello, We are running out of disk space, and we introduced new volume to it. I am about to create new tablespace X and alter user databases to set to this new tablespace X. So, all new tables will be created in X, but what about existing tables on previous volume? Its data will be split between

Re: postgresql 9.4 restart

2019-05-09 Thread Julie Nishimura
Etc/UTC From: Adrian Klaver Sent: Thursday, May 9, 2019 7:51 AM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org; pgsql-general Subject: Re: postgresql 9.4 restart On 5/8/19 4:35 PM, Julie Nishimura wrote: > Thanks again for your help. &g

Re: postgresql 9.4 restart

2019-05-08 Thread Julie Nishimura
after midnight (either from root or through puppet and restarted the server, because maybe it was close to max connections - just a guess). What do you think? -Julie N From: Adrian Klaver Sent: Wednesday, May 8, 2019 2:17 PM To: Julie Nishimura Cc: pgsql-gen

Re: postgresql 9.4 restart

2019-05-08 Thread Julie Nishimura
,"terminating connection due to administrator command","" 2019-05-07 00:08:28.060 UTC,"hitwise","hitwise_uk_stg",8558,"10.200.193.58:49246",5cd0cc20.216e,7,"idle",2019-05-07 00:06:56 UTC,,0,LOG,0,"disconnection: session time

postgresql 9.4 restart

2019-05-08 Thread Julie Nishimura
Hello, Our staging 9.4 postgresql has been running couple of weeks with no problem, but yesterday we saw this error from one of our services that connects to the staging DBs: FATAL: terminating connection due to administrator command; nested exception is org.postgresql.util.PSQLException:

Re: Pgadmin III

2019-05-03 Thread Julie Nishimura
Thanks! From: Tom Lane Sent: Friday, May 3, 2019 11:25 AM To: Julie Nishimura Cc: Adrian Klaver; pgsql-gene...@postgresql.org Subject: Re: Pgadmin III Julie Nishimura writes: > Hello, I am trying to connect to PostgreSQL 9.6.2 using PGAdmin III, and I

error fsm relations

2019-05-03 Thread Julie Nishimura
Guys, Do you know what does this message mean? POSTGRES_FSM_RELATIONS=CRITICAL: DB control (host:xxx) fsm relations used: 76628 of 8 (96%) Is this caused by someone deleting a bunch of old data and not vacuuming? Thanks! From: Julie Nishimura Sent

Pgadmin III

2019-05-03 Thread Julie Nishimura
Hello, I am trying to connect to PostgreSQL 9.6.2 using PGAdmin III, and I am getting this error: An error has occurred: Column not found in pgSet: rolcatupdate Do you know which version of Pgadmin should I use to avoid this? I am on windows 7. Thanks

Re: ERROR: operator class "gin__int_ops" does not exist for access method "gin"

2019-04-17 Thread Julie Nishimura
Thank you! All works now From: Adrian Klaver Sent: Wednesday, April 17, 2019 5:23 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org Subject: Re: ERROR: operator class "gin__int_ops" does not exist for access method "gin" On 4/

ERROR: operator class "gin__int_ops" does not exist for access method "gin"

2019-04-17 Thread Julie Nishimura
We migrated some tables from 8.3 postgresql to 9.4, and when I compared tables DDL between environments, I've noticed some indices are missing (majority of them are using GIN When I am taking 8.3 ddl for it: CREATE INDEX serp_test2 ON serp_test USING gin (domainids gin__int_ops); it

Re: text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
Thank you. Is there a way to find out if I have tables with tsvectors or indexes? I have hundreds of tables... From: Tom Lane Sent: Tuesday, April 16, 2019 9:45 PM To: Julie Nishimura Cc: Adrian Klaver; pgsql-general@lists.postgresql.org Subject: Re: text search

Re: text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
: Adrian Klaver Sent: Tuesday, April 16, 2019 5:14 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org Subject: Re: text search configuration missing while migration from 8.3 to 9.4 On 4/16/19 4:22 PM, Julie Nishimura wrote: > Adrian, Hitwise is the name of our company. Unfortunately, it d

Re: text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
. Perhaps, some functions need to be migrated as well, just do not know where to look... From: Adrian Klaver Sent: Tuesday, April 16, 2019 3:08 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org Subject: Re: text search configuration missing while

Re: text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
ian Klaver Sent: Tuesday, April 16, 2019 1:02 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org Subject: Re: text search configuration missing while migration from 8.3 to 9.4 On 4/16/19 12:02 PM, Julie Nishimura wrote: > Correction: tables are not missing, but some records from the tab

Re: text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
Correction: tables are not missing, but some records from the tables missing. How can we migrate them properly from 8.3 to 9.4? Sent from my iPhone On Apr 16, 2019, at 10:32 AM, Julie Nishimura mailto:juliez...@hotmail.com>> wrote: Hello, we recenlty created fresh install of 9.4, creat

text search configuration missing while migration from 8.3 to 9.4

2019-04-16 Thread Julie Nishimura
Hello, we recenlty created fresh install of 9.4, created new dbs, and pg_dumped and restored correspondent dbs from 8.3 (pg_dump|psql, being on target). Now we've noticed that some of `pg_catalog.pg_ts_config` and pg_ts_dict tables are missing, making text search on 9.4 very slow. We tried to

Re: master-> 2 hot standbys

2019-03-11 Thread Julie Nishimura
Monday, March 4, 2019 5:08 PM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org Subject: Re: master-> 2 hot standbys On Mar 4, 2019, at 1:59 PM, Julie Nishimura mailto:juliez...@hotmail.com>> wrote: Hello, Our current master 9.2 has two active standbys. Can you please help me out

Re: migration of 100+ tables

2019-03-10 Thread Julie Nishimura
Oh, this is great news! Yay, thanks! From: Adrian Klaver Sent: Sunday, March 10, 2019 6:28 PM To: Julie Nishimura; pgsql-general@lists.postgresql.org Subject: Re: migration of 100+ tables On 3/10/19 5:53 PM, Julie Nishimura wrote: > Hello friends, I will n

migration of 100+ tables

2019-03-10 Thread Julie Nishimura
Hello friends, I will need to migrate 500+ tables from one server (8.3) to another (9.3). I cannot dump and load the entire database due to storage limitations (because the source is > 20 TB, and the target is about 1.5 TB). I was thinking about using pg_dump with customized -t flag, then use

DDL for database creation

2019-03-08 Thread Julie Nishimura
Hello psql friends, Is there a way to reconstruct DDL for creation of existing databases? For example, I need to create dev environment for some (not all) of our existing databases, and I would like to keep the same encoding, connection limit (if anything was specified), etc. Is there a way to

Re: partial data migration

2019-03-07 Thread Julie Nishimura
ism with "--jobs". On 3/7/19 8:11 PM, Julie Nishimura wrote: Ron, thanksagain. In case if I need to migrate the entire tables, I should be able to use pg_dump and pg_restore for certain tables, even between different versions, right? In case if I need to mi

Re: partial data migration

2019-03-07 Thread Julie Nishimura
s relevant target table. You should also think about a program named pg_bulkload. https://www.postgresql.org/docs/9.6/sql-copy.html https://www.postgresql.org/docs/8.3/sql-copy.html On 3/7/19 7:53 PM, Julie Nishimura wrote: Thank you Ron! What if dev environment is on 9.6, but prod is on v

Re: partial data migration

2019-03-07 Thread Julie Nishimura
Thank you Ron! What if dev environment is on 9.6, but prod is on version 8.3? Will posgtres_fdw still be the right option? Sent from my iPhone On Mar 6, 2019, at 11:57 PM, Ron mailto:ronljohnso...@gmail.com>> wrote: On 3/7/19 1:54 AM, Julie Nishimura wrote: Hello psql friends, W

partial data migration

2019-03-06 Thread Julie Nishimura
Hello psql friends, We need to migrate only 6 months worth of data from one instance to another. What would be the easiest way to do it? In Oracle, I would set up dblink. What about postgresql? Thank you!

Re: write on standby

2019-03-05 Thread Julie Nishimura
Thank you. Are you going to have any presentations on Postgresql conference in NYC soon? From: Andreas Kretschmer Sent: Tuesday, March 5, 2019 9:16 PM To: pgsql-general@lists.postgresql.org Subject: Re: write on standby Am 06.03.19 um 00:34 schrieb Julie

write on standby

2019-03-05 Thread Julie Nishimura
Hello there, Is it possible for a test app to connect to the standby dB of an active-Standby dB pair? While both continue to be connected and replicating? What if it’s needed to write tmp tables that are later dropped? Can it be done in hot standby scenario on standby? Version is 9.6.2 Thanks

Re: master-> 2 hot standbys

2019-03-04 Thread Julie Nishimura
Thank you. I made a mistake, our version is PostgreSQL 9.6.2 From: Ben Chobot Sent: Monday, March 4, 2019 5:08 PM To: Julie Nishimura Cc: pgsql-general@lists.postgresql.org Subject: Re: master-> 2 hot standbys On Mar 4, 2019, at 1:59 PM, Julie Nishim

master-> 2 hot standbys

2019-03-04 Thread Julie Nishimura
Hello, Our current master 9.2 has two active standbys. Can you please help me out with the right sequence of events if we would like to promote one of current standbys to master and convert master to standby? Your help is appreciated. Thanks, Julie From: Julie

validation of hot standby

2019-02-28 Thread Julie Nishimura
Hello, We set up our hot standby by putting master into archive mode and issuing pg_basebackup command, and we are about to start our hot standby instance. What are the things you suggest for validation (assuming it will come up cleanly) and replication caught up? What do I need to check in

automated refresh of dev from prod

2019-02-27 Thread Julie Nishimura
Hello everybody, I am new to postgresql environment, but trying to get up to speed. Can you please share your experience on how you can automate refreshment of dev environment on regular basis (desirably weekly), taking for consideration some of prod dbs can be very large (like 20+ TB Any

replication topography

2019-02-26 Thread Julie Nishimura
Hello everybody, I've inherited big complicated postgresql kingdon with multiple servers in it, some of them are replicated, some of them are not, and there is Bunch of them. What would you be your suggestion, how should I start my investigation what is master, what is replicas, is there any

Re: adding more space to the existing 9.6 cluster

2019-02-21 Thread Julie Nishimura
r intensively used tables. I hope I'm clear enough! Feel free to ask for clarification or add new elements to go further on! Hope this helps, Have a nice day, Thomas Le mer. 20 févr. 2019 à 21:37, Ron mailto:ronljohnso...@gmail.com>> a écrit : On 2/19/19 5:02 PM, Julie Nishimura wrote: Hello, we

Barman disaster recovery solution

2019-02-20 Thread Julie Nishimura
Does anyone use this solution? any recommenations? Thanks!

adding more space to the existing 9.6 cluster

2019-02-20 Thread Julie Nishimura
Hello, we are almost out of space on our main data directory, and about to introduce new directory to our cluster. We cannot use multiple physical disks as a single volume, so we are thinking about creation new tablespace. Our current data_directory shows as follows: /data/postgresql/9.6/main

adding more space to the existing 9.6 cluster

2019-02-19 Thread Julie Nishimura
Hello, we are almost out of space on our main data directory, and about to introduce new directory to our cluster. We cannot use multiple physical disks as a single volume, so we are thinking about creation new tablespace. Our current data_directory shows as follows: /data/postgresql/9.6/main