News for hackers. Stuff that matters.

amitlan

Re:Postgres wire compatible SQLite proxy on Friday April 01, 2022 @09:49AM (#30878033)
If I’m not wrong, I think this situation has changed with the latest Postgres release:

https://www.postgresql.org/docs/current/libpq-pipeline-mode....

Re:Ask HN: What NoSQL database do you recommend in 2020? on Thursday May 21, 2020 @11:23PM (#23268379)
Postgres core hackers are working to ease the limit on max allowable concurrent connections, for example:

https://www.postgresql.org/message-id/flat/20200301083601.ew...

Maybe the proposal above by itself isn't enough, but it's going to solve some of the many problems that put a restriction on max allowable connections in the first place. For example, I am not sure if there is anything in there to reduce the baseline per connection memory consumption, but maybe that will come up as the next problem to solve and will hopefully be solved sooner than later.

Re:PostgreSQL 12 on Thursday October 03, 2019 @09:27AM (#21146664)
Today's news is about PostgreSQL 12 GA release. The news you may have seen recently was about few Beta releases in last few months and an RC release last week.
Re:PostgreSQL 11 Released on Thursday October 18, 2018 @12:23PM (#18249640)
The documentation of creating partitions [1] says this:

"When creating a hash partition, a modulus and remainder must be specified. The modulus must be a positive integer, and the remainder must be a non-negative integer less than the modulus. Typically, when initially setting up a hash-partitioned table, you should choose a modulus equal to the number of partitions and assign every table the same modulus and a different remainder (see examples, below). However, it is not required that every partition have the same modulus, only that every modulus which occurs among the partitions of a hash-partitioned table is a factor of the next larger modulus. This allows the number of partitions to be increased incrementally without needing to move all the data at once. For example, suppose you have a hash-partitioned table with 8 partitions, each of which has modulus 8, but find it necessary to increase the number of partitions to 16. You can detach one of the modulus-8 partitions, create two new modulus-16 partitions covering the same portion of the key space (one with a remainder equal to the remainder of the detached partition, and the other with a remainder equal to that value plus 8), and repopulate them with data. You can then repeat this -- perhaps at a later time -- for each modulus-8 partition until none remain. While this may still involve a large amount of data movement at each step, it is still better than having to create a whole new table and move all the data at once."

[1] https://www.postgresql.org/docs/current/static/sql-createtab...

Re:PostgreSQL 11 and Just in Time Compilation of Queries on Wednesday September 12, 2018 @03:26AM (#17966242)
There is:

PostgreSQL 10 New Features With Examples https://h50146.www5.hpe.com/products/software/oe/linux/mains...

Re:PostgreSQL 10 Beta 1 Released on Thursday May 18, 2017 @10:59PM (#14372731)
BTW, you can also create partitions as foreign tables: https://www.postgresql.org/docs/10.0/static/sql-createforeig...
Re:New Features Coming in PostgreSQL 10 on Saturday April 08, 2017 @03:06PM (#14068435)
Unfortunately, foreign keys won't be supported right away.

Read about the new feature and its limitations here: https://www.postgresql.org/docs/devel/static/ddl-partitionin...

Re:LLVM's New Versioning Scheme on Thursday December 15, 2016 @03:15AM (#13183221)
Postgres is going in this direction starting with the next release: http://www.databasesoup.com/2016/05/changing-postgresql-vers...
Re:Implement table partitioning on Thursday December 08, 2016 @10:58PM (#13136553)
Note that there is no shorthand syntax (yet), where you define a partitioned schema in just one line of DDL.

As of now, you still need to create the root partitioned table as one command specifying the partitioning method (list or range), partitioning columns (aka PARTITION BY LIST | RANGE (<columns>)) and then a command for every partition specifying the partition bounds. No triggers or CHECK constraints anymore though. Why that way? Because we then don't have to assume any particular use case, for which to provide a shorthand syntax -- like fixed width/interval range partitions, etc.

That said, having the syntax described at the beginning of the last paragraph in the initial version does not preclude offering a shorthand syntax in later releases, as, and if we figure out that offering some such syntax for more common use cases is useful after all.

Re:Implement table partitioning on Thursday December 08, 2016 @10:51AM (#13131027)
Re:Implement table partitioning on Thursday December 08, 2016 @10:36AM (#13130894)
Yes, it is not possible to optimize (ie, prune useless partitions for quicker access) the query select * from tab where key = x. You'd need actual hash partitioning for that. The mechanism Postgres uses to perform partition-pruning (constraint exclusion) does not work for the hashing case.
Re:Implement table partitioning on Thursday December 08, 2016 @08:42AM (#13130176)
Not natively, as in there is no PARTITION BY HASH (<list-of-columns>). What limitations do you face when trying to roll-your-own hash partitioning using check constraints (in 9.6)?
Re:Major features of PostgreSQL 9.6 [pdf] on Tuesday September 27, 2016 @10:18AM (#12589722)
or read this chapter (the wiki page's content made into the official documentation): https://www.postgresql.org/docs/devel/static/parallel-query....
Re:Citus Unforks from PostgreSQL, Goes Open Source on Friday March 25, 2016 @12:16PM (#11360884)
Greenplum is a fork of Postgres codebase, Citus is not; it's an extension that leverages community Postgres's extensibilty APIs. This point seems to be highlighted in their post.
Re:No More Full Table Vacuums in PostgreSQL on Friday March 18, 2016 @10:21PM (#11316925)
> What's worse is there's 0 indication of how long a vacuum is going to take, nor progress updates while it's going.

Upcoming 9.6 will help with this to a certain degree: http://www.postgresql.org/docs/devel/static/progress-reporti...

Re:Jepsen: Distributed Systems Safety Analysis on Wednesday October 21, 2015 @02:19AM (#10423980)
Not quite sure whether something like multixact data corruption is symptomatic of the kind of underlying issues in database system implementations that Jepsen is after. I may be wrong though.
'Clippings' looks really handy. Thanks!
Re:A Guide to the Regional Ramen of Japan on Friday May 29, 2015 @03:11AM (#9623173)
I love Ippudo's spiciest on the menu, here in Tokyo. Supposed to be Hakata-style. Like to top it with gyoza.
Re:Pgsql: Support Grouping Sets, Cube, and Rollup on Saturday May 16, 2015 @10:13AM (#9556138)
Just added a line to that page saying it's in, :)
Re:Error Message Style Guide on Friday May 15, 2015 @09:02AM (#9550263)
SQLSTATE does serve the role somewhat

Older »