Re: [GENERAL] Hot standby and xlog on a ramdisk

2016-02-04 Thread Tore Halvorsen
standby slave should be ok in all cases as long as the archive and master retains all wal files that are not applied? I maintain a fairly active database (>100GB of wal files every day) and putting the wal files on a ramdisk (only for the slaves of course) helped quite a lot. -- Eld på åren og sol

[GENERAL] Hot standby and xlog on a ramdisk

2016-02-04 Thread Tore Halvorsen
Hi, Can a hot standby run correctly with the xlog-files on a ramdisk? -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] Tore Halvorsen || +052 0553034554

Re: [GENERAL] Hot standby and xlog on a ramdisk

2016-02-04 Thread Tore Halvorsen
> > On 02/04/2016 09:15 AM, Tore Halvorsen wrote: > > Can a hot standby run correctly with the xlog-files on a ramdisk? > > > > Yes, but, if you lose any, you'll need to rebuild the standby. > > Even if the master and archive contain all the wal files? -- Eld på

Re: [GENERAL] Problem with pg_basebackup and streaming replication. (9.2.3 / win64)

2013-04-02 Thread Tore Halvorsen
Ah, this was related to file permissions. The service is running as NETWORK SERVICE, but this user didn't have access to the tablespace-directory. On Mon, Apr 1, 2013 at 3:14 PM, Adrian Klaver adrian.kla...@gmail.comwrote: On 03/31/2013 04:47 PM, Tore Halvorsen wrote: Good idea, but both

[GENERAL] Problem with pg_basebackup and streaming replication. (9.2.3 / win64)

2013-03-31 Thread Tore Halvorsen
perfectly, but number two just fails with this - any ideas? -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2013 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Getting all entries in a single block with ctid

2012-01-17 Thread Tore Halvorsen
og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2012 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Getting all entries in a single block with ctid

2012-01-17 Thread Tore Halvorsen
fegen og fjåg. [Jøtul] demo 2012 Tore Halvorsen || +052 0553034554

[GENERAL] Getting all entries in a single block with ctid

2012-01-16 Thread Tore Halvorsen
fegen og fjåg. [Jøtul] demo 2012 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Getting all entries in a single block with ctid

2012-01-16 Thread Tore Halvorsen
On Mon, Jan 16, 2012 at 3:20 PM, Tomas Vondra t...@fuzzy.cz wrote: [...] WHERE ctid = '(123,0)'::tid AND ctid '(124,0)'::tid Ah, forgot a point here - without doing a sequential scan. -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2012 Tore Halvorsen || +052

Re: [GENERAL] Getting all entries in a single block with ctid

2012-01-16 Thread Tore Halvorsen
one can be scheduled for clustering... But maybe someone will recommend a better solution. Hopefully - thanks anyway :) -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2012 Tore Halvorsen || +052 0553034554

[GENERAL] Unnaccent dictionary

2011-10-19 Thread Tore Halvorsen
Hi, With postgresql 9.1, the last two entries of unaccent.rules are ё е Ё Е 0xd191 = 0xd0b5 0xd081 = 0xd095 Shouldn't these be translated into 0x45 and 0x65 instead? -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Relative performance of prefix and suffix string matching

2011-09-23 Thread Tore Halvorsen
)) - Bitmap Index Scan on foo_reverse_idx (cost=0.00..4.55 rows=1 width=0) Index Cond: ((reverse(text) ~=~ '000f'::text) AND (reverse(text) ~~ '000g'::text)) ... at least this works for me :) -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore

[GENERAL] Index usage on OR queries

2011-08-31 Thread Tore Halvorsen
... The actual case is slightly more complex and uses more tables - this is mostly a way to find updated data. -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Index usage on OR queries

2011-08-31 Thread Tore Halvorsen
the query. -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Index usage on OR queries

2011-08-31 Thread Tore Halvorsen
åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554

Re: [GENERAL] Using column aliasses in the same query

2011-04-20 Thread Tore Halvorsen
had just written some queries where a shortcut like the above would have made it slighly easier on the eyes and misinterpreted the discussion. -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554 -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Using column aliasses in the same query

2011-04-18 Thread Tore Halvorsen
Tore Halvorsen || +052 0553034554 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Application Stack Builder and Slony

2011-03-15 Thread Tore Halvorsen
Hi, Who maintains the Slony-version that is accessible from Application Stack Builder on windows? Would be nice to get the version (for pg 8.4) updated to Slony 2.0.6... -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2011 Tore Halvorsen || +052 0553034554 -- Sent via

Re: [GENERAL] Application Stack Builder and Slony

2011-03-15 Thread Tore Halvorsen
On Tue, Mar 15, 2011 at 12:54 PM, Raymond O'Donnell r...@iol.ie wrote: On 15/03/2011 11:41, Tore Halvorsen wrote: Who maintains the Slony-version that is accessible from Application Stack Builder on windows? It's maintained by EnterpriseDB as part of the one-click installers. Ok, I'll post

Re: [GENERAL] Index on immutable function call

2010-01-19 Thread Tore Halvorsen
og fjåg. [Jøtul] demo 2010 Tore Halvorsen || +052 0553034554 -- 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] Index on immutable function call

2010-01-19 Thread Tore Halvorsen
, this_is_a_long_transformation(data2))); SELECT * FROM indexed_table where compare(data1, this_is_a_long_transformation(data2)) in (0, 1); // for greater-equal -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2010 Tore Halvorsen || +052 0553034554 -- Sent via pgsql-general mailing list (pgsql-general

[GENERAL] pg_stat_statements and slony

2009-10-09 Thread Tore Halvorsen
Hi, Is there a way to exclude all queries from a specific user, or only log queries from a specific user in pg_stat_statements? The slony/replication user fills all the entries more or less immediately. -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2009 Tore Halvorsen

[GENERAL] citext like query and index usage

2009-09-22 Thread Tore Halvorsen
) Index Cond: (citext = '9cb65689f035766eb69ed615afd4'::citext) Total runtime: 0.558 ms So, is there any way to get the like queries to use the index? -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] demo 2009 Tore Halvorsen || +052 0553034554 -- Sent via pgsql-general mailing

Re: [GENERAL] citext like query and index usage

2009-09-22 Thread Tore Halvorsen
On Tue, Sep 22, 2009 at 8:49 PM, Alvaro Herrera alvhe...@commandprompt.com wrote: Tore Halvorsen escribió: Hi, Is it possible to use an index for like queries on a citext column? I'm using pg 8.4.1 on windows - with no changes to the default configuration. For example: CREATE TABLE test