ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Вадим Илларионов" <gbimobou@gmail.com>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] Postgre+TimescaleDB
Date: Thu, 22 Apr 2021 13:20:18 +0800
Message-ID: <7df1632f-5992-7c58-3fec-ec1b79e9418e@gmail.com> (raw)

Доброго дня.

Помнится, находил инструкцию, как (именно в Альте) настроить сабж, и 
делал всё по ней -- теперь что-то не могу нагуглить. На альт-вики тоже 
ни слова про TimescaleDB.

Так вот, в конфигезадано shared_preload_libraries = 'timescaledb', 
нужная таблица в базе выглядит как надо:

netxms=# \dx
                                     Список установленных расширений
      Имя     | Версия |   Схема    | Описание
-------------+--------+------------+-------------------------------------------------------------------
  plpgsql     | 1.0    | pg_catalog | PL/pgSQL procedural language
  timescaledb | 2.0.1  | public     | Enables scalable inserts and 
complex queries for time-series data
(2 строки)

Тем не менее не удаётся поужимать чанки:

netxms=# ALTER TABLE audit_log SET (
netxms(#   timescaledb.compress,
netxms(#   timescaledb.compress_segmentby = 'timestamp'
netxms(# );
ERROR:  unrecognized parameter namespace "timescaledb"

ЧЯДНТ?



             reply	other threads:[~2021-04-22  5:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  5:20 Вадим Илларионов [this message]
2021-04-26  3:52 ` Вадим Илларионов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7df1632f-5992-7c58-3fec-ec1b79e9418e@gmail.com \
    --to=gbimobou@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git