greenplum介绍之数据库管理(四)-创建数据库和用户管理(Greenplum introduces database management (four) - creating databases and user management).doc
- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
greenplum介绍之数据库管理(四)-创建数据库和用户管理(Greenplum introduces database management (four) - creating databases and user management)
greenplum介绍之数据库管理(四)-创建数据库和用户管理(Greenplum introduces database management (four) - creating databases and user management)
GREENPLUM introduces database management (four) - creating databases and user management
Previous / next 2011-04-08 15:09:01 / personal category: GREENPLUM
View (82) / comment (1) / score (5 / 0)
GREENPLUM, like ORACLE, has a user management system that is completely independent of the operating system, and a rights management system.
First of all, lets introduce the database in GP.
After the GP initializes the system, GP automatically creates three databases, postgre, template0, and template1.
Where postgre is used as the storage of data within the system, we do not delete it or modify it.
Template1 is the default data for the system, and when we create a database, we can create a new database using template1 as a template.
So, if you dont want other databases to inherit objects, dont create them in the database template1.
The syntax for creating a database in GP is very simple, syntax follows
CREATE, DATABASE, newname, USING, TEMPLATE, tmplatedbname;
Very fast, and in the process, the system generates the corresponding dictionary information.
If the using template clause is not specified, the system creates the new database using the template1 database as a template.
We can also create a new database for other templates for other databases.
The template0 database is a template for creating template1, and generally we dont use it to create application objects.
GP allows you to create multiple DATABASE in a GP SERVER. But a DATABASE can only belong to a SERVER.
A connection can only access one database at the same time point.
SCHEMA also has the concept of GP.
SCHEMA is essentially a collection of relational objects in a database, or can be understood as namespaces of objects.
GP allows you to create multiple SCHEMA in one database, but a SCHEMA can only belong to one database.
When you create a database, the system automatically creates a SCHEMA
您可能关注的文档
- 2010学年度高三历史崇明县测试卷(2010 years of history, high school history, Chongming County test volume).doc
- 2010创业板红黑灰榜单(2010 gem red black list).doc
- 2010学年徐汇区十三校高三物理第一次联考(The 2010 year Xuhui District thirteen middle school physics exam the first time).doc
- 2010宝山化学二模卷(2010 Baoshan chemical volume the second mock exam).doc
- 2010—2011学年上学期八年级期末考试题(Final examination for grade eight in the 2010 - 2011 academic year).doc
- 2010山东公考申论练习标准表述之转型升级(2010 Shandong public examination on expression of the standard practice transformation upgrade).doc
- 2010年,300个情侣网名,不看回后悔哦(2010, 300 lovers net name, do not look back regret oh).doc
- 2010年优秀企业家李福洪材料(2010 excellent entrepreneur Li Fuhong materials).doc
- 2010年台州市中考语文试卷(Chinese language examination paper in Taizhou in 2010).doc
- 2010年我国电力运行情况及特点(Operation status and characteristics of China's power in 2010).doc
- 第12课 大一统王朝的巩固 课件(20张ppt).pptx
- 第17课 君主立宪制的英国 课件.pptx
- 第6课 戊戌变法 课件(22张ppt).pptx
- 第三章 物态变化 第2节_熔化和凝固_课件 (共46张ppt) 人教版(2024) 八年级上册.pptx
- 第三章 物态变化 第5节_跨学科实践:探索厨房中的物态变化问题_课件 (共28张ppt) 人教版(2024) 八年级上册.pptx
- 2025年山东省中考英语一轮复习外研版九年级上册.教材核心考点精讲精练(61页,含答案).docx
- 2025年山东省中考英语一轮复习(鲁教版)教材核心讲练六年级上册(24页,含答案).docx
- 第12课近代战争与西方文化的扩张 课件(共48张ppt)1.pptx
- 第11课 西汉建立和“文景之治” 课件(共17张ppt)1.pptx
- 唱歌 跳绳课件(共15张ppt内嵌音频)人音版(简谱)(2024)音乐一年级上册第三单元 快乐的一天1.pptx
文档评论(0)