date | layout | title | category | tags | |||
---|---|---|---|---|---|---|---|
2015-03-02 11:03:14 -0800 |
post |
PoWA 2 ! Moving Fast and Breaking Things |
english |
|
Yesterday, DALIBO released the second major version of PoWA, the PostgreSQL Workload Analyzer. We're kind of proud of what we've achieved with this new release, however we did crack some eggs while making the omelette... Here's a brief explanation for all the disruptive choices we made...
When we launched the PoWA project in 2014, we decided to release the project very early and see where it would lead us to. Over the last few months, we took some time to analyze the situation. We looked at the users feedback. We tried to imagine how the project would interact with the other monitoring and performance tools we're working on, especially OPM, pg_stat_kcache and pg_qual_stats
We came to the conclusion that in order to move forward, we had to make a lot of disruptive technical choices. Please fasten your seatbelt:
-
We're splitting the code in 2 sub-projects : The PostgreSQL extension is now called PoWA-archivist and the graphic interface is now called PoWA-web.
-
We're switching to Semantic Version to avoid dependency nightmares. In particular, you will have the guarantee that minor versions of the sub-projects are compatible. For instance, PoWA-archivist 2.0.1 will be compatible with PoWA-web 2.0.9
-
We're dropping the mojolicous web framework in favor of tornado. There's a lot we could say about this, but in a nutshell we found that mojolicious release cycle is too erratic for us and switching to Python makes it easier to open the project to other contributors. And yes this means we rewrote entirely the GUI code from scratch.
-
We're dropping support for PostgreSQL 9.3 and from now on the new versions of PoWA will only work with the 9.4 versions and later. This was a hard choice but if we want to implement ground-breaking feature like the Missing Index Finder, we need to use the latest capacities of PostgreSQL. That being said, we will continue to maintain PoWA v1.2 and you can continue to use it on your PostgreSQL 9.3 servers.
-
We're allowing multiple source of stats. So far PoWA is able to collect stats from 3 different extensions : pg_stat_statements , pg_qualstats and pg_stat_kcache. If you've developed a stat extension for PostgreSQL, integrating it into PoWA should be a piece of cake.
We know that all these changes may be confusing at first, especially for people using PoWA with PostgreSQL 9.3. However we believe that the disruptive changes we're making now will enable us to build great tools in the forthcoming months.
If you have any question about the PoWA project, how we work and where we're going, please join us on the powa-users mailing list !