随笔分类 -  7.1.├─ greenplum

Greeplum 系列(八) 数据维护
摘要:Greeplum 系列(八) 数据维护 一、事务管理 二、回收空间和分析 __(1) 过期记录来源__ 1. 事务ID管理:在每个数据库每2百万个事务的时候,对每张表执行VACUUM是很有必要的。 2. 系统目录维护:大量的CREATE和DROP命令会导致系统表的迅速膨胀,以至于影响系统性能。 3. 阅读全文

posted @ 2018-06-07 08:12 binarylei 阅读(568) 评论(0) 推荐(0) 编辑

gp sql
摘要:appendonly drop table if exists test_appendonly; create table test_appendonly with(appendonly=true, compresslevel=5) as select generate_series(0, 1000 阅读全文

posted @ 2018-06-05 07:43 binarylei 阅读(766) 评论(0) 推荐(0) 编辑

Greeplum 系列(七) 权限管理
摘要:Greeplum 系列(七) 权限管理 一、角色管理 Role 分为用户(User)和组(Group),用户有 login 权限,组用来管理用户,一般不会有 login 权限。初始化 gp 时创建了一个 SUPERUSER ROLE:gpadmin。 __表 1 :ALTER ROLE 属性__ 属 阅读全文

posted @ 2018-05-30 22:10 binarylei 阅读(1434) 评论(0) 推荐(0) 编辑

Greeplum 系列(一) Greenplum 架构
摘要:Greeplum 系列(一) Greenplum 架构 Greenplum 可进行海量并行处理 (Massively Parallel Processing) 一、Greenplum 体系架构 Greenplum 由三部分组成:Master Host、Segment、Interconnect。 1. 阅读全文

posted @ 2018-05-23 21:08 binarylei 阅读(5593) 评论(0) 推荐(2) 编辑

Greeplum 系列(六) 备份与恢复
摘要:Greeplum 系列(六) 备份与恢复 先介绍几个命令查看 Greenplum 集群状态: 1. 查看所有 gp 节点状态 select from gp_segment_configuration; 2. 查看 gp 正在执行那些 sql select from from pg_stat_acti 阅读全文

posted @ 2018-05-21 21:24 binarylei 阅读(1907) 评论(0) 推荐(0) 编辑

Greeplum 系列(四) 实战
摘要:Greeplum 系列(四) 实战 表结构 __(1) 拉链表结构__ __(2) 增量表结构__ __(3) 临时表结构__ __(4) 临时表结构__ 数据导入 __1. insert__ __2. insert__ __3. 外部表__ 首先,启动 gpfdist 服务 其次,创建外部表 再编 阅读全文

posted @ 2018-05-21 21:23 binarylei 阅读(469) 评论(0) 推荐(0) 编辑

Greeplum 系列(四) 数据的装载与卸裁
摘要:Greeplum 系列(四) 数据的装载与卸裁 装载数据有以下种方法: 1. insert 2. copy 3. 外部表 4. gpload 下面以 member_delta 表为例分别介绍这四种方法。 一、insert 二、copy member_his_init.dat 文件如下: 三、外部表( 阅读全文

posted @ 2018-05-20 21:01 binarylei 阅读(596) 评论(0) 推荐(0) 编辑

Greeplum 系列(三) 基本用法
摘要:Greeplum 系列(三) 基本用法 《PostgreSQL 教程》: 一、Greeplum 登陆与创建 1.1 登陆 psql d test h 127.0.0.1 p 5432 U gpadmin 注意:默认登陆的表名为 gpadmin 1.2 创建数据库 create database te 阅读全文

posted @ 2018-05-20 07:50 binarylei 阅读(2550) 评论(0) 推荐(1) 编辑

Greeplum 系列(二) 安装部署
摘要:Greeplum 系列(二) 安装部署 本章将介绍如何快速安装部署 Greenplum,以及 Greenplum 的一些常用命令及工具。本章不会涉及硬件选型、操作系统参数讲解、机器性能测试等高级内容,这些会在 “第8章 Greenplum 线上环境部署” 中介绍。 2.1 软件安装及数据库初始化 下 阅读全文

posted @ 2018-05-17 08:08 binarylei 阅读(1210) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示