databases/timescaledb-tune: import timescaledb-tune-0.11.0git
timescaledb-tune is a program for tuning a TimescaleDB database to perform its best based on the host's resources such as memory and number of CPUs. It parses the existing postgresql.conf file to ensure that the TimescaleDB extension is appropriately installed and provides recommendations for memory, parallelism, WAL, and other settings.
This commit is contained in:
parent
843eb01630
commit
a21ec88976
5 changed files with 100 additions and 0 deletions
5
databases/timescaledb-tune/DESCR
Normal file
5
databases/timescaledb-tune/DESCR
Normal file
|
@ -0,0 +1,5 @@
|
|||
timescaledb-tune is a program for tuning a TimescaleDB database to perform its
|
||||
best based on the host's resources such as memory and number of CPUs. It parses
|
||||
the existing postgresql.conf file to ensure that the TimescaleDB extension is
|
||||
appropriately installed and provides recommendations for memory, parallelism,
|
||||
WAL, and other settings.
|
25
databases/timescaledb-tune/Makefile
Normal file
25
databases/timescaledb-tune/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $NetBSD: Makefile,v 1.1 2021/06/25 13:34:41 tnn Exp $
|
||||
|
||||
DISTNAME= timescaledb-tune-0.11.0git
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=timescale/}
|
||||
CATEGORIES= databases
|
||||
# need git master for proper PostgreSQL 13 support
|
||||
#GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
GITHUB_TAG= f6b74b85e3378b1b07e363daf89a8fe1d388c665
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/timescale/timescaledb-tune
|
||||
COMMENT= Tune timescaledb to match system's CPU and memory resources
|
||||
LICENSE= apache-2.0
|
||||
|
||||
.include "go-modules.mk"
|
||||
|
||||
GO_BUILD_PATTERN= ./cmd/timescaledb-tune/...
|
||||
INSTALLATION_DIRS+= bin
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/timescaledb-tune \
|
||||
${DESTDIR}${PREFIX}/bin
|
||||
|
||||
.include "../../lang/go/go-module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
2
databases/timescaledb-tune/PLIST
Normal file
2
databases/timescaledb-tune/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2021/06/25 13:34:41 tnn Exp $
|
||||
bin/timescaledb-tune
|
54
databases/timescaledb-tune/distinfo
Normal file
54
databases/timescaledb-tune/distinfo
Normal file
|
@ -0,0 +1,54 @@
|
|||
$NetBSD: distinfo,v 1.1 2021/06/25 13:34:41 tnn Exp $
|
||||
|
||||
SHA1 (github.com_fatih_color_@v_v1.9.0.mod) = 2b09ecf037a16955fea5df8b527dfb95ed5e12c8
|
||||
RMD160 (github.com_fatih_color_@v_v1.9.0.mod) = 1b5e0e5a5c709ebf33ce2dbc8d3d97aedb82a30a
|
||||
SHA512 (github.com_fatih_color_@v_v1.9.0.mod) = a61784b08b335d2a893688c279cf6f4b1ca222c3bc8236fd24536aad2b185fa718805c9022e1ce142bd87e39fed639fdc9035c9ea9ff110e985cd01cd612e9a0
|
||||
Size (github.com_fatih_color_@v_v1.9.0.mod) = 126 bytes
|
||||
SHA1 (github.com_fatih_color_@v_v1.9.0.zip) = 9fdd896480c04f366e6878bbb71796f89070853c
|
||||
RMD160 (github.com_fatih_color_@v_v1.9.0.zip) = 6b82ff7a2dd51a06917d4f6c0af2611ad332802a
|
||||
SHA512 (github.com_fatih_color_@v_v1.9.0.zip) = c757f8455ce261c06749eda03ba807ba8b2427f0a14b0b62a6ee4e9d1ba220986e6f122b061fed6f44d68e4802864a988c722604b52989a4e31761e0e7ea8163
|
||||
Size (github.com_fatih_color_@v_v1.9.0.zip) = 12428 bytes
|
||||
SHA1 (github.com_mattn_go-colorable_@v_v0.1.4.mod) = e2b6ab2e281922bd0f583ecd59618f3b02f50958
|
||||
RMD160 (github.com_mattn_go-colorable_@v_v0.1.4.mod) = ac51051e2f5f7e4259c1db0072f392f429ca8506
|
||||
SHA512 (github.com_mattn_go-colorable_@v_v0.1.4.mod) = f69ecc2e8097c17a9c0002181451d56a8a7496f62e87f437802420e9af27c5f80da2be189597759f2a5ee2656dca8c1cf91a5374b8e46919f7a6e0f9579d2526
|
||||
Size (github.com_mattn_go-colorable_@v_v0.1.4.mod) = 80 bytes
|
||||
SHA1 (github.com_mattn_go-colorable_@v_v0.1.4.zip) = defbe5e9b5c877c2ad137a0cea2bebf8aabcc8c4
|
||||
RMD160 (github.com_mattn_go-colorable_@v_v0.1.4.zip) = d00c7e0e3ea294cba439b304081d3328e00607f2
|
||||
SHA512 (github.com_mattn_go-colorable_@v_v0.1.4.zip) = c3104e921a94b1a424cbf6936e8e5cdf5823947132f41190c211e050c9c8b7135c7b319eee0667a2b958c9f4fda27b9cbad4436d37b512e269716249dbfbef65
|
||||
Size (github.com_mattn_go-colorable_@v_v0.1.4.zip) = 12838 bytes
|
||||
SHA1 (github.com_mattn_go-isatty_@v_v0.0.11.mod) = e09ed4eecc26bb7791155fb5ff34c8bb2e20a03d
|
||||
RMD160 (github.com_mattn_go-isatty_@v_v0.0.11.mod) = e2c40ce31e71f3aaa6378be6b1ac05a53ce84e89
|
||||
SHA512 (github.com_mattn_go-isatty_@v_v0.0.11.mod) = 218110264da1c7396295627414259fcc65cc9823216d6c03f2a6d7499e17205e540821add3216ba673efda92f1e5bfbb817416874fc745ed1d926c43fdd9bc99
|
||||
Size (github.com_mattn_go-isatty_@v_v0.0.11.mod) = 104 bytes
|
||||
SHA1 (github.com_mattn_go-isatty_@v_v0.0.11.zip) = 4841736d38cd0aa7d59eb063a8d4a6fc7d9ea1c1
|
||||
RMD160 (github.com_mattn_go-isatty_@v_v0.0.11.zip) = a5dd9fb53575db54fbee62b8b16a14c3616214e8
|
||||
SHA512 (github.com_mattn_go-isatty_@v_v0.0.11.zip) = 4430b33d70f0fe35d07aefd6320ca0d8e49b71689d93b49e021e1893f8f9f043f8a6d16705e5517a600a538b3f35fed8f14a69a985b2955e8b6f34c19605c83f
|
||||
Size (github.com_mattn_go-isatty_@v_v0.0.11.zip) = 8885 bytes
|
||||
SHA1 (github.com_mattn_go-isatty_@v_v0.0.8.mod) = 08adbac46746a98e0d3d0339f5706bfa24fa370a
|
||||
RMD160 (github.com_mattn_go-isatty_@v_v0.0.8.mod) = 71904e2e7e88386dfd24158edfa9c986e3da0cde
|
||||
SHA512 (github.com_mattn_go-isatty_@v_v0.0.8.mod) = 923114bfd285393d06f681ba57db69f042f57d8cd7817a1611c7719121c812de8023a049024165e10112bda31a7f99d3bfe0d4c4f419557ba8909a2d005be405
|
||||
Size (github.com_mattn_go-isatty_@v_v0.0.8.mod) = 95 bytes
|
||||
SHA1 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.mod) = b022913a53a28554dac83d4fd247c02a675a9178
|
||||
RMD160 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.mod) = 8ea5d015dabd4cf7b801015a1c8064e9768cfd08
|
||||
SHA512 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.mod) = 3f202ba5021898b01c790e5fd1615c429ea1ed51a2955570304d8c81937fc63d4d0e3d30eb154f52ef94f681b41fde191d5ed0d4787cd501ca43feda64d51de3
|
||||
Size (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.mod) = 32 bytes
|
||||
SHA1 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.zip) = ed512952e98720579f5170cfb75705b10edf1b04
|
||||
RMD160 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.zip) = 419f9d4ac4d58a6d67cad5850a59a41d044fd130
|
||||
SHA512 (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.zip) = 007706c8091376d17306e5e0e3f16d10db496c1bd58b50c41acbcfa5e74d9fd206100ad2dbb9018297a51a8f5e5bb1c8d5cb047a32ddf20f9f21a635f4ec28ab
|
||||
Size (github.com_pbnjay_memory_@v_v0.0.0-20190104145345-974d429e7ae4.zip) = 6007 bytes
|
||||
SHA1 (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = 536a84fdba3fc4d815d54fbe7255aa493fbd3ecb
|
||||
RMD160 (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = d0b39e9f156ac4a72364d57c54e08d92f91000c0
|
||||
SHA512 (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
||||
Size (golang.org_x_sys_@v_v0.0.0-20190222072716-a9d3bda3a223.mod) = 24 bytes
|
||||
SHA1 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.mod) = 9c0a67f5f608966214879bdc8263f4927cb8da2f
|
||||
RMD160 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.mod) = 470ffe5252fd7913930e210baaa374da49776819
|
||||
SHA512 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
|
||||
Size (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.mod) = 33 bytes
|
||||
SHA1 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.zip) = c2c93cca3791e178c5f400da20b54be85f40e08c
|
||||
RMD160 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.zip) = bf965abbc86435138354934c62fe507f60131f56
|
||||
SHA512 (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.zip) = 59a4db96e438a1f03af9b00070f4d3772f1eeeff72334e6bc8ad1774bf202d39f7129572cd75fb9e1ecdfc7a532c5cd91bfdbfab3ebd10228bc6733e9556f70c
|
||||
Size (golang.org_x_sys_@v_v0.0.0-20191026070338-33540a1f6037.zip) = 1867927 bytes
|
||||
SHA1 (timescaledb-tune-0.11.0git-f6b74b85e3378b1b07e363daf89a8fe1d388c665.tar.gz) = 9aeb31373ddabb01466e36a32b823d3cdd3bf412
|
||||
RMD160 (timescaledb-tune-0.11.0git-f6b74b85e3378b1b07e363daf89a8fe1d388c665.tar.gz) = faf835ce32533db91a097789aee2fbb29673af2c
|
||||
SHA512 (timescaledb-tune-0.11.0git-f6b74b85e3378b1b07e363daf89a8fe1d388c665.tar.gz) = 169db2bbb78e78200a4c421c5487026cbd9157de80aa11144fb41de81817725061b792a7d6215ab2522d0bb4a58935ea068f1da6839e6f17b13a151c9ed6e99a
|
||||
Size (timescaledb-tune-0.11.0git-f6b74b85e3378b1b07e363daf89a8fe1d388c665.tar.gz) = 51119 bytes
|
14
databases/timescaledb-tune/go-modules.mk
Normal file
14
databases/timescaledb-tune/go-modules.mk
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: go-modules.mk,v 1.1 2021/06/25 13:34:41 tnn Exp $
|
||||
|
||||
GO_MODULE_FILES+= github.com/fatih/color/@v/v1.9.0.mod
|
||||
GO_MODULE_FILES+= github.com/fatih/color/@v/v1.9.0.zip
|
||||
GO_MODULE_FILES+= github.com/mattn/go-colorable/@v/v0.1.4.mod
|
||||
GO_MODULE_FILES+= github.com/mattn/go-colorable/@v/v0.1.4.zip
|
||||
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.11.mod
|
||||
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.11.zip
|
||||
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.8.mod
|
||||
GO_MODULE_FILES+= github.com/pbnjay/memory/@v/v0.0.0-20190104145345-974d429e7ae4.mod
|
||||
GO_MODULE_FILES+= github.com/pbnjay/memory/@v/v0.0.0-20190104145345-974d429e7ae4.zip
|
||||
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190222072716-a9d3bda3a223.mod
|
||||
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191026070338-33540a1f6037.mod
|
||||
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191026070338-33540a1f6037.zip
|
Loading…
Reference in a new issue