Database Administration & Monitoring Quickly create a hundred databases and users 26.06.2015 by Daniel Westermann Do you need a hundred databases and users for training etc. in PostgreSQL? Just a few lines of code: [postgres8@oel7 data]$ cat create_databases.sh #!/bin/bash NUMOFDBS=100 for i in `seq ${NUMOFDBS}`; do psql -q -c "create user u${i}(…)
Database Administration & Monitoring What is more efficient: arrays or single column values? 15.06.2015 by Daniel Westermann In PostgreSQL ( as well as in other rdbms ) you can define columns as arrays. What I wondered is: What is more efficient when it comes to space: Creating several columns or just creating once column as array? The(…)
Database Administration & Monitoring SQL Interpolation with psql 15.06.2015 by Daniel Westermann The PostgreSQL psql utility provides some really nice features. One of these features is SQL interpolation which allows us to do interesting things, e.g. reading files and analyze the results directly in the database. This post(…)
Database Administration & Monitoring A free PostgreSQL cloud database? 14.06.2015 by Daniel Westermann Recently I was looking for a free PostgreSQL cloud database service for testing. Why? Because I’d like to use such a cloud instance for testing no matter on which workstation or OS I am currently on. Another reason is, that(…)
Database Administration & Monitoring PostgreSQL portable? 12.06.2015 by Daniel Westermann What a surprise: Headed over to the sourceforge page, downloaded, installed (which is just a matter of next/next/next) : Not really the latest patchset but far more than I(…)
Database management draft release notes for PostgreSQL 9.5 online 12.06.2015 by Daniel Westermann Bruce Momjian, one of the PostgreSQL Core members, just compiled the first draft version of the release notes for the upcoming PostgreSQL 9.5 Some of the goodies that will show up: BRIN indexes(…)
Database management Optimized Row Columnar (ORC) format in PostgreSQL 18.05.2015 by Daniel Westermann Nowadays everybody is talking about columnar storage format. What can PostgreSQL do in this area? There is no native support for that in PostgreSQL but thanks to the fact that PostgreSQL is highly extensible there is a(…)
Database management What will be coming with the next major version of postgresql ? 18.05.2015 by Daniel Westermann A PostgreSQL major version is usually released once a year. For the next major version, which is 9.5, this probably will be in the second half of 2015. As PostgreSQL is an open source product everything that(…)
Application integration & Middleware, Enterprise content management Alfresco: some useful database queries 18.05.2015 by Morgan Patou In my previous post, I talked about the Lifecycle of Alfresco Nodes. You may have noticed that I tried to insert in my explanations some elements that are specific to(…)
Development & Performance the fastest way to load 1m rows in postgresql 18.05.2015 by Daniel Westermann There have been several posts on how to load 1m rows into a database in the last days: Variations on 1M rows insert (1): bulk insert Variations on 1M rows(…)