随笔分类 -  PostgreSQL

摘要:数据库管理 1、创建数据库 postgres=# create database timeseries; 2、查看数据库 postgres=# \l # 查看已经存在的数据库。注释:当前数据库为postgres。 postgres=# \c runoobdb # 切换进入到 runoobdb 数据库 阅读全文
posted @ 2021-01-19 21:06 刘_love_田 阅读(233) 评论(0) 推荐(0) 编辑
摘要:安装 TimescaleDB 1、制作 timescaledb.repo 文件 [root@localhost ~]# vim /etc/yum.repos.d/timescaledb.repo # 方式一 [root@localhost ~]# tee /etc/yum.repos.d/times 阅读全文
posted @ 2021-01-18 19:55 刘_love_田 阅读(3665) 评论(0) 推荐(0) 编辑
摘要:一、PostgreSQL 下载安装 1、安装PostgreSQL仓库(添加yum源) [root@localhost ~]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg- 阅读全文
posted @ 2021-01-16 14:31 刘_love_田 阅读(2062) 评论(0) 推荐(0) 编辑