mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
pgtune takes the wimpy default postgresql.conf and expands
the database server to be as powerful as the hardware it's being deployed on. WWW: http://pgfoundry.org/projects/pgtune/ PR: ports/134546 Submitted by: Matthieu BOUTHORS
This commit is contained in:
parent
fe4e53bfa3
commit
3669ea7bcf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234073
6 changed files with 56 additions and 0 deletions
|
@ -440,6 +440,7 @@
|
|||
SUBDIR += pgpoolAdmin
|
||||
SUBDIR += pgtcl
|
||||
SUBDIR += pgtop
|
||||
SUBDIR += pgtune
|
||||
SUBDIR += pgworksheet
|
||||
SUBDIR += php-adodb-ext
|
||||
SUBDIR += php-sqlite3
|
||||
|
|
25
databases/pgtune/Makefile
Normal file
25
databases/pgtune/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# New ports collection makefile for: pgtune
|
||||
# Date created: 16 feb 2009
|
||||
# Whom: Matthieu BOUTHORS
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pgtune
|
||||
PORTVERSION= 0.9.0
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/2068/ \
|
||||
http://mirror.labs.fr/pub/FreeBSD/distfiles/
|
||||
|
||||
MAINTAINER= matthieu@labs.fr
|
||||
COMMENT= Postgresql.conf tuning tips based on hardware and load type
|
||||
|
||||
USE_PYTHON= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pgtune ${PREFIX}/bin/pgtune
|
||||
${MKDIR} ${PREFIX}/share/pgtune/settings/
|
||||
${CP} ${WRKSRC}/pg_settings* ${PREFIX}/share/pgtune/settings/
|
||||
|
||||
.include <bsd.port.mk>
|
3
databases/pgtune/distinfo
Normal file
3
databases/pgtune/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (pgtune-0.9.0.tar.gz) = 1cdff4886dcdc27687ae15ae71c8b8f3
|
||||
SHA256 (pgtune-0.9.0.tar.gz) = 864960dd100bb234eacd63803befe0a35d251cc48d41abfadf321eb82335b92d
|
||||
SIZE (pgtune-0.9.0.tar.gz) = 22414
|
17
databases/pgtune/files/patch-pgtune
Normal file
17
databases/pgtune/files/patch-pgtune
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- pgtune-original 2009-01-26 17:11:05.000000000 +0100
|
||||
+++ pgtune 2009-02-18 08:20:59.000000000 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/local/bin/python
|
||||
"""
|
||||
pgtune
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
if platform.architecture()[0]=="64bit": platformBits=64
|
||||
# TODO Base this file location on where this script is at
|
||||
# TODO Support handling versions other than 8.4
|
||||
- settingDumpFile="pg_settings-8.4-"+str(platformBits)
|
||||
+ settingDumpFile="/usr/local/share/pgtune/settings/pg_settings-8.4-"+str(platformBits)
|
||||
settingColumns=["name","setting","unit","category","short_desc",
|
||||
"extra_desc","context","vartype","min_val","max_val","enumvals",
|
||||
"boot_val"]
|
5
databases/pgtune/pkg-descr
Normal file
5
databases/pgtune/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
pgtune takes the wimpy default postgresql.conf and expands
|
||||
the database server to be as powerful as the hardware it's
|
||||
being deployed on.
|
||||
|
||||
WWW: http://pgfoundry.org/projects/pgtune/
|
5
databases/pgtune/pkg-plist
Normal file
5
databases/pgtune/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
bin/pgtune
|
||||
share/pgtune/settings/pg_settings-8.4-32
|
||||
share/pgtune/settings/pg_settings-8.4-64
|
||||
@dirrm share/pgtune/settings
|
||||
@dirrm share/pgtune
|
Loading…
Add table
Reference in a new issue