Timescaledb Simple Trial

Source: Internet
Author: User
Tags docker run memsql

Timescaledb is a sequential database that has been modified for PG

Installing Tests using Docker

Installation && operation
docker run -d --name timescaledb -p 5432:5432 timescale/timescaledbor 集成postgis  docker run -d --name timescaledb -p 5432:5432  timescale/timescaledb-postgis
Basic use
    • Connection

      I use Visual Tools Postico

    • Database management
-  创建数据库CREATE database dalong;-  切换登陆  可以使用可视化工具,或者命令行工具psql -U postgres -h localhost -d dalong-   创建表CREATE TABLE "public"."user" (    "id" serial,    "name" text,    PRIMARY KEY ("id"));
Create Hypertable

Timescaledb for PG management of the abstract processing, but also the kernel function, understand the basic similarity of memsql, just memsql more direct, do not need to
Correlation processing This step

    • Create a basic table
    • Data additions
Migrating from PG

From the simple use of the above we can not see those different, and the use of PG is basically the same


  • Operation method

Mainly divided into the same instance, and different instances of the scene, the specific reference https://docs.timescale.com/v0.9/getting-started/migrating-data

操作比较简单,和普通的使用是一样的,只是有一个转换hypertable 的步骤
Resources

Https://docs.timescale.com/v0.9/faq
Https://docs.timescale.com/v0.9/introduction/timescaledb-vs-postgres

Timescaledb Simple Trial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.