[GENERAL] Index Only Scan and Heap Fetches

2017-07-18 Thread Mikhail
st | configuration file work_mem | 162MB | configuration file (46 rows) Regards, Mikhail

[GENERAL] Re: [GENERAL] Significant discrepancy in index cost estimation

2017-06-30 Thread Mikhail
; to 1000. That gave me the value of estimated number of rows for subscr_param_pkey closer to the real value (est.64, real 30) which affected the execution plan in the right way. >Thursday, June 29, 2017 7:21 PM +03:00 from Mikhail <bem...@mail.ru>: > > >Hi guys, >

[GENERAL] [GENERAL] Significant discrepancy in index cost estimation

2017-06-29 Thread Mikhail
of the number of rows to return (est. 923 - real 30).   And my question:   1. am i right in my hypothesis?   2. is there a way to affect the cost evaluation in my case to help postgresql choose the right execution plan?   3. is there a way to fix this query and not to break the execution of other queries?   ps: running "analyze" on both tables doesn't affect the result pps: all "cost" parameters are in their default values: cpu_index_tuple_cost, cpu_operator_cost, cpu_tuple_cost, random_page_cost, seq_page_cost.   Thanks, Mikhail --

[GENERAL] Re: pg_upgrade 9.0 to 9.6

2016-12-14 Thread Mikhail
0 + fixes 9.4.10 --> 9.6.1 >Wednesday, December 14, 2016 12:55 PM +03:00 from Thomas Kellerer ><spam_ea...@gmx.net>: > >Mikhail schrieb am 13.12.2016 um 10:57: >> Should i check all the production environments for the problems, >> mentioned in all interim versions re

[GENERAL] Re[2]: [GENERAL] pg_upgrade 9.0 to 9.6

2016-12-14 Thread Mikhail
John, thanks! Your approach significantly reduces the number of checks. >Вторник, 13 декабря 2016, 13:34 +03:00 от John R Pierce <pie...@hogranch.com>: > >On 12/13/2016 1:57 AM, Mikhail wrote: >> Should i check all the production environments for the problems, >&g

[GENERAL] pg_upgrade 9.0 to 9.6

2016-12-13 Thread Mikhail
6.1) or there is another quick way to check if i should apply some additional actions to standard pg_upgrade+stats_collect? Regards, Mikhail Balayan

[GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
s the same: no action performing by process. The situation is reproducible: i can interrupt the process, run index renaming again and i'll get the same situation, described above. Is there any ideas what is happening inside the database? Regards, Mikhail

[GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
Sorry for my previous message, it went to wrong thread. Creating this as a new one. I'm running supposedly an easy operation - renaming index and my session hangs on it. pg_stat_activity shows that process is active and is waiting for lock: =# select application_name, waiting, state, query

[GENERAL] Re[2]: [GENERAL] hanged session on index creation

2015-10-13 Thread Mikhail
ore; 2. they restore with their locks on database objects; 3. if you're restoring using PITR, you should rollback all the prepared transactions after database start. Thank you, Tom. Regards, Mikhail. >Вторник, 13 октября 2015, 9:29 -04:00 от Tom Lane <t...@sss.pgh.pa.us>: > >=?UTF-

[GENERAL] How to get cursor query

2015-08-18 Thread Mikhail
Hi, I have a long executing query via foreign data wrapper and on the remote server i can see that the query is fetching data from the cursor =# select application_name, state, query from pg_stat_activity where pid = 15455; application_name │ state │ query

[GENERAL] Frontend unexpectedly terminates connection

2014-01-22 Thread Mikhail Pryakhin
(QueryExecutorImpl.java:257) Could you please help me to figure out the reason of such a failure. (This bug happens once per 10 successful cases.) Thanks in advance! Best regards, Mike Pryakhin. -- Regards, Mikhail Pryakhin.

[GENERAL] numeric to ipv6 inet

2013-08-23 Thread Mikhail Puzanov
. Is there any reasonable way to do it in sql/pgplsql? Thanks in advance. -- Best regards, Mikhail V. Puzanov.

[GENERAL] problem installing RPMs on RHEL5

2008-07-23 Thread Garber, Mikhail
I installed Postgresql from RedHat 5EL RPMS from the site. When I try to start it as a service, it fails and pgstartup.log contains one record per startup attempt stating: runuser: warning: cannot change directory to /dev/null: Not a directory. Thanks!

Re: [GENERAL] Primary Key

2007-11-26 Thread Garber, Mikhail
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Broersma Jr Sent: Monday, November 26, 2007 10:28 AM To: Joshua D. Drake Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Primary Key --- On Mon, 11/26/07, Joshua D. Drake [EMAIL

Re: [GENERAL] replication in Postgres

2007-11-26 Thread Garber, Mikhail
So what is the state-of-the-art in the Postgresql world if I _do_ want synchronous replication? 2-phase commit from the client application? Any success/horror stories about doing it in Java? ---(end of broadcast)--- TIP 6: explain analyze is

[GENERAL] Read-only availability of a standby server?

2007-11-21 Thread Garber, Mikhail
In the high-availabilty situation with a warm standby, is it possible (or planned) to be able to make standby readable? This is a new feature in Oracle 11 and it is very important for a project I am working on. ---(end of broadcast)--- TIP 6:

[GENERAL] Postgresql and resource isolation

2007-11-15 Thread Garber, Mikhail
Hello, We are considering using Postgresql for rather large project and I have questions about where it stands in respect to the following. Consider these two features already found in major commercial products. A) resource governor - the ability to configure how much resources (IO per

Re: [GENERAL] Using NOTIFY... Slow Client Querys

2004-02-16 Thread Mikhail Terekhov
. It is a classical multitask bottleneck problem. Regards, Mikhail Terekhov ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through

Re: [GENERAL] Re: Bad book review

2001-02-14 Thread Mikhail V. Majorov
Matt Friedman wrote: I have it and have found it very useful. I think charachter about Functions and Triggers too small. Server-side functions are very impotant for check input information and integrity of database. Best regards, Mik

[GENERAL] Parameters if trigger...

2001-02-14 Thread Mikhail V. Majorov
Hi all! May I use function with parameters with triggers? When I try it I have error: "Can't find function ..". Is it normal? Postre can't find my function. Why? create function mytest(text) returns opaque as ' declare parma1 like as $1; begin return NEW; end; '

[GENERAL] VACUUM

2000-10-04 Thread Mikhail Terekhov
Hi, Is it possible to run VACUUM ANALYZE while other backends are running, or should I shutdown them before vacuuming? Regards, Mikhail

[GENERAL] NOTIFY from PL/pgSQL trigger procedure

2000-08-10 Thread Mikhail Terekhov
NULL; END; ' LANGUAGE 'plpgsql'; CREATE TRIGGER notify_trigger AFTER INSERT OR UPDATE ON test FOR EACH ROW EXECUTE PROCEDURE send_notify(); But when this procedure is called I'm getting an error: ERROR: parser: parse error at or near "$1" What is wrong here? Regards, Mikhail

[GENERAL] Trouble with float4 after upgrading from 6.5.3 to 7.0.2

2000-08-07 Thread Romanenko Mikhail
MERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= Any help, tip or hint would be appreciated. Thank you, Mikhail.