随笔分类 - PostgreSQL
摘要:数据库管理 1、创建数据库 postgres=# create database timeseries; 2、查看数据库 postgres=# \l # 查看已经存在的数据库。注释:当前数据库为postgres。 postgres=# \c runoobdb # 切换进入到 runoobdb 数据库
阅读全文
摘要:安装 TimescaleDB 1、制作 timescaledb.repo 文件 [root@localhost ~]# vim /etc/yum.repos.d/timescaledb.repo # 方式一 [root@localhost ~]# tee /etc/yum.repos.d/times
阅读全文
摘要:一、PostgreSQL 下载安装 1、安装PostgreSQL仓库(添加yum源) [root@localhost ~]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-
阅读全文