Debian Codegraph @

ChangeLog

raw
1 2024-03-06 - Version 4.0
2
3 This release is a major release that fixes issues reported since
4 the past six months and adds several new features.
5
6 New features:
7
8 * Add report of devices /sys/block/queue informations (scheduler,
9 rotational, rq_affinity and add_random) to the System report.
10 * Add report of PGDATA files to be able to detect symlinks and
11 unwanted files in this directory.
12 * Add reports for Wait Event when the pg_wait_sampling extension is use.
13 First report show the distribution by Wait Event Type and second report
14 show the distribution by Wait Events.
15 * Add report for Global subtransactions counters if extension
16 pg_subxact_counters is installed in the connection database.
17 Subtransactions can lead to performance issue, report Counters
18 to monitor the subtransactions (generation rate, overflow, state).
19 * Add collect of /sys/kernel/debug/sched/migration_cost_ns with kernel >= 5.19
20 collect start-end metrics only twice (start and end)
21 * Add a chapter in documentation about additional statistics
22 collected from extensions pg_stat_statements, pg_wait_sampling
23 and pg_subxact_counters.
24 * Add option --no-pg_stats-dump to pgcluu_collectd to avoid collecting such
25 statistics for performances reasons. Thanks for the patch to Frederic Yhuel.
26 * Make SIGINT interrupts gracefully pgcluu_collectd like SIGHUP. Thanks to
27 Frederic Yhuel for the patch.
28 * Add ddump of the pg_stats view to pgcluu_collectd. The point is for the
29 DBA to study the statistics, and nothing else. Thanks for the patch to
30 Frederic Yhuel.
31 It is useful to dump the pg_stats views. The dump can be imported in a table
32 created like this:
33
34 CREATE TABLE my_client_pgstats (
35 export_time TEXT,
36 dbname TEXT,
37 schemaname TEXT,
38 tablename TEXT,
39 attname TEXT,
40 inherited BOOLEAN,
41 null_frac REAL,
42 avg_width INT,
43 n_distinct REAL,
44 most_common_vals TEXT[],
45 most_common_freqs REAL[],
46 histogram_bounds TEXT[],
47 correlation REAL
48 );
49
50 Note that the columns most_common_vals and histogram_bounds have
51 the type TEXT[] instead of anyarray.
52
53 Compatibility:
54
55 There is not compatibility issues but a change of behavior with default
56 to dump the pg_stats view. Following the number of table/indexes in the
57 databases it could take more time collecting the statistic so in this case
58 the interval of polling should be increase. There is an new option to disable
59 the pg_stats dump, --no-pg_stats-dump, if you want to get back to the previous
60 behavior.
61
62 Here is the full list of fixes since previous release.
63
64 - Fix graph labels for TCPv4 errors. Thanks to Christophe Courtois for
65 the report.
66 - Avoid reporting redundant index if they are not using the same type of
67 index. Thanks to Christophe Courtois for the report.
68 - Fix file not exists error message when looking at block devices information.
69 - Fix broken report when /sys/kernel/debug/sched/migration_cost_ns is not
70 readable by the user running pgcluu_colletd
71 - Fix devices info (sar -d) for sar >= 12.4.0. Thanks to Christophe Courtois
72 for the patch.
73 - Fix legend of locks reports.
74 - Fix report of locks per database.
75 - Fix disable menu for buffercache use
76 - Fix mount report that was not reporting NFS mount points.
77 - Fix wait_all_childs() function.
78
79 2023-07-11 - Version 3.5
80
81 This release is a maintenance release that fixes issues reported since
82 the past six months and adds support to PostgreSQL 16.
83
84 - Fix pgcluu for PG16 changes on pg_stat_user_indexes.
85 - Fix live/dead tuples statistics. Thanks to Frederic Yhuel for the patch.
86 - Add e as expression for kind of extended statistics.
87 - Add --disable-pidstat option to disable the collect of metrics from the
88 pidstat command. This can be useful with old versions of pidstat that do
89 not support the -U option. Thanks to Guillaume Lelarge for the report.
90 - If on a secondary server, don't execute pg_current_wal_lsn(). Thanks to
91 Guillaume Lelarge for the patch.
92 Use relispartition only for PG version 10 and upper. Thanks to Guillaume
93 Lelarge for the patch.
94
95 2022-12-26 - Version 3.4
96
97 This release is a maintenance release that fixes issues reported since
98 the past six months.
99
100 - Fix unwanted report of missing index from partition. Thanks to
101 Christophe Courtois for the report.
102 - Fix cases where detection of redundant indexes was depending on the
103 creation order.Thanks to Guillaume Lelarge for the report.
104 Move Cancelled queries report from Replication sub menu to upper level.
105 Thanks to Guillaume Lelarge for the report.
106 - Allow -k option to make pgcluu_collectd exit gracefully. Previous
107 behavior was to exit immediately, it now calls the HUP signal (-1).
108 This change is done to not interrupt the running execution of the
109 metrics collect, the process will die only if all SQL queries are
110 executed. For an immediate interrupt use the TERM (-15) signal.
111 - Remove all ORDER BY clause in the metrics collect queries to improve
112 the performances. Ordering is done when reports are generated.
113 - Fix collect of the pg_stat_user_indexes, pg_stat_user_tables and
114 corresponding io stats.
115 - Fix --rotate-daily spill directory. Thanks to Chistophe Courtois for
116 the patch.
117 - Fix potential use of uninitialized value when sar and pidstat files are
118 not present. Thanks to geostart123 for the report.
119 - [CGI] verify that pidstat statistics exists before trying to load them.
120 Thanks to geostar123 foir the report.
121 - [CGI] Fix wrong error message when attempt to read binary files and remove
122 useless code. Thanks to geostar123 for the report.
123 - Remove newline from indexes definition to avoid data import error when
124 building reports.
125
126 2022-06-02 - Version 3.3
127
128 This release is a maintenance release that fixes issues reported since
129 previous release. It also adds new reports and features.
130
131 - Add TCP utilization and TCP errors reports, from sar -nTCP,ETCP.
132 - Add a comment in the suggested index if it could be redundant
133 with existing ones.
134 - Add support to run pgcluu_collect as user with the pg_monitor role.
135
136 Here is the full list of changes since previous release.
137
138 - Add support to run pgcluu_collect as user with the pg_monitor role.
139 Thanks to Nicolas Gollet for the report.
140 - Fix redundant index query to work with PG < 10, regexp_match() must be
141 replaced by regexp_matches() with some additional rewrite.
142 - Replace call to pg_ls_dir by pg_ls_waldir to be able to use pg_monitor
143 privilege starting from PG10. Thanks to Nicolas Gollet for the report.
144 - Fix impossibility to use --lock-timeout. Thanks to Christophe Courtois
145 for the report.
146 - Remove lock_timeout from internally set of PGOPTIONS when querying
147 pgbouncer, the old value is restored after. Thanks to Christophe Courtois
148 for the report.
149 - Fix empty pgbouncer statistics file when running in interactive mode.
150 Thanks to Christophe Courtois for the report.
151 - Add a comment in the CREATE INDEX when the suggested index may be redundant
152 with existing ones. Thanks to Christophe Courtois for the patch.
153 - Fix false report of redundant index when the WHERE clause is different.
154 Thanks to Guillaume Lelarge for the report.
155 - Fix in pgcluu for OUTPUT_DIR always be quoted, especially if their value
156 may contain a white space or separator character. Thanks to Nicolas Gollet
157 for the patch.
158 - Fix network errors disabled. Thanks to Christophe Courtois for the patch.
159 - Add TCP utilization and TCP errors reports, from sar -nTCP,ETCP. Thanks to
160 Christophe Courtois for the patch.
161 - Fix pgbouncer command. Thanks to Nicolas Gollet for the patch.
162 - Modification of the query on pg_stat_statement so that under PostgreSQL 13
163 and higher total_time = total_plan_time + total_execution_time. Thanks to
164 Nicolas Gollet for the patch.
165 - Fix STATS_REPORT_RETENTION directory in config file. Don't prepend DESTDIR
166 to paths in config file. Thanks to Christoph Berg for the patch.
167
168 2021-09-30 - Version 3.2
169
170 This release is a maintenance release that fixes issues reported since
171 previous release. It also adds new reports and features.
172
173 * Add STATS_REPORT_OUTDIR configuration directive to pgcluu.conf to set
174 the directory where the pgCluu reports will be saved. Default to
175 /var/lib/pgcluu/report/.
176 * Add command line option -t | --lock-timeout with default to 3 seconds
177 to self terminate a SQL query that could be lock by the activity of
178 an other session like a drop table for example.
179 * Add collect and report of unused trigger functions.
180 * Add system statistics dedicated to PostgreSQL process through stats
181 reported by pidstat.
182 * Add report of CPU scaling_governor to check if it set to powersave,
183 setting it to performances can improve performances up to 20% following
184 the PostgreSQL load. For more information on this kernel parameter see
185 https://wiki.archlinux.org/index.php/CPU_frequency_scaling#Scaling_governors
186
187 Backward compatibility:
188
189 - Change default retention time to 30 days instead of no storage limit
190 to avoid possible out of memory on uncontrolled installation. Thanks
191 to Jean Pierre Huart for the report.
192
193 Here is the full list of changes since previous release.
194
195 - Remove service time report as per sysstat v12.1.2 it has been removed.
196 - Add STATS_REPORT_OUTDIR configuration directive to pgcluu.conf to set
197 the directory where the pgCluu reports will be saved. Default to
198 /var/lib/pgcluu/report/. Thanks to Jean Pierre Huart for the feature
199 request.
200 - Fix error "Use of uninitialized value $pidstat_file in -e at ..." when
201 generating report for sar file only.
202 - Fix possible bad format issue in pidstat parsing du to command with a
203 space character. Thanks to Christophe Courtois for the report.
204 - Subtract the lock_timeout setting when looking at pg_settings to have
205 the right values outside pgcluu.
206 - Fix README typo ; releases come from Github. Thanks to Christophe
207 Courtois for the patch.
208 - Add BEGIN_STAT/END_STAT variables dedicated to sar data on their
209 timezone, to avoid filtering on the wrong hours.
210 - Add command line option -t | --lock-timeout with default to 3 seconds
211 to self terminate a SQL query that could be lock by the activity of
212 an other session like a drop table for example. Thanks to Christophe
213 Courtois for the feature request.
214 - Limit output length of usage to 80 characters.
215 - Fix for begin/end date filtering for sar data. Thanks to Christophe
216 Courtois for the patch.
217 - Fix failure of pidstat through ssh. Thanks to Christophe Courtois for
218 the patch.
219 - Verify that same statistic report is not built twice.
220 - Remove fork for collect of PostgreSQL metrics and add autodetection of
221 the main process pid when pid file is not found.
222 - Remove copyright from html footer.
223 - Split per database report in several HTML pages to avoid too large files.
224 Thanks to Andreas Schrafl for the report.
225 - Add collect of wait event if extension pg_wait_sampling is available
226 in a database. This collect can be disabled with new command line
227 option -w, --no-waitevent.
228 - Set hamburger dropdown menu background from transparent to grey. Thansk
229 to Andreas Schrafl for the patch.
230 - Fix missing report of tables and indexes statistics.
231 - Fix lookup at database list.
232 - Add collect of unused trigger functions. Thanks to Adrien Neyrat for
233 the feature request.
234 - Fix load of database list from binary files in CGI mode.
235 - Fix pidstat reports about CPU wait and iodelay with old systat version
236 where these information was not available. iodelay < sysstat v10.2.1
237 and wait < sysstat v11.5.5
238 - Add CGI reports for pidstat statistics.
239 - Add pidstat data caching.
240 - Fix link to page cluster-archive.html. Thanks to cyberioio for the
241 report.
242 - Fix view of configurations reports that was hidden. Thanks to Lionel for
243 the report.
244 - Fix formatting of README file for command line option.
245 - Add collect of PostgreSQL only system metrics through pidstat.
246 - Fix pgcluu error on reading compressed data files. Thanks to Damien
247 Clochard for the report.
248 - Fix wrong detection of --output option.
249 - Fix previous commit that was breaking GetOptions behaviors
250 - Do not take care of the STATS_REPORT_CACHING value in config file if
251 pgcluu is run in interactive mode with an ouptut directory (-o) and
252 not caching enabled (-c).
253 - Update year in copyright
254 - Fix Storable.pm error when reading empty file. Thanks to Christian Roux
255 for the report.
256 - Make update of system information stat file sysinfo.txt atomic to
257 prevent zero file size.
258 - Fix a bgwriter URL. Thanks to Guillaume Lelarge for the patch.
259 - Fix parsing of sar v12 header. Thanks to Christoph Berg for the report.
260 - Fix INPUT_DIR in generated pgcluu.conf. The path here must not have
261 DESTDIR prepended. Thanks to Christoph Berg for the patch.
262 - Prevent look at pg_statistic_ext if major version is bellow 10.0. Thanks
263 to Devrim Gunduz for the report.
264 - Fix use of DESTDIR vs PREFIX installation process. Thanks to Christoph
265 Berg for the report.
266
267 2019-10-29 - Version 3.1 released
268
269 This release is a maintenance release that adds support to PostgreSQL
270 v12.0. It also add a new report:
271
272 * Add report of extended statistics in report Table Statistics per
273 database. Example:
274
275 Table | Extended Statistic
276 public.cities | CREATE STATISTICS sch1.t1_stat (dependencies)
277 ON city,country FROM public.cities;
278
279 It also fixes some issues reported by users since last month:
280
281 - Fix some typos in documentation. Thanks to Justin Pryzby for the
282 report.
283 - Replace obsolete pg_constraint.consrc in PostgreSQL v12 by a call
284 to function pg_get_constraintdef(). Thanks to seadba and Devrim
285 Gunduz for the report.
286
287
288 2019-09-18 - Version 3.0 released
289
290 This release is a major release that adds lot of improvement and
291 new reports. It also improve performances and fully support a CGI
292 mode with dynamic content for realtime reports.
293
294 New or enhanced reports/features:
295
296 * The CGI mode to provide dynamic reports on time selection is now
297 production ready and has left the beta stage. See documentation
298 on how to enable it. Debian packaging enable this mode by default.
299 * Installation and configuration is fully managed from Makefile.PL
300 script. This will help distribution packaging with additional
301 configuration directives to control the behavior of pgcluu scripts
302 with generic systemd service and timer files.
303 * Add incremental mode to pgcluu. That mean that you don't have to
304 remove the content of the report directory anymore before running
305 pgcluu again and when pgcluu detect that you are running in this
306 mode. The incremental mode is detected from statistic directory
307 when you have used the --rotate-daily or --rotate-hourly option
308 to pgcluu_collectd.
309 * Rewrite Stats I/O reports to display read/hit per table or indexes
310 during the audit period reported.
311 * Move Xlog (Wal bytes written) report under replication menu as
312 data comes from pg_stat_replication.
313 * Explode System and Cluster reports into several reports dedicated
314 files to limit the size of the HTML files in incremental mode.
315 * Add collect and report of vm.nr_overcommit_hugepages.
316 * Add report on pages scanned to report number of pages scanned by
317 the kswapd daemon and number of pages scanned directly per second
318 (pgscank/s and pgscand/s). It also reports the number of pages
319 the system has reclaimed from cache (pagecache and swapcache) per
320 second to satisfy its memory demands (pgsteal/s). On a second
321 axis %vmeffto reports the the efficiency of page reclaim.
322 * All pages reports have been moved as sub menu of the Page menu and
323 pgfree has been removed from the page fault report.
324 * Limit system cache statistics report to pgpgin/s and pgpgout/s and
325 a new report is dedicated to Page fault statistics with majflt/s,
326 minflt/s and pgfree/s dataset. Dataset minflt/s is calculated from
327 sar output as result of "fault/s - majflt/s".
328 * All statistics about pg_stat_user_* and pg_stat_xact_user_* views
329 are now stored as a snapshot at start and at end of the audit
330 period and each hour if you are running in incremental mode. The
331 old behavior was to append the snapshot at each running interval
332 to the data file but this is not necessary and this can use huge
333 disk space if you have lot of table and indexes in your database.
334 Backward compatibility is preserved.
335 * New report of json versus jsonb columns in each database.
336 * Add keepalive kernel configuration in SysInfo report.
337 * Separate bgwriter "allocated" buffers in a dedicated report for
338 better reading.
339 * Add new report about estimated memory workload based on the value
340 of Committed_AS from /proc/meminfo. Committed_AS is the total
341 amount of memory estimated to complete the workload. This value
342 represents the worst case scenario value, and also includes swap
343 memory. The report show the memory workload aver the time.
344
345 New command line options:
346
347 - Add option -x, --external-menu to pgcluu to save the common menu
348 in menu.html and load it into each report using w3-include-html
349 attribute from w3.js. This will only work if access to HTML report
350 is through a Web server, not using the file:// protocol.
351 - Add new option --retention to pgcluu to set number of rolling days
352 to keep in report directory. Default is to store indefinitely.
353 - Add option --retention NDAYS to pgcluu_collectd to set the number
354 of rolling days to keep in data directory in incremental mode.
355 Default is to store indefinitely.
356
357 New configuration directives :
358
359 * Add configuration directive STATS_REPORT_CACHING to pgcluu.conf
360 file. This directive must be enabled in CGI mode. In this case the
361 pgcluu script must be run periodically at least each 5 minutes to
362 build and update cached statistics. In cache mode pgcluu generate
363 binary file in the statistics directory and nothing in the report
364 directory. The pgcluu.service and pgcluu.timer can be use, pgcluu
365 will read the configuration file and switch automatically to cache
366 mode if STATS_REPORT_CACHING is enabled.
367
368 * Add MAX_RENDERED_DAYS configuration directive to set the maximum
369 number of days in a graph. Using default pgcluu_collectd 1 minute
370 interval each, daily graph will have 1440 points. Having too much
371 data to render is not a good point for performances with the
372 current code. The user can set is own graph period, default is to
373 limit to the first seven days of the selected period. This mean a
374 maximum of 10080 points for one week, this seems a safe limit.
375
376 It also fixes some issues reported by users since last five months:
377
378 - New report on memory workload based on values of Committed_AS from
379 /proc/meminfo. Thanks to Jehan-Guillaume de Rorthais for the
380 feature request.
381 - Separate bgwriter "allocated" buffers in a dedicated report.
382 Thanks to Guillaume Lelarge for the report.
383 - Use MASK to 0022 for directory and file creation and add a note
384 about securing the stats repository in the source code.
385 It can be changed to 0027 if you want to secure the data directory
386 Note that in CGI mode the www-data user or group need read access
387 to all files in the stat directory. The systemd service files take
388 care of setting the privilege for the postgres and www-data users.
389 - Make perlcritic more happy.
390 - Try to handle automatically systemd RPM specific path in install
391 process (/lib/systemd/system/).
392 - Update resources files minimization.
393 - Fix declaration of config file.
394 - Change Perl installation paths to be vendor paths by default and
395 adapt path replacement by DESTDIR.
396 - Keep pgcluu.conf after a make clean to be able to see the content.
397 - Update documentation about new installation behavior.
398 - Fix perl replacement issues on service file
399 - Update MANIFEST and META.yml files
400 - Update path to man page in documentation.
401 - Replace DATADIR by STATDIR and HTMLDIR by RSCDIR in Makefile.PL.
402 Add missing REPORTDIR variable, default /var/lib/pgcluu/report.
403 - Change default PIDDIR to /var/run/postgresql.
404 - Replace path in services files following environment variables
405 defined with Makefile.PL.
406 - The configuration file pgcluu.conf is now auto-generated by script
407 Makefile.PL
408 - Add support to some new environment variables to fully customize
409 the installation paths (HTMLDIR,CGIDIR,CONFDIR,PIDDIR,DATADIR,
410 APACHECONF,MANDIR,DOCDIR,SYSTEMDDIR,RETENTION). Default are:
411
412 DESTDIR => /usr/local
413 INSTALLDIRS => site
414 CONFDIR => DESTDIR/etc
415 PIDDIR => /var/run
416 DATADIR => /var/lib/pgcluu/data
417 HTMLDIR => DESTDIR/share/pgcluu
418 CGIDIR => /usr/lib/cgi-bin
419 APACHECONF => /etc/apache2/conf-available
420 MANDIR => DESTDIR/share/man
421 DOCDIR => DESTDIR/share/doc
422 SYSTEMDIR => DESTDIR/lib/systemd/system
423 RETENTION => 0
424
425 If INSTALLDIRS is set to 'vendor':
426
427 CONFDIR => /etc
428 DESTDIR => /usr
429
430 The configuration file is auto-generated by the Makefile.PL script
431 and saved into CONFDIR/pgcluu.conf. If the destination file exists
432 it is not overridden. The file is saved as example in directory
433 DOCDIR/pgcluu/examples/pgcluu.conf.dist
434
435 The man page is saved as DESTDIR/share/man/pgcluu.1p.gz and a
436 symbolic link pgcluu_collectd.1p.gz is created to this file. The
437 documentation, README, changelog.gz, LICENSE files are saved under
438 DESTDIR/share/doc/.
439
440 For the CGI mode, resources (css & js files from the cgi-bin/rsc)
441 are saved under the DESTDIR/share/pgcluu/rsc directory. The CGI
442 script is saved under /usr/lib/cgi-bin/pgcluu.cgi. The Apache
443 configuration file under /etc/apache2/conf-available/pgcluu.conf
444 with a symbolic link /etc/apache2/conf-enabled/pgcluu.conf created
445 to this file. Its content:
446
447 Alias /pgcluu HTMLDIR/
448 <Directory HTMLDIR/>
449 Options FollowSymLinks MultiViews
450 AllowOverride None
451 Require local
452 #Require ip 192.1.168.0/24
453 </Directory>
454
455 The systemd files (pgcluu_collectd.service, pgcluu.service and
456 pgcluu.timer) are saved as examples into DOCDIR/pgcluu/examples/
457 and into the systemd directory SYSTEMDDIR/
458
459 The right path to the configuration file is set into all scripts
460 pgcluu, pgcluu_collectd and pgcluu.cgi. The path where the pid
461 file must be saved is replaced into pgcluu_collectd with the value
462 of PIDFILE variable.
463 - Enable configuration reading to pgcluu_collectd. The configuration
464 directive supported by this script is STATS_COLLECTD_RETENTION. It
465 is used to set the retention limit in the statistics directory
466 expressed in number of days. This directive is only used by script
467 pgcluu_collectd in incremental mode. Only the last number of days
468 will be preserved, obsolete directories will be removed. It can be
469 used to preserved disk space. Default store indefinitely.
470 - Enable configuration reading to script pgcluu. The configuration
471 directive supported by this script is STATS_REPORT_RETENTION. It
472 is used to set the retention limit in static html report directory
473 expressed in number of days. This directive is only used by pgcluu
474 in incremental mode. Only last number of days will be preserved,
475 obsolete directories will be removed. It can be used to preserved
476 disk space. Default store indefinitely.
477 - Fix some uninitialized variables during report generation of
478 pg_stat_user_tables and pg_stat_user_indexes.
479 - Set default configuration file path to /etc/pgcluu.conf and no
480 more /usr/local/etc/pgcluu.conf
481 - Change $CONFIG_FILE declaration in CGI script.
482 - Update copyright year.
483 - Limit number of days to process for a single time period
484 controlled by configuration directive MAX_RENDERED_DAYS.
485 - Disable Year and Month time selector for the moment, this is too
486 much data to render with the actual implementation of pgcluu.cgi
487 - Separate cluster / database actions.
488 - Only display latest information in CGI mode for all database
489 table and index reports that reports a list of statistics.
490 These informations can not be cumulated over time selection.
491 - Add map between actions and binary file to only load relevant
492 files
493 - Improve report generation by reading only required data.
494 - Prevent reading sar stat from data file when already read from
495 binary file.
496 - Fix multiple call to set_device_list() and compute_sarfile_stats()
497 - Only display latest information in CGI mode for menu Home, SysInfo
498 and Database.
499 - Fix offset caching for incremental mode.
500 - Fix missing call to dump_sar_binary() when build cache from hourly
501 rotation.
502 - Fix missing System menu on some condition.
503 - Submit immediately the time selector when day/week/month/year is
504 selected.
505 - Add more information on incremental mode to documentation.
506 - Fix CGI Time selector behavior.
507 - Fix calendar output for days that have already been processed.
508 - Fix issue in CPU parsing from sar output since addition of Softnet
509 stats in version 11.7.2.
510 - Update minified javascript files and add file w3.js to the list
511 of resources files.
512 - Add resources/w3.js Javascript library to be able to include a
513 HTML file into an other. Used to not include the menu in each HTML
514 file from menu.html.
515 - Explode cluster.html output into per report dedicated files to
516 limit the size of a HTML file in incremental mode. This should
517 be applied to other huge files (system.html and database-DB.html).
518 - Fix some HTML tags.
519 - Add documentation about Dynamic Reports generation using the CGI
520 mode. Thanks to Maiken Saveljev for most part of the installation
521 guide.
522 - Add information about incremental mode and --retention option at
523 end of pgcluu help.
524 - Add example for incremental mode at end of help message.
525 - Add a warning about storing indefinitely statistics with script
526 pgcluu_collectd that can fill disk space in the short or medium
527 term. Obsolete statistics can be removed using new command line
528 option '--retention ndays' with pgcluu_collectd.
529 - Update documentation about pgcluu_collectd --retention option.
530 Thanks to Christoph Courtois for the feature request.
531 - Document sorttable license. The license is called X11 in the
532 file, but MIT on the website. Stick with MIT because that's what
533 the other js files are using. Thanks to Christoph Berg for the
534 patch.
535 - Add pages reports changes to CGI.
536 - Add report on pages scanned to report number of pages scanned by
537 the kswapd daemon and number of pages scanned directly per second
538 (pgscank/s and pgscand/s). Thanks to Jehan-Guillaume de Rorthais
539 for the feature request.
540 - Additional fixes and improvements on CGI devices detection to
541 display system menu.
542 - Fix unwanted "no dataset" in table stats.
543 - Modifiy pgcluu to support new changes in pgcluu_collected about
544 pg_stat_(user|all)_* statistics storage. This patch also remove
545 use of global variable %all_vacuum_stats that was duplicating
546 storage with %all_stat_user_tables that already contain vacumm
547 and analyze statistics.
548 - Add description of %vmeff to reports.
549 - Fix missing wait of compression child process resulting in zombi
550 process. Thanks to Jehan Guillaume de Rorthais for the report.
551 - Suppress which command error in some distribution. Thanks to
552 Michael Vitale for the report.
553
554 2018-12-13 - Version 2.9 released
555
556 This release is a minor release that fix a major issue in the
557 interval detection. This This led to a bad scale in bg_writter,
558 replication and most database statistics reports. Everybody must
559 upgrade immediately.
560
561 It also fixes some issues reported by users since last release:
562
563 - Improve devices list retrieving and fix several menu issues.
564 - Fix checkpoint counter legend.
565 - Move query in pg_stat_statements at the right of the table for
566 better readability.
567 - Fix report of disk use, mounted devices, running processes,
568 crontab and installed package to avoid duplicate entries.
569 - Empty SysInfo arrays before reading sysinfo file, this prevent
570 duplicate data.
571 - Improve parsing of sar file.
572 - Fix interval that was set in milliseconds instead of second.
573 This conduct to wrong scale (ex: Kb instead of Gb) in bg_writter,
574 replication and database statistics reports. Thanks to Guillaume
575 Lelarge for the report.
576
577 2018-11-28 - Version 2.8 released
578
579 This release is a minor release that fix some issues reported by
580 users over past months, it also adds some new reports:
581
582 - Add disk space utilization report over time using df command
583 for sysstat version older than 11.1.4.
584 - Add report of percentage of disk space and inode used on each
585 file system. The information is available in sar output since
586 11.1.4 version. Thanks to Guillaume Lelarge for the feature
587 report.
588 - Add PageTables information in SysInfo memory report.
589 - Show database information about table/indexes in capture mode.
590 - Add report of number of tasks currently blocked, waiting for I/O
591 to complete "Run queue" report.
592 - Add new report about system dirty memory that need to be written
593 to disk as well as amount of active/inactive memory.
594 - Show highest dirty memory to write and highest number of processes
595 blocked in overall stats page.
596 - Add report of crontab entries for the user running pgcluu.
597 - Add report of installed PostgreSQL packages in main page.
598
599 New pgcluu_collectd command line option:
600
601 - Add command line option --package-list to be able to set a custom
602 command to list PostgreSQL packages. Default is to auto-detect
603 package type between rpm and dpkg, using command 'rpm -qa' or
604 'dpkg -l'. If you have an other system you can use this option to
605 set a custom command. A filter on keyword 'postgres' is appended
606 to the command: ' | grep postgres'.
607
608 Here are the complete list of bug fixes in this release:
609
610 - Change the way sysstat version is checked and save the version
611 into to sysinfo.txt file for use in pgcluu script.
612 - Remove extra new line at end of data file generated by the
613 patch on search_path securing.
614 - Add collect of disk space and inode used over time stored in file
615 fs_stat_use.csv. Need more work to avoid duplicate data with new
616 versions of sar that already report fs space use.
617 - Replace all call to Perl ternary operator with usual if-then-else
618 statement. In some condition this operator do not works and makes
619 pgcluu return negative values in overall stats. This was happening
620 only when pgcluu encounter a stat reset in the data files. Thanks
621 to Guillaume Lelarge for the report.
622 - Remove /dev/loop from devices statistics report.
623 - Add PageTables information in SysInfo memoryb report. Thanks to
624 Adrien Neyrat for the patch.
625 - Remove some unwanted metrics displayed in capture mode.
626 - Show database information about table/indexes in capture mode.
627 - Exclude /dev/loop from result of "df" command and squashfs from
628 "mount -l" command.
629 - Prevent pgcluu_collectd to stop before that all metrics collected
630 from the current loop have been written to disk. When it receives
631 the terminate signal (-k option) it previously stops immediately,
632 the problem was that this can conduct to empty or incomplete data
633 file. Now it waits until the loop is terminated before exiting.
634 - Fix compression of hourly directory when -R | --rotate-hourly and
635 -z | --compress options are enabled. The compression was called
636 each loop and not at each hour rotation.
637 - Add warning about mandatory use of -d option when pg_buffercache
638 reports are enabled (-B) but pg_buffercache extention is not found
639 in the connection database.
640 - Fix missing buffercache statistics since secure path has been
641 included in commit b61bf44. This required that pg_buffercache
642 table call was prefixed by the public schema. Thanks to
643 lobojohnson for the report.
644 - Fix unwanted print of tablespace path in cluster reports.
645 - Remove not useful information in buffercache graph legends.
646 - CSS: Increase size of the sysinfo panel.
647 - Adapt automatically pgCluu to changes in sar sysstat tool since
648 version 11.5.7. As per sysstat commit 8d635e0: Replace "rd_sec/s"
649 and "wr_sec/s" fields with "rkB/s" and "wkB/s". These fields are
650 now expressed in kilobytes instead of sectors. Replace "avgrq-sz"
651 field with "areq-sz". This field is now expressed in kilobytes
652 instead of sectors. Rename "avgqu-sz" field to "aqu-sz" to make
653 it consistent with iostat's output.
654 - Add report of number of tasks currently blocked, waiting for I/O
655 to complete to "Run queue" report. This information is available
656 with sysstat >= 9.1.7
657 - Show also highest dirty memory to write and highest number of
658 processes blocked in main page.
659 - Add new report about system dirty memory that need to be written
660 to disk as well as amount of active/inactive memory. These metrics
661 are available in recent sar/sysstat versions.
662 - Add report of crontab entries.
663 - Change icon for packages report.
664 - Add report of PostgreSQL installed package in main page.
665 - Add storage information about PostgreSQL packages installed on
666 the system.
667 - Add command line option --package-list to be able to set a custom
668 command to list PostgreSQL packages. Default is to auto-detect
669 package type between rpm and dpkg, using command 'rpm -qa' or
670 'dpkg -l'. If you have an other system you can use this option to
671 set a custom command. A filter on keyword 'postgres' is appended
672 to the command: ' | grep postgres'.
673
674
675 2018-07-09 - Version 2.7 released
676
677 This release is a minor release that fix some issues reported by
678 users over past year, it also adds some new reports:
679
680 - Add reports of pgbouncer wait for server statistics.
681 - Make pgCluu more compatible with PG10 and pgBouncer 1.8
682 - Add kernel vm.overcommit_kbytes configuration to report.
683
684 Here are the complete list of bug fixes in this release:
685
686 - Fix Prepared Transaction menu not disabled with no stat data.
687 - Fix typos and use proper measure in the graph. Thanks to Fabio Porta for the patch
688 - Add vm.overcommit_kbytes to kernel report. Thanks to Adrien Neyrat for the patch.
689 - Since version 1.8 of pgbouncer, the command "show stats" changed output. Make pgcluu compatible. Thanks to Fabio Pardi for the report and the mapping of changes.
690 - Fix issue in partitionning lookup.
691 - Secure search_path before executing SQL queries.
692 - Fix several use of unintialized variable case.
693 - Add missing function IsLeapYear. Thanks to Emmanuel Boucle for the patch.
694 - Fix report for network and disk devices in incremental mode.
695 - Fix unwanted Network menu when no network device are found.
696 - Fetch devices informations. Thanks to Adrien Neyrat for the patch.
697 - Dockerise pgcluu, the container helps run both the collection and the report generator. Thanks to Roy Golan for the patch.
698 - Disable System submenu when the corresponding report is not available.
699 - Append %idle to cpu report.
700 - Fix list of resources files. Thanks to Bosstek Consulting for the report.
701 - Change fetch_version() to be closer with the new versioning politic in 10.0 and above. Thanks to Julien Rouhaud for the patch.
702 - Makes pgcluu compatible with PostgreSQL 10.0.
703
704
705 2017-07-09 - Version 2.6 released
706
707 This release is a minor release that fix some issues reported by
708 users over past year but it also adds some new interesting reports:
709
710 * Add report on prepared transaction and oldest one in seconde
711 per database.
712 * Detect partitions and summarize information in a dedicated
713 report.
714 * Add kernel scheduler configuration for sched_autogroup_enabled
715 and sched_migration_cost_ns to sysinfo report.
716 * Add report of configuration files changes in incremental mode.
717 * Report on cancelled queries due to conflicts is now a time
718 based graph instead of a pie chart.
719 * bgwritter buffer clean, checkpoint and backend statistics are
720 now reported as bytes using size of 8192 per buffer.
721 * Add report of allocated buffers with bgwritter buffer statistics.
722 * Add report of transaction throughput per second.
723 * Show data checksum status.
724 * Add report of unlogged tables. Database with unlogged tables
725 will be listed in cluster view.
726 * Add hourly index when --rotate-hourly is enabled.
727
728 and useful features:
729
730 * Compatibility with PostgreSQL 10.0
731 * Add static index on main directory with incremental report
732 to link to the different days.
733 * Use bootstrap modal dialog windows to download graph as png.
734 * Autodetect interval between collected data to support interval
735 change during stats collect.
736 * Replace javascript call to dateToDisplay.toGMTString() with
737 dateToDisplay.toString(). Please note that this could not be
738 backward compatible with your previous timezone settings. See
739 pgcluu.js to revert the function call.
740 * Create DDL of missing index concurrently.
741
742 Here are the complete list of bug fixes in this release:
743
744 - Finalize systemd unit files. pgcluu_collectd.service is used to
745 start pgcluu_collectd in daemon mode. Other files, pgcluu.service
746 and pgcluu.timer to execute pgcluu periodically to generate reports.
747 - Add import of missing jqplot.canvasAxisLabelRenderer.min.js file used
748 to render axis labels in graphs.
749 - Set logo and icon on a single line in an url attribute as chrome
750 complain that it will be obsolete in M60.
751 - Add partitioning report and partition information into cache.
752 - Add hourly index when --rotate-hourly is enabled.
753 - Add support of partition information to cache mode.
754 - Fix unwanted exit in cache mode
755 - Cosmetic change in tooltip and download button. Main menu font size have also been improved.
756 - Update generated html to use Bootstrap 3 glyphicons.
757 - Add javascript and CSS sources, licences and download information for
758 packaging. Add a tool to minified and embedded the script and css into
759 pgcluu Perl script and copy the minified files into cgi-bin/rsc/
760 - Add minified resources file for CGI into cgi-bin/rsc
761 - Fix redundant index query. Thanks to Julien Rouhaud for the patch.
762 - Detect partitions and summarize information in a dedicated report.
763 Thanks to Julien Rouhaud for the patch.
764 - Refactor pidfile unlink handling. Thanks to Julien Rouhaud for
765 the patch.
766 - Limit call to pg_relation_size() when we are in capture mode.
767 Thanks to Guillaume Lelarge for the report.
768 - Add information about recheck of redundant index with primary key
769 and index on a column referencing a foreign key.
770 - Fix exclusion of UNIQUE index in redudant indexes report.
771 - Fix incremental global index on resize.
772 - Update year in copyright.
773 - Add index on main directory with incremental report to link to
774 the different days. Thanks to Heath Yob for the feature request.
775 - Add verification that pg_stat_statement is loaded from
776 shared_preload_libraries.
777 - Fix incomplete per-database-statistics. Thanks to Markus Braunig
778 for the report.
779 - Add kernel scheduler configuration for sched_autogroup_enabled
780 and sched_migration_cost_ns to sysinfo report. Thanks to Adrien
781 Nayrat for the patch.
782 - Fix broken main menu when no disk devices was present in sar
783 report.
784 - Allow to set label for y2axis in create_linegraph() parameters
785 - Change parameters and return of the get_diff() method to support
786 incremental mode.
787 - Create function get_diff() and shows_diff() to report
788 configuration file change.
789 - Append new color for line graph.
790 - Set missing database list with sysinfo and about menu.
791 - Fix Not a HASH reference in function reporting information about
792 indexes.
793 - Rename diff storage variables and stores them in binary file.
794 Initialyze storage variables for statistics that must be read
795 from file each time.
796 - Fix detection of working directories with dates over two months.
797 - Fix runqueue size report. Thanks to Thomas Reiss for the report.
798 - Create function to reuse the look for sysinfo file.
799 - pgcluu CGI now append new csv statistic to cached binary files.
800 - The menu is now built at end to avoid reading csv files first to
801 look for database, disk device and network interface.
802 - The CGI home page is now just built from the binary files to
803 speed up the first screen. As we do not append last data collected
804 from the csv files we indicate at which time the cache was last
805 built. This is to give a quick snapshot of the dashboard. When
806 looking at the statistics binary and csv files are both read.
807 If the cache have not been run yet, pgcluu will read dashboard
808 statistics from data fileis which takes longer to display.
809 - Allow incremental cache. When running in cache mode pgcluu will
810 append new csv statistics to old cached binary files. Then when
811 building reports, pgcluu will first load statistics from binary
812 files and complete statistics with data from csv file collected
813 after the last cache mode run. This mean that if cache mode is
814 run each minute on an incremental statistics collect (see option
815 -r or -R of pgcluu_collectd), pgcluu is able to create report very
816 quickly at any time. This is especially useful with CGI mode where
817 a full day statistics report can be displayed in few seconds.
818 - Fix diff of configuration files, old and new files was inversed.
819 Thanks to Adrien Nayrat for the report.
820 - Fix display of message no dataset on empty graphs.
821 - Update description of temporary files report and statistics
822 on checkpoints.
823 - Rewrite use of interval between collected data to support change
824 during collecting. Interval is now always calculated from the
825 difference between the current line end the previous line. This
826 mean that the first line is never present in reports with per
827 second statistics.
828 - Fix formatting of bytes in pretty number.
829 - Improve storage of database list with huge number of database.
830 - Fix timezone on all reports and remove graph per tablespace and
831 replace them with a list of tablespace and their location.
832 - Fix timezone on start and end timestamp of collect. Remove graph
833 per tablespace and replace them with a list of tablespace and
834 their location.
835 - Clear Start/End input box at startup in CGI.
836 - Comment and include REVERT_DATE toogle about sar date format
837 in CGI configuration file.
838 - Fix timezone and time selector in javascript menu.
839 - Fix use of timezone and date detection in sa file.
840 - Fix date parsing from sa text file.
841 - Fix some warning about use of undefined variables.
842 - Add link to last known statistics in CGI front page when no
843 data are found.
844 - Fix a call to timegm_nocheck()
845 - Split set_overall_stat_from_binary() in two function, one for
846 database orverall statistics and the other for system statistics.
847 - Fix parsing of sa file.
848 - Do not load statistic from the last day when hour:min is 00:00.
849 - Fix some bugs when there is just sar cached binary files.
850 - Fix two digit in date parts on start/end date.
851 - Fix cache mode when there is just sar file in entry.
852 - Add INCLUDE_DEV configuration directive to be able to filter
853 disk device. Allow comma as list separator in configuration file.
854 - Add information about how to parse sysstat sa binary and text file.
855 - Fix remove of unlogged tables following pg version.
856 - Fix colspan on unlogged table report.
857 - Add report of transaction throughput per second.
858 - Use psql -X option so .psqlrc doesn't get in the way. If .psqlrc
859 contains for example \timing, pgcluu_collectd will get confused.
860 Thanks to Christoph Berg for the patch.
861 - Separate svctm/await dataset on two different axes.
862 - Remove unwanted bgwriter stats prior pg 9.1
863 - Add data checksum status to CGI report.
864 - Fix autodetection of timezone and set default timezone for sar
865 statistics to the result of
866 perl -MPOSIX -e "print substr(strftime(\"%z\", localtime()), 0, 3);".
867 - Replace javascript call to dateToDisplay.toGMTString() with
868 dateToDisplay.toString(). Please note that this could not be
869 backward compatible with your previous timezone settings. See
870 pgcluu.js to revert the function call.
871 - Fix an issue with --from-sa-file where date was still incremented.
872 Thanks to Flavie Perette for the report.
873 - Replace sadf -D option by -d to obtain a compatible output.
874 - Separate svctm/await dataset on two different axes to be able to
875 see both dataset.
876 - Fix kernel parameter hugepage report when not available.
877 - Fix all call of psql that use both -f - and -c that doe not have
878 the same behavior in pg 9.6. Previous version does not care of
879 the -f stdin input when a command was provided with -c. This not
880 compatible anymore. Thanks to Vincent Laborie for the report.
881 - Fix collect of lock in pg_stat_activity with PostgreSQL 9.6.
882 Thanks to Vincent Laborie for the report.
883
884
885 2016-04-27 - Version 2.5 released
886
887 This release is a major release that fix some issues reported by
888 users over past year and a full replacement of the flotr2 javascript
889 chart library with jqplot.
890
891 There's also some new interesting reports:
892
893 * Add report for hash indexes.
894 * Keep track of pg_settings and database/roles settings changes and
895 show diff in the the reports.
896 * Add report of pending restart in pg settings view.
897 * Add information about percentage of timed against requested
898 checkpoints.
899 * Split database menu in submenu per set of 10 databases.
900 * Add report of tables without indexes and tables with more than
901 five indexes.
902 * Add report about invalid index after concurrency build.
903 * Add report of system and PostgreSQL uptime.
904 * Add report of last statistics reset per database and report of
905 last autovacuum and autoanalyze.
906 * Add report of bgwriter last statistics reset in Home/Cluster view.
907 * Add a non default configuration settings report.
908
909 and useful features:
910
911 * Autodetect timezone from csv data files and automatic adjustment
912 of chart axis.
913 * Add systemd start script.
914 * Add collect of crontab information.
915 * Add support to daylight saving.
916 * Add compatibility with PostgreSQL 9.5
917 * Add ablity to export plots data as csv
918 * Set legend table outside the graph.
919 * Display specific titles and description for overall graphs.
920
921 Note that a CGI script have been added to be able to perform temporal
922 lookup in incremental pgCluu statistics, with predefined year, month,
923 day and hour views. This is a work in progress, it will be available
924 in next major release.
925
926 Upgrade: you can safely override previous installation, backward
927 compatibility with 2.4 version is preserved.
928
929 Here are the complete list of bug fixes in this release:
930
931 - Add report for hash indexes. Thanks to Adrien Neyrat for the
932 patch.
933 - Fix detection of non official release like EnterpriseDB or devel.
934 Thanks to Piotr Gbyliczek for the patch.
935 - Add use of IO::File, some system was complaining about that.
936 Thanks to microtodd for the report.
937 - Only collect stored procedures count instead of name list.
938 - Refresh sysinfo.txt at each loop and order output per database
939 name.
940 - Fix capture mode with PostgreSQL version 8.4
941 - Fix some bug in capture report.
942 - Fix use of timezone in cluster/database related charts.
943 - Autodetect timezone from csv data files.
944 - Fix some documentation typo about systemd use and apply change to
945 pgcluu.pod.
946 - Fix systemd unit files. Thanks to gabx for the patch.
947 - Update README with systemd unit files usage
948 - Add collect of crontab information. It uses the current logged
949 username or postgres as default and it can be overriden with the
950 --cron-user command line.
951 - Do not collect metrics if previous time is upper than current time
952 This is to prevent storing statistics twice when hour change
953 during daylight saving. Thanks to brownbh3 for the report.
954 - Keep track of pg_settings and database/roles settings changes and
955 show diff in the the reports.
956 - Update comment on pg_settings columns.
957 - Add report of pending restart in pg settings view.
958 - Exclude from non default settings collect case where setting equal
959 boot_val.
960 - Add collect of pending_restart column from pg_settings (pg 9.5).
961 - Remove obsolete css file, it is replaced by font-awesome.min.css
962 - Keep track of configuration files changes by storing diff to files
963 Changes are sorted by date at bottom of the configuration reports.
964 - Fix range of icons in embedded fontawesome css.
965 - Fix report of number of xlog data written per second. Thanks to
966 Ronan Dunklau for the report.
967 - Add ablity to export plots data as csv. Thanks to Julien Rouhaud
968 for the patch.
969 - Fix/change some fontawesome icons.
970 - Fix menu height in pgcluu css.
971 - Add ablity to export plots data as csv
972 - Fix scale on yaxis sticks in javascript graphs.
973 - Report percentage between checkpoint timed and requested in legend
974 - Add information about percentage of timed against requested
975 checkpoints.
976 - Update with resources directory move.
977 - Move resources directory into cgi-bin/ to be less confusing.
978 - Update list of file in MANIFEST for pgcluu package.
979 - Fix top menu height and color in start/end date input box of CGI.
980 - Update html header with new .min.css and .min.js files
981 - Use minimalist version of CSS and Javascript and remove call to
982 sourceMappingURL
983 - Replace external font file fontawesome-webfont.ttf by the base64
984 embeded version.
985 - Removed by their optimised min files.
986 - Fix unparsed section in sysinfo.txt when file is generated from
987 a Windows server.
988 - When system information are missing, display a message.
989 - Remove Deadlocks end Temporary files menu when PostgreSQL version
990 id lower that 9.2.
991 - Fix y2axis on hit ratio and commit vs rollback reports. Thanks to
992 Guillaume Lelarge for the report.
993 - Fix report of huge page information.
994 - Fix an additional series 4 in background writer clean stats report
995 Thanks to Guillaume Lelarge for the report.
996 - Disable mouse click on disabled menu.
997 - Do not display empty deadlocks and temporary files informations if
998 PostgreSQL version is lower than 9.2. Thanks to Guillaume Lelarge
999 for the report.
1000 - Prevent display of SysInfo menu when there is no such information.
1001 Thanks to Guillaume Lelarge for the report.
1002 - Prevent collect of local system information when option -h is used
1003 but --enable-ssh is disabled. Thanks to Guillaume Lelarge for the
1004 report.
1005 - Set daily rotation instead of hourly.
1006 - Add pgcluu.service file to start/stop pgcluu_collectd with systemd
1007 Thank to Arnaud Gaboury fot the file.
1008 - Fix call to current_setting(checkpoint_segments) in dump_xlog_stat
1009 It has been replaced by max_wal_size in PostgreSQL 9.5.
1010 - Renamed option --notablespace by --no-tablespace.
1011 - Split database menu in submenu per set of 10 databases.
1012 - Remove border and shadow from all graphs.
1013 - Set legend table outside the graph.
1014 - Rewrite call to pgcluu_slide.js
1015 - Reduce font size in legend and tooltip chart.
1016 - Forgot to include uptime with PostgreSQL version in main page.
1017 - Fix homepage statistics when data are loaded from cache file.
1018 - Add subtitle in homepage panels.
1019 - Fix number of connection in home page.
1020 - Fix wrong count of database and tuples returned in overall stats.
1021 - Fix report of bgwriter stats_reset.
1022 - Make some changes in SysInfo view.
1023 - Force default date before looking to working dir. Only look for
1024 incremental repositiory with CGI.
1025 - Replace flotr2 javascript chart library with jqplot.
1026 - Add time navigation in pgcluu CGI
1027 - Add a configuration file to CGI
1028 - Update resources/ directory with new javascript libraries
1029 - Remove temporary debug line.
1030 - Add margin to panel buttons and center the graph. Thanks to Tomer
1031 Steinfeld for the patches.
1032 - Fix report of overcommit_memory.
1033 - Add configuration file for CGI initialization.
1034 - Fix two bugs on indexes report
1035 - Add report about invalid index after concurrency build
1036 - Fix report on most indexed tables
1037 - Add report of tables without indexes and tables with more than 5
1038 indexes. Thanks to julien Rouhaud for the feature request.
1039 - Add statistics collect about number of indexes by table. Stats
1040 are stored in pg_stat_count_indexes.csv
1041 - Add postmaster start time. Thanks to Julie Rouhaud for the feature
1042 request.
1043 - Add system uptime information. Thanks to Julien Rouhaud for the
1044 feature request.
1045 - Add report of last statistics reset per database and report of
1046 last autovacuum and autoanalyze. Thanks to Julien Rouhaud for the
1047 feature request.
1048 - Add report of bgwriter last statistics reset in Home/Cluster view
1049 Thanks to Julien Rouhaud for the feature request.
1050 - Add collect of invalid indexes.
1051 - Fix pg 8.4 compatibility. Thanks to Julien Rouhaud for the patch.
1052 - Check indisprimary instead of name starting by "pk", and also
1053 exclude index supporting an exlucsion constraint. Thanks to Julien
1054 Rouhaud for the patch.
1055 - Fix colspan for pg_settings reports. Thanks to Julien Rouhaud for
1056 the patch.
1057 - Add a non default configuration settings report. Thanks to Julien
1058 Rouhaud for the patch.
1059 - Fix missing global title/description for connections and remove
1060 call to normalize_line on index report. Thanks to Julien Rouhault
1061 for the report.
1062 - Display specific titles and description for overall graphs. Thanks
1063 to Julien Rouhaud for the patch.
1064 - Fix wrong call to pg_current_xlog_location() on secondary host.
1065 Thanks to Julien Rouhaud for the report.
1066 - Fix error when pgcluu is just used to parse a sar output file.
1067 Thanks to Euler Taveira de Oliveira for the report.
1068 - Fix wrong calculation of pg_stat_replication lag reports.
1069 - Fix error: "Invalid offset: 0" when parsing pg_stat_replication
1070 statistics. Thanks to vscherbo for the report.
1071 - Fix regexp in previous commit to be more strict.
1072 - Fix creation of wrong database menu using function name. Thanks
1073 to spritchard for the report.
1074 - Fix psql error when using --list-metric option. Thanks to Fabio
1075 Pardi for the report.
1076 - Fix wrong storage of previous value in pg_stat_user_functions
1077 which result in counts on the database-functions page completely
1078 wrong. Thanks to Steve Pritchard for the patch.
1079 - Remove redundant regular expressions.
1080 - Update CSS and JS files in resources directory and datetimepicker
1081 ressources files for cgi.
1082
1083 2015-07-25 - Version 2.4 released
1084
1085 This release is a maintenance release that fix some issues. There's also some
1086 new interesting reports:
1087
1088 * Transfers per second (read/write/both) on all devices from sar -b
1089 * Transfers per second for each device from sar -d .
1090 * Number of tasks created per second
1091 * Number of context switches per seconds.
1092 * Improve pg_stat_statement report by adding all shared block stats
1093 and read/write I/O timing per query when track_io_timing is enabled.
1094 * Add device with highest tps on overall system information.
1095
1096 and useful features:
1097
1098 * Add --capture mode to pgcluu_collectd to be be able to build a snapshot of
1099 the PostgreSQL instance and exit. pgCluu will automatically adapt the report
1100 to this capture mode. It will use a temporary directory /tmp/pgcluu_capture
1101 to generate a tarball /tmp/pgcluu_capture.tar.gz containing the capture.
1102 * Add pgCluu logo and ico to the html output.
1103 * Add --charset option to be able to change the html charset, default: utf8.
1104 * Allow regular expression in database list available in reports, for example:
1105 with --db-only "p.*", only database beginning with p will be reported.
1106 * Allow pgcluu to parse and compute statistics from gzip compressed files.
1107 * pgcluu will not stop anymore if the sar file is not found, it will only
1108 show a warning message and continue.
1109
1110 This release also adds -r | --rotate-daily and -R | --rotate-hourly options to
1111 pgcluu_collectd be able to rotate statistic files on a daily or hourly basis.
1112 You can use -z or --compress option to compress rotated data files. Thanks to
1113 Euler Taveira de Oliveira for the feature request.
1114
1115 There also some code relative to next coming major release that will be used
1116 to allow a full incremental mode and a temporal navigation into the collected
1117 statistics from a CGI program. This code enable caching (option -C or --cache)
1118 by dumping statistics stored in memory into binary files. With those files, data
1119 files can be removed (automatically with option -c or --clean) and report can
1120 be build later from them. This is not really useful now but this s the first
1121 stage to build incremental and cumulative reports.
1122
1123 Here are the complete list of bug fixes in this release:
1124
1125 - Fix pretty print number format when units are blocks and not sizes.
1126 - Do not apply database list restriction on total cluster size calculation.
1127 - Fix Statistics about I/O on Indexes.
1128 - Rewrite some parts of the overall system statistics for better performances.
1129 - Fix bug in overall stat for Most read/written device, they was multiplied
1130 by 512 (size of a block) twice.
1131 - Fix system report of r/w and tps per devices.
1132 - Fix wrong report of pg_buffercache statistics.
1133 - Remove some global variables with local redeclaration.
1134 - Fix use of uninitialized value during build of pg_stat_statement report.
1135 - Fix Statements statistics not available because a local var is used during
1136 computation. Thanks to Michel Meyer for the patch.
1137 - Fix uninitialized value and wrong overall reports in Home menu. Thanks to
1138 Assem Bayahi for the report.
1139 - Remove garbage from last commit.
1140 - Fix replication lag statistics report and add new report about
1141 "Number of xlog data written per second."
1142 - Fix documentation about --included-db
1143 - Fix pgcluu_collectd crash when --no-database is used and the psql command
1144 is not available. Thanks to Ronan Dunklau for the report.
1145 - Fix call to cluster canceled queries statistics.
1146 - Fix menu when no database are found.
1147 - Fix start/end date and path to sar file in incremental and capture mode.
1148 - Separate load of statistics from report builder.
1149 - Make paths internally relative into output directory especially for
1150 incremental facilities.
1151 - Fix several issue that prevented configuration files to be copied into the
1152 output directory.
1153 - Allow white space in db's names. Thanks to Nicolas Thauvin for the report.
1154 - Fix wrongly disabled temporary files menu.
1155 - Fix database list with character - inside the name
1156 - Fix replication and checkpoint report and corresponding menus disabled.
1157 Thanks to Zsolt for the report.
1158 - Fix a print on undefined value when a device is mounted after the first
1159 execution of pgcluu. Thanks to Ezequiel Mina for the report.
1160 - Add timezone option for perl localtime() and fix mixed formated tabs. Thanks
1161 to David Cramblett for the patch.
1162 - Add missing information into usage about -w | --password option.
1163 - Fix for sar command when ssh not in use. Thanks to David Cramblett for the
1164 patch.
1165 - Make error message during first connection more explicit. Thanks to Gregoire
1166 Pineau for the report.
1167 - Be sure that interval is always != 0 to avoid illegal division by zero.
1168 Thanks to Gregoire Pineau for the report.
1169 - Fix control character in substitution regex.
1170 - Fix error message for $OUTPUT_DIR not being empty should not use $INPUT_DIR.
1171 Thanks to Matthew Musgrove for the patch.
1172 - Fix limit reports to the database when --only-db is used. Thanks to Bianca
1173 Santana Espichicoquez for the report.
1174
1175 2015-02-06 - Version 2.3 released
1176
1177 This release is a maintenance release that fix some issues. There's also a new
1178 report about "Role Settings" per database.
1179
1180 - Report default parameters values set with ALTER DATABASE and ALTER ROLE
1181 in new menu item: "Database/Role Settings". Thanks to Thomas Reiss for
1182 the feature request.
1183 - Fix detection of disk device in sar file.
1184 - Add boot value to the settings report
1185 - Add Unit and Reset value in pg_settings report to highlight parameters
1186 where values have been changes outside the configuration file.
1187 - Fix handling of sysinfo information, and enhance .gitignore. Thanks to
1188 Julien Rouhaud for the patch.
1189 - Fix kernel.* and transparent_hugepage display on Sysinfo section. Thanks
1190 to Julien Rouhaud for the patch.
1191
1192 2015-01-05 - Version 2.2 released
1193
1194 This release is a maintenance release that fix several issues. There's also a
1195 simple report of transparent_hugepage from the system and a menu enhancement
1196 by dividing the device menu per 10 items which is helpful when there's plenty
1197 of disk devices.
1198
1199 - Increase copyright year to 2015.
1200 - Fix bug in database list extraction.
1201 - Fix query to get missing foreign key indexes. Thanks to Ronan
1202 Dunklau for the patch.
1203 - Add collect of transparent_hugepage information into sysinfo.txt file.
1204 (read from /sys/kernel/mm/transparent_hugepage/-)
1205 - Fix overwriting of idle_in_xact for all database, should be idle.
1206 Thanks to Guillaume Lelarge for the patch.
1207 - Fix query for missing indexes on FKs. The previous query reported
1208 every index that SHOULD exist for FKs, but was not filtering out the
1209 already existing ones. Thanks to Ronan Dunklau for the patch.
1210 - Do not report redundant indexes when one is partial and not the other
1211 one. Thanks to Ronan Dunklau for the report.
1212 - Fix statement to search redundant index by not reporting index that
1213 has uniqueness and not the other one. The statement now also reports
1214 duplicate indexes on the same column and not only composite indexes.
1215 Thanks to Ronan Dunklau for the report.
1216 - Divide Devices menu by part of 10 devices. Useful when there is plenty
1217 of disk devices.
1218 - Add --from-sa-file to allow parsing of sar output coming from a sa
1219 daily file.
1220 - Fix call to local sar command and limit test on application_name for
1221 pg version >= 9.0. Thanks to Julien Rouhaud for the report.
1222 - Set application_name to pgcluu before collecting data and exclude
1223 from pg_stat_activity queries generated by pgcluu.
1224
1225 2014-09-25 - Version 2.1 released
1226
1227 This release fix a lot of issue reported since six month and adds some
1228 improvments:
1229
1230 Allow system information commands to be executed remotely
1231 Allow sar to be executed on a remote serveur using ssh connection.
1232 New options to pgcluu_collectd:
1233 -M or --max-size option to allow an output dir size limit.
1234 --no-database to avoid collecting statistics from a database.
1235 -C count to terminate program after collecting data for X times.
1236 -E or --end-after to terminate program after for some time.
1237 -V or --version to show version information.
1238
1239 New or enhanced reports/features:
1240 Add report of connections waiting for a lock.
1241 Add average duration time in statement report.
1242 Add pg_stat_statements report.
1243 Add pg_default and pg_global to tablespace size report.
1244
1245
1246 Other changes/fixes:
1247
1248 - Allow system information commands to be executed remotely. Thanks to
1249 Ahmad Iftekhar Rumman for the report.
1250 - Add --no-database to avoid collecting statistics from a database.
1251 Useful if you just want to collect sar statistics.
1252 - Fix query to collect information from pg_stat_activity that fail on
1253 postgres-xl and certainly postgres-xc. Thanks to xiao huan for the
1254 report.
1255 - Fix pgcluu_collectd to stop capturing activity when option -C is
1256 omitted. Thanks to Thomas Reiss.
1257 - Fix pg_settings query unit is available in >= 8.2 and boot and reset
1258 since 8.4. Thanks to Euler Taveira de Oliveira for the patch.
1259 - Fix unopen filehandle in printing system disk device statistics.
1260 Thanks to Ahmad Iftekhar Rumman for the report.
1261 - Cosmetic fixes in docs. Thanks to Euler Taveira de Oliveira for the
1262 patch.
1263 - Documentation update with the new -C option to pgcluu_collectd.
1264 - Terminate program after collecting data for X times. This is another
1265 option to end the program. Instead of doing some math with time
1266 counter, use a numeric counter. It can be combined with -i option too.
1267 Also, time (-E) has precedence over numeric (-C). Thanks to Euler
1268 Taveira de Oliveira for the patch.
1269 - Add report of kernel nr_hugepages report, 9.4+ now support huge page
1270 supported. Thanks to Euler Taveira de Oliveira for the patch.
1271 - Fix connection report enabled when a database has no connection.
1272 Thanks to Guillaume Lelarge for the report.
1273 - Add configuration report of recovery.conf and postgresql.auto.conf.
1274 Thanks to Guillaume Lelarge and Julien Rouhaud for the report.
1275 - Removed useless Type column in Indexes ans Tables size reports. Thanks
1276 to Guillaume Lelarge for the report.
1277 - Disable Conflict and Canceled queries menus when this is not a standby
1278 server. Thanks to Guillaume Lelarge for the report.
1279 - Fix some typo reported in issue #20. Thanks to Guillaume Lelarge for
1280 the report.
1281 - Change Returned and Fetched legend to Table (returned) and Index
1282 (fetched). Thanks to Guillaume Lelarge for the report.
1283 - Fix keep tick formatting when zooming. Thanks to Julien Rouhaud for
1284 the patch.
1285 - Fix non exclusion of devices in System Network and Devices submenu.
1286 Thanks to Thomas Reiss for the report.
1287 - Fix some error uninitialized value in concatenation.
1288 - Allow pgbouncer statistics collect+report only. Thanks to Eric
1289 Veldhuyzen for the report.
1290 - Add boot_val and reset_val to pg_settings output.
1291 - Fix multiline in df system information. Thanks to Nicolas Thauvin
1292 for the report.
1293 - Add -M or --max-size option to allow an output dir size limit. For
1294 example using -M 100MB will interrupt pgcluu_collectd when output dir
1295 will reach this size. Require the du system command. Thanks to Nicolas
1296 Thauvin for the feature request.
1297 - Add new option -E or --end-after to tell pgcluu_collectd to run for
1298 some time before terminating automatically. Thanks to Nicolas Thauvin
1299 for the feature resquest.
1300 - Fix issue with pg_stat_statements metrics when the extension was not
1301 installed in a schema searchable in the search_path connected user
1302 value. Thanks to Nicolas Thauvin for the report.
1303 - Failure on null value on replication report when pg_basebackup was
1304 running. Thanks to Emmanuel Vinet for the report.
1305 - Add/fix report of connections waiting for a lock. Thanks to Guillaume
1306 Lelarge for the report.
1307 - Replace label Waiting and Waiting in xact by Idle and Idle in xact in
1308 connection graph. Thanks to Guillaume Lelarge for the report.
1309 - Fix metrics that was not accepted if passed alone: pg_settings,
1310 lock_granted,lock_modes,lock_types. Thanks to Fabio Pardi for the
1311 report.
1312 - Add information about -v|--verbose and -V|--version to documentation.
1313 - Add -V | --version option. Thanks to Fabio Pardi for the feature
1314 request.
1315 - Fix several issues in disabling menu in cluster reports.
1316 - Fix temporary statistics report, menu was always disabled. Thanks to
1317 Julien Rouhaud for the report.
1318 - Fix wring number of CPU sockets that was reporting the total number
1319 of cores. Thanks to Thomas Reiss for the report.
1320 - Add collect of the extensions version. Thanks to Jehan-Guillaume de
1321 Rorthais for the request.
1322 - Add support to individual reports when the --metrics option have been
1323 used with pgcluu_collectd.
1324 - Fix some uninitialized variables and errors when pgcluu has only some
1325 metrics to parse.
1326 - It will not search for pg_database_size.csv anymore to contruct the
1327 list of database and read pgbouncer file to get list of database with
1328 pgbouncer.
1329 - Generation of database related reports (cluster, database, pgbouncer)
1330 have been review to use non global filehandle. It will not search for
1331 pg_database_size.csv anymore to contruct the list of database and
1332 prevent case where some reports was genereted twice.
1333 - Speed improvement.
1334 - Rename --os-info option into --sysinfo and add --no-sysinfo option to
1335 completly disable the generation of sysinfo.txt
1336 - Fix --metrics option that was not limiting the kind of metrics to use.
1337 Thanks to Fabio Pardi for the report.
1338 - Fix bug in device lookup in sar file that was generating undefined
1339 filehandle. Thanks to Toth Csaba for the help
1340 - Fix several part where pgcluu crash using undefined variable if the
1341 database in not found in pg_database_size.csv.
1342 - Fix error print on an undefined value when a database does not have
1343 lock defined. Thanks to Csaba Toth for the report.
1344 - Fix typo in System memory utilization report description.
1345 - Fix typo in Commits/Rollbacks report description.
1346 - Fix typo in Read Tuples report description.
1347 - Fix typo in locks per type report description.
1348 - Fix typo in Statistics about cache utilisation per relation.
1349 - Change description of Replication lag report.
1350 - Add sorttable.js to resources directory.
1351 - Fix position of index.html#home.
1352 - Fix parsing of --db-only, --dev-only ... comma separated list.
1353 - Fix typo in ssh related option. Thanks to Jehan-Guillaume de Rorthais
1354 for the report.
1355 - Fix code to set ssh command and allow collect of configuration files
1356 through ssh.
1357 - Allow sar to be executed on a remote serveur using ssh connection.
1358 Add --enable-ssh to activate this feature, the remote host is defined
1359 using -h option. There is several new options --ssh-* to be able to
1360 take full control of the ssh connection.
1361 - Add average duration time in statement report.
1362 - Add pg_stat_statements report.
1363 - Override statements statistics on each loop.
1364 - Replace multiple space by single one in pg_stat_statements queries.
1365 - Fix pg_stat_statements collect to replace semi-colon by SEMICOLON
1366 keyword to prevent breaking CSV format.
1367 - Add pg_default and pg_global to tablespace size report. Fix issue on
1368 spclocation display on per tablespace reports.
1369
1370 2014-03-22 - Version 2.0 released
1371
1372 This major release adds more than twenty new reports. pgCluu now reports
1373 everything you want to know about your PostgreSQL server from a cluster,
1374 database, or operating system point of view. It is also able to collect
1375 statistics about pgBouncer, shared buffer utilization using pg_buffercache,
1376 most frequent and time consuming queries with pg_stat_statements and really
1377 much more, see full list bellow.
1378
1379 New or enhanced reports/features:
1380
1381 - Allow pgcluu_collected to collect sar and configuration files
1382 remotely together with PostgreSQL statistics using a ssh connection.
1383 That mean that pgCluu is fully able to audit a remote server.
1384 - Add pg_stat_statements report showing most frequent and time
1385 consuming queries.
1386 - Add reports for unused and redundant indexes per database.
1387 - Add report about archiver statistics with PostgreSQL 9.4 new
1388 pg_stat_archiver view.
1389 - Add report about wal files created vs recycled and the max number
1390 of wal files.
1391 - Add reports about network interfaces utilization and network errors.
1392 - Add reports about system cache page in/out from/to disk.
1393 - Add report of isdirty statistics.
1394 - Add --exclude-time to pgcluu_collectd options to stop collecting
1395 statistics during a period of time. Ex: --exclude-time "22:00-06:00"
1396 to stop collecting data from 22:00 to 06:00 am the next day.
1397 - Add report about percentage of shared buffer used per database
1398 - Add report about percentage of each databases loaded in shared buffer
1399 - Add report about usagecount distribution in shared buffer
1400 - Add report about usagecount distribution in dirty shared buffer
1401 - Add report of number of shared buffer/pages used by a relation
1402 - Add report number of buffers loaded in cache for a relation relation
1403 and the percentage of the relation loaded (1).
1404 - Add reports about configuration files (postgresql.conf, pg_hba.conf and
1405 pg_ident.conf), pgcluu_collectd must be run as postgresql user.
1406 - Add report of user functions statistics.
1407 - Add report about the pgbouncer settings in Configuration submenu.
1408 - Add copy of pgbouncer.ini file in Configuration submenu.
1409 - Add report of pg_settings in Configuration submenu..
1410 - Add report with SQL orders to create missing indexes on foreign keys.
1411 - Allow HTML table sort with a modified version of the javascript library
1412 sorttable.js
1413 - Moved System info report from sar sytem menu to a dedicated main SysInfo
1414 menu.
1415 - Add the number and list of extensions used inside the PG cluster.
1416 - Add reports about Locks per types, Locks per modes and Locks granted or not.
1417 - Add report about I/O statistics per index.
1418 - Add report about I/O statistics per table.
1419 - Add last manual vacuum/analyze datatime on database info report.
1420 - Add per database index statistics.
1421 - Add report of size and number of tuples per table of a database.
1422 - Add statistics reports per table (idx_scan/seq_scan, vacuums/analyzes,
1423 Insert/update/delete/hot update and live/dead tuples).
1424 - Add count of user triggers in database information slide.
1425 - Add Database info submenu per database to display the general information
1426 about a database (installed extension, schemas, number of Stored procedures
1427 and of all kind of object.
1428 - Add last know size of the database in the Database info slide.
1429 - Add total number of databases on cluster key values.
1430 - Add report of tablespaces utilization.
1431 - Add report of pgbouncer statistics per dbname and per pool (dbname/username).
1432
1433
1434 (1) [Shared buffers statistics are collected automatically when pg_buffercache
1435 extension is installed and the -B | --enable-buffercache option is used.]
1436
1437
1438 Other changes/fixes:
1439
1440 - Allow sar to be executed on a remote server using ssh connection.
1441 Add --enable-ssh to activate this feature, the remote host is defined
1442 using -h option. There is several new options --ssh-* to be able to
1443 take full control of the ssh connection.
1444 - Waiting interval is now calculated with the interval value minus the
1445 execution time of each loop.
1446 - Add output information when a kill signal is sent to pgcluu_collectd.
1447 - Option -p | --dev-only have change to -D | --device-only and add new
1448 option -N | --network-only to limit report on some network interfaces.
1449 - Pretty print system memory information.
1450 - Fix graphs when a new database is created or dropped during an audit.
1451 - Add -B | --enable-buffercache to activate pg_buffercache statistics.
1452 It is disable by default.
1453 - Reorder Database menu with submenu and prevent moving to non existent
1454 reports by disabling the submenu.
1455 - Reorder cluster menu, using submenu and fix title of replication lag
1456 report.
1457 - Add vm.dirty_background_bytes and vm.dirty_bytes to sysctl collect.
1458 - Add support to PostgreSQL 8.1 by using temporary table not COPY (sql).
1459 Thanks to kenstir for the patch.
1460 - Reopen stdin/out/err so that daemon mode works correctly. Thanks to
1461 kenstir for the patch.
1462 - Fix affected tuples per operation per database where tuples fetched
1463 was used as select instead of tuples returned.
1464 - Review code and use one method per report.
1465 - Update documentation and usage about --exclude-time
1466 - Fix detection of non official release, like devel or EnterpriseDB
1467 major version detection.
1468 - Change icon of CPU in SysInfo report.
1469 - Remove full path from sar and psql command to allow definition by
1470 environment variables.
1471 - Fix CPU report refresh when comming from a report in the same
1472 system.html page.
1473 - Change label of the 'Reset' button to 'To chart' to be less confusing.
1474 This button allow to switch from image to chart (opposite as 'To image')
1475 and not to reset a zoom in the graph.
1476 - Add -n, --top-number command line option to redefine the default top
1477 10 tables or indexes I/O statistics.
1478 - Fix interval given to the sar command, should be one second and not
1479 the value of $INTERVAL.
1480 - Fix sar report with overlapped time.
1481 - Fix empty file pg_stat_user_tables.csv.
1482 - Add database name inside pg_class_size.csv output and add function
1483 get_proc_count(dbname) to retrieve function from a given database.
1484 - Add -T | --notablespace option to avoid printing an error message
1485 when the connection user is not superuser.
1486 - Remove pg_default and pg_global from tablespace report.
1487 - Change link on program name to pgcluu www site.
1488 - Move print of Postgresql full version at bottom of the home page.
1489 - Reduce font size of key value on home and information slides.
1490 - Update Flotr2 javascript library to fix redraw of crosshair.
1491 - Command line options that can be used multiple time can now also
1492 be used one time using a comma separated list of object names.
1493
1494 2014-01-28 - Version 1.1 released
1495
1496 This release adds lot of report improvements and bug fixes. There is also
1497 several new features or reports.
1498
1499 - Format mouse tracker on graphs to show all dataset values at a time.
1500 - Add run queue length report to system menu.
1501 - Add checkpoint write and sync times reports.
1502 - Add report of PostgreSQL version
1503 - Split background writer buffer and count statistics into separated
1504 reports.
1505 - Add report of maxwritten_clean into bgwriter reports.
1506 - Add report of kernel parameters to the system info page.
1507 - Add collect of system kernel tuning parameters.
1508 - Remove embedded CSS and javascript on each HTML page, resources are
1509 now automatically copied into the output directory if not already
1510 present. Thanks to Guillaume Lelarge for the suggestion.
1511 - Allow pgcluu to parse sar file generated from sa file, use commands
1512 like "sar -A -p -f /var/log/sysstat/sa*". Thanks to Julien Rouhaud
1513 for the feature request.
1514 - Split commit, rollback and backend graph by using a second yaxis for
1515 backend. Thanks to GUillaume Lelarge for the report.
1516 - Add System Information report.
1517 - Move Cache hit/miss ratio on second yaxis and change dataset colors.
1518 Thanks to Guillaume Lelarge for the report.
1519 - Add collect of OS release information.
1520 - Allow pgcluu_collectd to grab OS information (cpu, memory, etc.) and
1521 add --os-info option to only grab that information (for testing).
1522 - Reformat dashboard information.
1523 - Add -z | --timezone to set the hour(s) from GMT time to adjust times
1524 on sar report. Thanks to Bricklen for the feature request.
1525
1526 and some more changes/fixes:
1527
1528 - Add vertical crosshair on graph.
1529 - Update copyright date to 2014
1530 - Disable database report of number of canceled queries when not on
1531 hot standby node.
1532 - Disable checkpoint write report following the pg version (< 9.2).
1533 - Disable temporary files and deadlocks reports following the postgresql
1534 version (< 9.2).
1535 - Add storage of pg version into sysinfo.txt
1536 - Fix missing legend of checkpoints_timed in checkpoint report.
1537 - Fix warning on META_MERGE for ExtUtils::MakeMaker < 6.46. Thanks to
1538 Julien Rouhaud for the patch.
1539 - Fix typo in pgcluu_collectd calls. Thanks to Jacky Rigoreau for the
1540 report.
1541 - Fix issue where information slide was not displayed when clicking on
1542 the information button.
1543 - Change documentation about resources files that are now autogenerated.
1544 - Fix grab of statistics from an 8.4 cluster (access to not-available-yet
1545 statistics catalogs). Thanks to Guillaume Lelarge for the report.
1546 - Fix issue on parsing CentOs release. Thanks to bricklen for the help.
1547 - Fix issue "Use of uninitialized value $val in substitution line 3312".
1548 Thanks to bricklen for the report.
1549 - Fix call method "print" on an undefined value at ./pgcluu line 1303.
1550 Thanks to Guillaume Lelarge for the report.
1551 - Fix sar dashboard report.
1552 - Remove decimal from hit cache ratio report. Thanks to Guillaume Lelarge
1553 for the report.
1554 - Dashboard review: cluster label rewrite, remove empty values from
1555 report, add start/end date of database stats and sar stats. Thanks to
1556 Guillaume Lelarge for the feature/change requests.
1557 - Fix some warning on uninitialized value on dashboard. Thanks to Julien
1558 Rouhaud for the report.
1559 - Fix Illegal division by zero at ./pgcluu line 1132. Thanks to Julien
1560 Rouhaud for the report.
1561 - Fix issue in building timestamps in sar data. Thanks to Bricklen for
1562 the report.
1563 - Fix sysstat version execution error with locale different to C or en_*.
1564 Thanks to forall for the report.
1565 - Fix broken sar charts when collect time is greater than 24 hours.
1566 - Add -z | --timezone option to documentation.
1567 - Fix error: print() on closed filehandle GEN9 at pgcluu line 1942.
1568 Thanks to Bricklen for the report.
1569
1570
1571 2013-11-18 - Version 1.0 released
1572
1573 This is the first public release of pgCluu, that is a packaging of the tools I
1574 use every day to collect statistics and build reports of PostgreSQL Clusters
1575 for performances auditing and troubleshooting.
1576
1577 At this time it collect and report most of what is helpful for a PostgreSQL
1578 Cluster performance auditing. There's lot of others reports to be included:
1579
1580 - Statistics reports concerning tables.
1581 - Statistics reports about pg_stat_statement.
1582 - More Sar statistiques reports.
1583 - ...
1584
1585 This will comes in next release.
1586
1587 The goal of this project is to provide a complete PostgreSQL auditing tool that
1588 do not need any dependency so that it can be run on any server.
1589
1590 If you just have a sar output file, pgCluu can be use to draw graphs about the
1591 system utilization only.
1592
1593 For more information take a look at http://pgcluu.darold.net/
1594
1595