Re: [GENERAL] VM-Ware Backup of VM safe?

2017-09-22 Thread Klaus P. Pieper
. As far as I am aware, MS SQL server provides this mechanism while PostgreSQL does not. And for this reason, I would certainly encourage using PostgreSQL's backup mechanisms for business critical applications. I just spoke with several admins who were not aware of these differences betwee

Re: [SPAM] Re: [GENERAL] VM-Ware Backup of VM safe?

2017-09-20 Thread Klaus P. Pieper
ed space for a complete backup. But you are right: if you can ensure that pg_basebackup has finished prior to making a backup of the virtual machine, this is certainly safe. Klaus --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --

Re: [GENERAL] VM-Ware Backup of VM safe?

2017-09-20 Thread Klaus P. Pieper
n the snapshot. I may be wrong, but my understanding of a VSS writer is that all transaction and log files are flushed to disk prior tot he snapshot. Klaus --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- Sent via pgsql-general mai

Re: [GENERAL] VM-Ware Backup of VM safe?

2017-09-20 Thread Klaus P. Pieper
r is most likely "no, it is not safe". Regards, Klaus --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] pg_upgrade --link on Windows

2017-06-14 Thread Klaus P. Pieper
(introduced with server 2012 and providing some new features like automatic integrity checks, clustering etc.) does no longer provide hard links. Are hard links used anywhere else but in pg_upgrade? Klaus -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

[GENERAL] LIMIT clause slowing down query in some cases, accelerating in others

2017-04-26 Thread Klaus P. Pieper
Running PostgreSQL 9.6 on a Windows Server. Table "t" is kind of a materialized view with > 100 columns and 2.24 Mio rows. Queries are generated by an ORM framework - fairly difficult to modify. Vacuum analyze was carried out - no impact. The framework generates queries like this: sel

Re: [GENERAL] Why is this functional index not used?

2017-03-21 Thread Klaus P. Pieper
A similar result was achieved by return a dummy ID from the function for records without country. Any idea why the functional index does not work in a LEFT JOIN query? Thanks Klaus Von: Jeff Janes [mailto:jeff.ja...@gmail.com] Gesendet: Dienstag, 21. März 2017 08:22 An: Klaus P.

[GENERAL] Why is this functional index not used?

2017-03-20 Thread Klaus P. Pieper
l.conf without luck. A sequential scan on the order table alone is carried out in 15 ms. Thanks for any idea. Klaus

[GENERAL] pgadmin III for PostgreSQL 9.6

2016-10-06 Thread Klaus
atest version of pgadmin III seems to work after a couple of error messages during the start. Thanks Klaus

[GENERAL] Toolchain for extensions (language C, Visual Studio 2013 / 2015)

2016-05-16 Thread Klaus P. Pieper
I'm using the setting "Toolchain: Visual Studio 2010" for C language extensions. Is this still correct for the current versions? Thanks Klaus

[GENERAL] ON CONFLICT DO for UPDATE statements

2016-05-12 Thread Klaus P. Pieper - ibeq GmbH
- Can triggers be used to catch constraint violations? My least preferred solution would by the replication software handling an exception. Thanks Klaus

[GENERAL] ON CONFLICT DO for UPDATE statements

2016-05-12 Thread Klaus P. Pieper
A rule? - Can triggers be used to catch constraint violations? My least preferred solution would by the replication software handling an exception. Thanks Klaus --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

Re: [GENERAL] Allow disabling folding of unquoted identifiers to lowercase

2016-05-08 Thread Klaus P. Pieper
reSQL. For me is the way Sybase works is just more convenient: CREATE MyTable (MyColumn varchar); creates a camel cased table MyType and field MyColumn. SELECT * FROM SYSCATALOG gives MyTable. This is better readable when you use long table / fiel names. The user can then use whatever he wants

[GENERAL] Do parallel queries work with only dblink not with fdw?

2016-05-04 Thread Klaus P.
experience is however that the statements are carried out sequentially. Thanks Klaus Pieper

Re: [GENERAL] Can't drop a view ("view does not exist") that has an entry in "INFORMATION_SCHEMA.views"

2014-11-17 Thread Klaus Hofeditz ]project-open[
Hi Guillaume  splendid - tx! ./k On 17/11/2014 22:53, Guillaume Lelarge wrote: Le 17 nov. 2014 22:49, "Klaus Hofeditz ]project-open[" <klaus.hofed...@project-open.com> a écrit : > > Hi guys, >

[GENERAL] Can't drop a view ("view does not exist") that has an entry in "INFORMATION_SCHEMA.views"

2014-11-17 Thread Klaus Hofeditz ]project-open[
where table_name like '%Trans%';    table_name  TransTasksCube (1 row) Appreciate your help! Klaus -- Klaus Hofeditz Co-Founder ]project-open[ Web: http://www.project-open.com http://

Re: [GENERAL] permission denied for relation

2014-01-30 Thread Klaus Ita
select current_user; On Thu, Jan 30, 2014 at 3:53 PM, Adrian Klaver wrote: > On 01/30/2014 06:13 AM, Ovid wrote: > >> First: CREATE ROLE and CREATE DATABASE; >>> >> >> After: CREATE TABLEs; >>> >> >> Last: GRANT SELECT,INSERT,UPDATE and DELETE. >>> >> >> OK, I dropped the database. Since I hav

Re: [GENERAL] postgre restarts in short period

2013-08-06 Thread Klaus Ita
well, in your statement, the parameters are missing. 2013-08-05 10:18:01 STATEMENT: select distinct count(*) as rownum from minta as m join partner as p on ( m.partnerid = p.partnerid ) join mintajelleg as mj on ( mj.mintajellegid = m.mintajellegid ) where m.status IN and m.mintajellegid =

Re: [GENERAL] Recovery_target_time misinterpreted?

2013-08-02 Thread Klaus Ita
No, it's super frustrating. While I do the recovery, it says it reaches a consistent recovery state, and i just cannot find a way how to convince pg to stop at that state: 2013-08-02 09:23:25 GMT DEBUG: postgres: PostmasterMain: initial environment dump: 2013-08-02 09:23:25 GMT DEBUG:

Re: [GENERAL] Recovery_target_time misinterpreted?

2013-07-31 Thread Klaus Ita
29:09 UTC <%> LOG: database system is ready to accept connections well, that does not indicate anything for me. On Wed, Jul 31, 2013 at 9:37 AM, Albe Laurenz wrote: > Klaus Ita wrote: > > I have restored a Database Cluster with a recovery_target_time set to > > > >

[GENERAL] Recovery_target_time misinterpreted?

2013-07-31 Thread Klaus Ita
4.7.2-5) 4.7.2, 64-bit (1 row) somewhat irrelevant, as my question is more general? thank you for your help! klaus

Re: [GENERAL] Fwd: corrupted files

2013-07-30 Thread Klaus Ita
7;s an lsi controller, ... not fond of it, but it's not bad stuff. lg,k On Tue, Jul 30, 2013 at 5:29 PM, bricklen wrote: > > On Tue, Jul 30, 2013 at 8:18 AM, Klaus Ita wrote: > >> >> thank you! It turned out that really there was a corruption in the main >> pg server

Re: [GENERAL] Fwd: corrupted files

2013-07-30 Thread Klaus Ita
7;d be safe. lg,k On Tue, Jul 30, 2013 at 5:13 PM, bricklen wrote: > On Mon, Jul 29, 2013 at 11:50 PM, Klaus Ita wrote: > >> I am trying to remember, there was a tool that plotted the contents of >> the wal_files in a more readable format ... >> > > xlogdump? > > https://github.com/snaga/xlogdump >

Re: [GENERAL] Fwd: corrupted files

2013-07-29 Thread Klaus Ita
ly session-logging/statistics data). I am trying to remember, there was a tool that plotted the contents of the wal_files in a more readable format ... lg,k On Tue, Jul 30, 2013 at 8:23 AM, raghu ram wrote: > > On Tue, Jul 30, 2013 at 4:07 AM, Klaus Ita wrote: > >> Sorry for cros

[GENERAL] Recovery failure

2013-07-29 Thread Klaus Ita
should cause streaming replication to # end (i.e., failover). trigger_file = '/var/lib/postgresql/9.1/main/stop_replication_trigger' cannot currently to psql 'select version()' as the beast won't startup ;(, but it's ii postgresql-9.1 9.1.9-1 amd64object-relational SQL database, version 9.1 server thank you, klaus

[GENERAL] Fwd: corrupted files

2013-07-29 Thread Klaus Ita
.pl --file_path=%p --file_name=%f --work_dir=/var/tmp/ --destination_hosts= va-pg-back...@dx.ipv6.ex.net --destination_sftp_hosts=u671@ipv6.u71.y--destination_hosts= va-pg-back...@y7.ipv6.ex.net' max_wal_senders = 3 # max number of walsender processes wal_keep_segments = 50 # in logfile segments, 16MB each; 0 disables thx in advance, klaus

[GENERAL] Are partitions getting pruned?

2013-04-11 Thread ROBERT KLAUS
Postgres 8.4.9 on CentOS I partitioned some tables over the weekend by month using a date field as the partitioning column. Table inheritance was used and all indexes on the parent were created on the partitions. constraint_exclustion = partition. My question is, are partitions really

[GENERAL] Are partitions getting pruned?

2013-04-08 Thread Robert Klaus
Postgres 8.4.9 on CentOS I partitioned some tables over the weekend by month using a date field as the partitioning column. Table inheritance was used and all indexes on the parent were created on the partitions. constraint_exclustion = partition. My question is, are partitions really gett

[GENERAL] cleanup of pgsql_tmp directory

2013-02-05 Thread ROBERT KLAUS
Updating: I found two other sessions running the same query. Once I killed them the pg_tmp files were automatically deleted. >> This morning we found out that our filesystem was at 98% and filling quickly. We immediately found one query running for a long time and saw 1500+ files in the pg

Re: [GENERAL] cleanup of pgsql_tmp directory

2013-02-05 Thread Robert Klaus
, February 05, 2013 12:07 PM To: Robert Klaus Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] cleanup of pgsql_tmp directory "Robert Klaus" writes: > This morning we found out that our filesystem was at 98% and filling > quickly. We immediately found one query running for

[GENERAL] cleanup of pgsql_tmp directory

2013-02-05 Thread Robert Klaus
This morning we found out that our filesystem was at 98% and filling quickly. We immediately found one query running for a long time and saw 1500+ files in the pgsql_tmp directory we could attribute to it. I killed using pg_terminate_backend and some space was reclaimed, but the temporary f

Re: [GENERAL] Large number of rows in pg_type and slow gui (pgadmin) refresh

2013-01-03 Thread Robert Klaus
, 2013 11:31 AM To: pgsql-general@postgresql.org Subject: Re: [GENERAL] Large number of rows in pg_type and slow gui (pgadmin) refresh Robert Klaus wrote on 03.01.2013 16:50: > We have 36,000+ rows returned by " SELECT oid, format_type(oid, > typtypmod) AS typname FROM pg_type". >

[GENERAL] Large number of rows in pg_type and slow gui (pgadmin) refresh

2013-01-03 Thread Robert Klaus
We have 36,000+ rows returned by " SELECT oid, format_type(oid, typtypmod) AS typname FROM pg_type". My manager says this is only a small number compared to what is expected by next summer. When I run this select statement on the database server it returns in under 1 second but it takes a m

Re: [GENERAL] Relation does not exist

2004-08-10 Thread Rob Klaus
, inserts, updates) Taking your advice on upgrading both OS and pg version. I'll be back if that does not solve the issue ;-) Thanks for your time. -Rob -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 2:30 PM To: Rob Klaus Cc: [EMAIL PROT

[GENERAL] Experience with PL/xx?

2003-10-27 Thread Klaus P. Pieper
on system? Are there any PostgreSQL specifics or limitations? Significant differences between these two languages? Any input will be apprecíated, Klaus ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate