Re: Postgres with pthread

2017-12-06 Thread Adam Brusselback
> "barely a 50% speedup" - Hah. I don't believe the numbers, but that'd be > huge. They are numbers derived from a benchmark that any sane person would be using a connection pool for in a production environment, but impressive if true none the less.

Re: Postgres with pthread

2017-12-06 Thread Adam Brusselback
Here it is formatted a little better. ​ So a little over 50% performance improvement for a couple of the test cases. On Wed, Dec 6, 2017 at 11:53 AM, Tom Lane wrote: > Konstantin Knizhnik writes: > > Below are some results (1000xTPS) of

Re: Built-in connection pooling

2018-04-24 Thread Adam Brusselback
On Tue, Apr 24, 2018 at 9:52 AM, Merlin Moncure wrote: > > Why does it have to be completely transparent? As long as the feature > is optional (say, a .conf setting) the tradeoffs can be managed. It's > a reasonable to expect to exchange some functionality for pooling; >

Re: Synchronous replay take III

2018-03-02 Thread Adam Brusselback
Thanks Thomas, appreciate the rebase and the work you've done on this. I should have some time to test this out over the weekend. -Adam

Re: Implementation of Flashback Query

2018-10-17 Thread Adam Brusselback
This is something I'm very interested in. Very helpful for fixing mistakes you didn't realize in time. One question, would it be possible to allow this to be able to be configured on a hot standby and not the master? That would be very helpful by being able to keep some arbitrary length of extra

Re: Sequential UUID Generation

2018-10-30 Thread Adam Brusselback
I would be very interested in a extension which generated sequential uuids. My entire db is key'd with uuids, and I have measured some index bloat related specifically to random uuid generation. Thanks for bringing this up.

Re: zheap: a new storage format for PostgreSQL

2018-11-16 Thread Adam Brusselback
> I don't know how much what I write on this thread is read by others or how useful this is for others who are following this work I've been following this thread and many others like it, silently soaking it up, because I don't feel like i'd have anything useful to add in most cases. It is very

Re: Implementing Incremental View Maintenance

2018-12-31 Thread Adam Brusselback
Hi all, just wanted to say I am very happy to see progress made on this, my codebase has multiple "materialized tables" which are maintained with statement triggers (transition tables) and custom functions. They are ugly and a pain to maintain, but they work because I have no other solution...for

Re: Referential Integrity Checks with Statement-level Triggers

2018-12-17 Thread Adam Brusselback
It's something I know I am interested in. For me, I don't really care if my statement doesn't cancel until the very end if there is a RI violation. The benefit of not having deletes be slow on tables which have others referencing it with a fkey which don't have their own index is huge IMO. I have

Re: Optimizer items in the release notes

2019-04-24 Thread Adam Brusselback
As a user, I am interested in the optimizer changes for sure, and I actually had wished they were highlighted more in previous releases. > I think planner smarts are arguably one of our weakest areas when > compared to the big commercial databases. The more we can throw in > there about this sort

Re: block-level incremental backup

2019-04-23 Thread Adam Brusselback
I hope it's alright to throw in my $0.02 as a user. I've been following this (and the other thread on reading WAL to find modified blocks, prefaulting, whatever else) since the start with great excitement and would love to see the built-in backup capabilities in Postgres greatly improved. I know

Re: [HACKERS] make async slave to wait for lsn to be replayed

2020-03-06 Thread Adam Brusselback
I just wanted to express my excitement that this is being picked up again. I was very much looking forward to this years ago, and the use case for me is still there, so I am excited to see this moving again.

Re: Proposal: is_castable

2020-04-03 Thread Adam Brusselback
> What would you actually do with it? I am one of the users of these do-it-yourself functions, and I use them in my ETL pipelines heavily. For me, data gets loaded into a staging table, all columns text, and I run a whole bunch of validation queries on the data prior to it moving to the next

Re: ALTER TABLE ... SET STORAGE does not propagate to indexes

2020-03-30 Thread Adam Brusselback
> ALTER TABLE ... SET STORAGE does not propagate to indexes, even though > indexes created afterwards get the new storage setting. So depending on > the order of commands, you can get inconsistent storage settings between > indexes and tables. I've absolutely noticed this behavior, I just

Re: Proposal of new PostgreSQL Extension - PGSpiderExt

2020-09-16 Thread Adam Brusselback
> From my point of view if will be very helpful if such > "PgExt Store" > will be available. > May be such resources already exists, but I do not > know about them. https://pgxn.org/

Re: Feature improvement for pg_stat_statements

2020-09-18 Thread Adam Brusselback
That'd be useful in my book. My scripts just have a hard coded timestamp I replace when I call reset so those calculations work, but it would be much preferred to have that data available by a built in function. -Adam

Re: Implementing Incremental View Maintenance

2020-10-27 Thread Adam Brusselback
much time this took to prepare i'll keep it at this for now. If you need anything clarified or have any issues, just let me know. On Fri, Oct 23, 2020 at 3:58 AM Yugo NAGATA wrote: > Hi Adam, > > On Thu, 22 Oct 2020 10:07:29 -0400 > Adam Brusselback wrote: > > > Hey there Yugo, &g

Re: Terminate the idle sessions

2020-06-10 Thread Adam Brusselback
> > > Why not implement it in the core of Postgres? Are there any disadvantages of > implementing it in the core of Postgres? I was surprised this wasn't a feature when I looked into it a couple years ago. I'd use it if it were built in, but I am not installing something extra just for this. >

Re: Persist MVCC forever - retain history

2020-07-03 Thread Adam Brusselback
> But I didn't fill a big interest to it from community. Just fyi, it is something that I use in my database design now (just hacked together using ranges / exclusion constraints) and would love for a well supported solution. I've chimed in a couple times as this feature has popped up in

Re: Implementing Incremental View Maintenance

2020-10-22 Thread Adam Brusselback
be updated, and then sometimes have the need to query that "materialized table" in a subsequent statement and need to see the changes reflected. As soon as my coworker gets that example built up I'll send a followup with it attached. Thank you, Adam Brusselback

Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints

2021-06-15 Thread Adam Brusselback
Am I mistaken in thinking that this would allow CREATE DATABASE to run inside a transaction block now, further reducing the DDL commands that are non-transactional?

Re: What to call an executor node which lazily caches tuples in a hash table?

2021-03-31 Thread Adam Brusselback
> Does anyone else like the name "Tuple Cache"? I personally like that name best. It makes sense to me when thinking about looking at an EXPLAIN and trying to understand why this node may be there. The way we look up the value stored in the cache doesn't really matter to me as a user, I'm more

Re: PostgreSQL <-> Babelfish integration

2021-02-12 Thread Adam Brusselback
Just wanted to link to the discussion on this from HN for anyone intersted: https://news.ycombinator.com/item?id=26114281

Re: Foreign key joins revisited

2021-12-28 Thread Adam Brusselback
> How about JOIN WITH? I'm -1 on this, reusing WITH is just likely to cause confusion because WITH can appear other places in a query having an entirely different meaning. I'd just avoid that from the start. >> Can with think of some other suitable reserved keyword? >FOREIGN? Or even spell out

Re: PROPOSAL: Support global and local disabling of indexes

2022-03-18 Thread Adam Brusselback
Just wanted to mention that this would be a useful feature for me. Had previously been bitten by this: https://www.postgresql.org/message-id/flat/CAMjNa7c4pKLZe%2BZ0V49isKycnXQ6Y%3D3BO-4Gsj3QAwsd2r7Wrw%40mail.gmail.com Ended up "solving" by putting a where clause on all my exclusion constraints I

Re: [Proposal] Global temporary tables

2022-03-02 Thread Adam Brusselback
>In my observation, very few users require an accurate query plan for temporary tables to perform manual analyze. Absolutely not true in my observations or personal experience. It's one of the main reasons I have needed to use (local) temporary tables rather than just materializing a CTE when