On Sat, Jul 16, 2016 at 9:20 PM, Amit Kapila wrote:
> On Wed, Jul 13, 2016 at 8:56 AM, Michael Paquier
> wrote:
>> If we want to tackle the case I mentioned above, one way is to just
>> update minRecoveryPoint when an exclusive or a non-exclusive backup is
>> being taken by looking at their statu
On Sat, Jul 16, 2016 at 10:08 AM, Andres Freund wrote:
> On 2016-07-14 20:53:07 -0700, Andres Freund wrote:
>> On 2016-07-13 23:06:07 -0700, Andres Freund wrote:
>> > won't enter the branch, because HEAP_XMAX_LOCK_ONLY won't be set. Which
>> > will leave t_ctid and HEAP_HOT_UPDATED set differentl
On Mon, Jul 18, 2016 at 12:47 PM, Andres Freund wrote:
>
> as far as I can see that could mean that we perform hot updates when not
> permitted, because the tuple has been replaced since, including the
> pkey. Similarly, the wrong tuple lock mode could end up being used.
>
> Am I missing somethin
On Wed, Jul 13, 2016 at 6:18 PM, Andres Freund wrote:
> While, as in 6) above, removing linked lists from the relevant
> structures helps, it's not that much. Staring at this for a long while
> made me realize that, somewhat surprisingly to me, is that one of the
> major problems is that we are bo
Noah,
On Monday, July 18, 2016, Noah Misch wrote:
> On Fri, Jul 15, 2016 at 03:46:17PM -0400, Stephen Frost wrote:
> > * Noah Misch (n...@leadboat.com ) wrote:
> > > On Sat, Jul 09, 2016 at 12:55:33AM -0400, Stephen Frost wrote:
> > > > * Noah Misch (n...@leadboat.com ) wrote:
> > > > > This Pos
On Sat, Jul 16, 2016 at 4:46 AM, Stephen Frost wrote:
> Going through and doing testing now. Unfortunately, it doesn't look
> like adding in testing of tablespaces into the TAP tests would be very
> easy (the only TAP test that deals with tablespaces that I found was
> pg_basebackup and that look
On Sat, Jul 16, 2016 at 06:48:08PM -0400, Noah Misch wrote:
> On Wed, Jul 13, 2016 at 03:57:02PM -0500, Kevin Grittner wrote:
> > On Wed, Jul 13, 2016 at 12:48 PM, Andres Freund wrote:
> > > On 2016-07-13 10:06:52 -0500, Kevin Grittner wrote:
> > >> On Wed, Jul 13, 2016 at 7:57 AM, Amit Kapila
>
On Fri, Jul 15, 2016 at 02:38:54AM -0400, Noah Misch wrote:
> On Wed, Jul 13, 2016 at 02:14:06PM -0700, Andres Freund wrote:
> > That appears to not be mentioned in a comment, the commit message or the
> > the docs. I think this definitely needs to be prominently documented.
>
> [Action required w
On Fri, Jul 15, 2016 at 03:46:17PM -0400, Stephen Frost wrote:
> * Noah Misch (n...@leadboat.com) wrote:
> > On Sat, Jul 09, 2016 at 12:55:33AM -0400, Stephen Frost wrote:
> > > * Noah Misch (n...@leadboat.com) wrote:
> > > > This PostgreSQL 9.6 open item is past due for your status update.
> > >
On 18 July 2016 at 02:27, Robert Haas wrote:
> On Fri, Jul 15, 2016 at 4:28 AM, Craig Ringer
> wrote:
> > I don't think anyone's considering moving from multi-processing to
> > multi-threading in PostgreSQL. I really, really like the protection that
> the
> > shared-nothing-by-default process mo
On 2016-07-19 08:33:20 +0800, Craig Ringer wrote:
> On 19 July 2016 at 03:53, Andres Freund wrote:
>
> > On 2016-07-18 15:47:58 -0400, Robert Haas wrote:
> > > I think the risk profile is exactly the opposite of what you are
> > > suggesting here. If we provide an option to compile the server wi
On 19 July 2016 at 03:53, Andres Freund wrote:
> On 2016-07-18 15:47:58 -0400, Robert Haas wrote:
> > I think the risk profile is exactly the opposite of what you are
> > suggesting here. If we provide an option to compile the server with
> > all global variables converted to thread-local variab
On 07/18/2016 03:17 PM, Jim Nasby wrote:
On 7/17/16 2:22 PM, Petr Jelinek wrote:
I do agree that DDL "feels better" (which I think is what JD was
alluding too).
Yes and no. It reads better and is more clear to those who are not
developers or have a developer background which is, many in the
Mike Blackwell writes:
> On Sun, Jul 17, 2016 at 10:34 AM, Tom Lane wrote:
>> It occurs to me that we could also remove the update_process_title GUC:
>> what you would do is configure a process_title pattern that doesn't
>> include the %-escape for current command tag, and the infrastructure
>> c
On Sun, Jul 17, 2016 at 10:34 AM, Tom Lane wrote:
> It occurs to me that we could also remove the update_process_title GUC:
> what you would do is configure a process_title pattern that doesn't
> include the %-escape for current command tag, and the infrastructure
> could notice that that escape
On 7/17/16 2:22 PM, Petr Jelinek wrote:
I generally agree, but I think the more important question is "Why?". Is
it becouse DDL looks more like a sentence? Is it because arrays are a
PITA? Is it too hard to call functions?
For me it's many small reasons. I want to store it in catalogs and some
On 7/15/16 11:23 AM, Tom Lane wrote:
> Meh ... if we're using one-letter abbreviations for hour and second,
> using three letters for minute seems just arbitrarily inconsistent.
Well, it's the SI abbreviation.
We also need to think through localization options.
Using the 01:02:03.004 format woul
On 2016-07-18 15:47:58 -0400, Robert Haas wrote:
> I think the risk profile is exactly the opposite of what you are
> suggesting here. If we provide an option to compile the server with
> all global variables converted to thread-local variables, there's
> really not a whole lot that can break, AFA
On Sun, Jul 17, 2016 at 10:00 PM, Jan Wieck wrote:
>> I admit that it is risky, but I think there are things that could be
>> done to limit the risk. I don't believe we can indefinitely continue
>> to ignore the potential performance benefits of making a switch like
>> this. Breaking a thirty-ye
On Mon, Jul 18, 2016 at 10:03 AM, Greg Stark wrote:
> On Mon, Jul 18, 2016 at 2:41 PM, wrote:
>> And I will be really happy when there are processors with infinite
>> performance and memory with infinite size.
>>:)))
>
> Well for what it's worth there's no theoretical difference between
> mu
When I updated our copy of the IANA timezone library back in March
(commit 1c1a7cbd6), I noted that we ought to consider back-patching
those changes once they'd settled out in HEAD. Now that the code
has survived a couple of months of beta testing, I think it is time
to do that.
I went through th
On 2016-06-16 20:14, Tom Lane wrote:
As of HEAD you can exercise quite a lot of parallel query behavior
by running the regression tests with these settings applied:
force_parallel_mode = regress
max_parallel_workers_per_gather = 2-- this is default at the moment
min_parallel_relation_size =
On Mon, Jul 18, 2016 at 7:56 AM, Robert Haas wrote:
> The test case I used previously was an external sort, which does lots
> of retail pfrees. Now that we've mostly abandoned replacement
> selection, there will be many fewer pfrees while building runs, I
> think, but still quite a few while merg
Peter Eisentraut writes:
> On 7/15/16 6:13 PM, Tom Lane wrote:
>> We've talked before about how the regression tests should be circumspect
>> about what role names they create/drop, so as to avoid possibly blowing
>> up an installation's existing users during "make installcheck".
> I'm not partic
On Mon, Jul 18, 2016 at 11:00 AM, Antonin Houska wrote:
> While reading the logical decoding code I noticed a few supposedly mistyped
> comments, see the diff below.
>
Applied, thanks.
> Besides that, output_plugin_options argument of CreateInitDecodingContext
> function is unused, and the fu
On 7/15/16 6:13 PM, Tom Lane wrote:
> We've talked before about how the regression tests should be circumspect
> about what role names they create/drop, so as to avoid possibly blowing
> up an installation's existing users during "make installcheck".
I'm not particularly sure that that is a useful
Hi
>So I think as long as process and thread have different function in OS,
>use process like thread will have overhead in practice.
But There are other negative things. I think parallel oriented
library usually do not work with process.
So Jvm integration is not exception. It is regula
Hi
> In other words, there's no theoretical reason you couldn't have adapt
> a JVM to create a large shared memory segment using mmap or SysV
I think even if I was the leader in OS development, I could not
correctly answer your question.
So just let discuss.
Ok, I agree with you that there
Robert Haas writes:
> On Sat, Jul 16, 2016 at 11:38 AM, Tom Lane wrote:
>> I'm coming to the conclusion that the only thing that will make this
>> materially better in the long run is automatic enforcement of a convention
>> about what role names may be created in the regression tests. See my
>>
On Mon, Jul 18, 2016 at 10:19 AM, Greg Stark wrote:
> On Sun, Jul 17, 2016 at 1:55 PM, Robert Haas wrote:
>>On Wed, Jul 13, 2016 at 4:39 PM, Tom Lane wrote:
>>> I wonder whether we could compromise by reducing the minimum "standard
>>> chunk header" to be just a pointer to owning context, with t
Hi guys,
Thank you for feedbacks.
> I think that this is the job of a tool that aggregates things from
> pg_stat_statements. It's unfortunate that there isn't a good
> third-party tool that does that, but there is nothing that prevents
> it.
Right. We can do this if we aggregate it frequently
On Mon, Jul 18, 2016 at 10:05 AM, Tom Lane wrote:
> Jan Wieck writes:
> > In the meantime, would it be appropriate to backpatch the double linking
> > of memory context children at this time? I believe it has had plenty of
> > testing in the 9.6 cycle to be sure it didn't break anything.
>
> I'm
Greg Stark writes:
> I wonder if we could go further. If we don't imagine having a very
> large number of allocators then we could just ask each one in turn if
> this block is one of theirs and which context it came from. That would
> allow an allocator that just allocated everything in a contiguo
Merlin Moncure writes:
> Hm, maybe, instead of trying to figure out if in a loop, set a
> 'called' flag with each statement and only cache when touched the
> second time. (If that's easier, dunno).
Well, then you just guarantee to lose once. I think Jan's sketch of
marking potentially-cacheabl
On Sun, Jul 17, 2016 at 1:55 PM, Robert Haas wrote:
>
>On Wed, Jul 13, 2016 at 4:39 PM, Tom Lane wrote:
>>
>> I wonder whether we could compromise by reducing the minimum "standard
>> chunk header" to be just a pointer to owning context, with the other
>> fields becoming specific to particular mc
Jan Wieck writes:
> In the meantime, would it be appropriate to backpatch the double linking
> of memory context children at this time? I believe it has had plenty of
> testing in the 9.6 cycle to be sure it didn't break anything.
I'm concerned about the ABI breakage risk from changing a data str
On Mon, Jul 18, 2016 at 8:59 AM, Jan Wieck wrote:
>
>
> On Mon, Jul 18, 2016 at 9:43 AM, Tom Lane wrote:
>>
>> Merlin Moncure writes:
>> > BTW, while the fix does address the cleanup performance issue, it's
>> > still the case that anonymous code blocks burn up lots of resident
>> > memory (my 3
On Mon, Jul 18, 2016 at 2:41 PM, wrote:
> And I will be really happy when there are processors with infinite
> performance and memory with infinite size.
>:)))
Well for what it's worth there's no theoretical difference between
multi-process and multi-threaded. They're just two different APIs
On Mon, Jul 18, 2016 at 9:43 AM, Tom Lane wrote:
> Merlin Moncure writes:
> > BTW, while the fix does address the cleanup performance issue, it's
> > still the case that anonymous code blocks burn up lots of resident
> > memory (my 315k example I tested with ate around 8gb IIRC) when run
> > lik
Merlin Moncure writes:
> BTW, while the fix does address the cleanup performance issue, it's
> still the case that anonymous code blocks burn up lots of resident
> memory (my 315k example I tested with ate around 8gb IIRC) when run
> like this. My question is, if the pl/pgsql code block is anonym
Hi
> This https://github.com/davecramer/plj-new is a very old project
> that did work at one time which attempted to do RPC calls to the jvm to
> address exactly this problem.
> However "cheaply" calling jvm from sql or vice-versa is not really possible.
> I do like the idea of the background wo
On Sat, Jul 16, 2016 at 2:47 PM, Jan Wieck wrote:
> On Tue, Jul 12, 2016 at 3:29 PM, Merlin Moncure wrote:
>>
>> I've noticed that pl/pgsql functions/do commands do not behave well
>> when the statement resolves and frees memory. To be clear:
>>
>> FOR i in 1..100
>> LOOP
>> INSERT INTO f
On 18 July 2016 at 06:04, wrote:
> Hi
>
> > There's https://github.com/jnr/jnr-ffi that enables to call C
> > functions without resorting to writing JNI wrappers.
> I have not said that you are wrong.
> It's the dark side of "like seprate process"
> They can cheaply call sql from jvm.
> And they
On Thu, Jul 14, 2016 at 8:27 PM, Andres Freund wrote:
> On 2016-07-14 13:46:23 +0200, Magnus Hagander wrote:
> > Currently, if you run pg_xlogdump with -f, you have to specify an end
> > position in an existing file, or if you don't it will only follow until
> the
> > end of the current file.
>
>
Hi
> There's https://github.com/jnr/jnr-ffi that enables to call C
> functions without resorting to writing JNI wrappers.
I have not said that you are wrong.
It's the dark side of "like seprate process"
They can cheaply call sql from jvm.
And they can't cheaply call jvm from sql.
Jvm in oracle a
Hi
> I admit that it is risky, but I think there are things that could be
> done to limit the risk. I don't believe we can indefinitely continue
> to ignore the potential performance benefits of making a switch like
> this. Breaking a thirty-year old code base irretrievably would be
> sad, but
On 2016-07-18 01:33:10 -0700, Andres Freund wrote:
> On 2016-07-18 10:02:52 +0530, Amit Kapila wrote:
> > On Mon, Jul 18, 2016 at 9:13 AM, Andres Freund wrote:
> > > On 2016-07-18 09:07:19 +0530, Amit Kapila wrote:
> > >> + /*
> > >> + * Before locking the buffer, pin the visibility map page if it
Hi
> The issue here is an architectural mismatch between PostgreSQL and
> the JVM, made worse by the user's very stored-proc-heavy code. Some
> other runtime that's designed to co-operate with a multiprocessing
> environment could well be fine, but the JVM isn't. At least, the
> Sun/Oracle/OpenJ
Hi
> Such a host delegate process could be explicitly built with
> multithread support and not 'infect' the rest of the code with its
> requirements.
>
> Using granular RPC is nice for isolation but I am concerned that the
> latencies might be high.
I agree with you.
Moreover I think that s
While reading the logical decoding code I noticed a few supposedly mistyped
comments, see the diff below.
Besides that, output_plugin_options argument of CreateInitDecodingContext
function is unused, and the function passes NIL to the corresponding argument
of StartupDecodingContext. This looks to
On 2016-07-18 10:02:52 +0530, Amit Kapila wrote:
> On Mon, Jul 18, 2016 at 9:13 AM, Andres Freund wrote:
> > On 2016-07-18 09:07:19 +0530, Amit Kapila wrote:
> >> + /*
> >> + * Before locking the buffer, pin the visibility map page if it may be
> >> + * necessary.
> >> + */
> >>
> >> + if (PageIsA
Hi Tom,
Yes, we indeed get the cost of the plan at the first line itself. Somehow,
I missed this point. We just in fact implemented this functionality and its
working. Thanks again.
Regards,
Srinivas Karthik
On Tue, Jul 12, 2016 at 6:43 AM, Craig Ringer wrote:
> On 11 July 2016 at 23:29, Tom L
Hi,
heap_update() retries pinning the vm pinning, as explained in the
following comment:
/*
* Before locking the buffer, pin the visibility map page if it appears
to
* be necessary. Since we haven't got the lock yet, someone else might
be
* in the middle of c
53 matches
Mail list logo