amitlan | 3 years ago | on: Postgres wire compatible SQLite proxy
amitlan's comments
amitlan | 5 years ago | on: Ask HN: What NoSQL database do you recommend in 2020?
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.
amitlan | 6 years ago | on: PostgreSQL 12
amitlan | 7 years ago | on: PostgreSQL 11 Released
"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...
amitlan | 7 years ago | on: PostgreSQL 11 and Just in Time Compilation of Queries
PostgreSQL 10 New Features With Examples https://h50146.www5.hpe.com/products/software/oe/linux/mains...
amitlan | 8 years ago | on: PostgreSQL 10 Beta 1 Released
amitlan | 9 years ago | on: New Features Coming in PostgreSQL 10
Read about the new feature and its limitations here: https://www.postgresql.org/docs/devel/static/ddl-partitionin...
amitlan | 9 years ago | on: LLVM's New Versioning Scheme
amitlan | 9 years ago | on: Implement table partitioning
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.
amitlan | 9 years ago | on: Implement table partitioning
amitlan | 9 years ago | on: Implement table partitioning
amitlan | 9 years ago | on: Implement table partitioning
amitlan | 9 years ago | on: Major features of PostgreSQL 9.6 [pdf]
amitlan | 10 years ago | on: Citus Unforks from PostgreSQL, Goes Open Source
amitlan | 10 years ago | on: No More Full Table Vacuums in PostgreSQL
Upcoming 9.6 will help with this to a certain degree: http://www.postgresql.org/docs/devel/static/progress-reporti...
amitlan | 10 years ago | on: Jepsen: Distributed Systems Safety Analysis
amitlan | 10 years ago | on: Show HN: Nihongo – Study Japanese using authentic text from games, songs, etc.
amitlan | 10 years ago | on: A Guide to the Regional Ramen of Japan
amitlan | 10 years ago | on: Pgsql: Support Grouping Sets, Cube, and Rollup
amitlan | 10 years ago | on: Error Message Style Guide
https://www.postgresql.org/docs/current/libpq-pipeline-mode....