当前位置:网站首页>理解Oracle的几个概念
理解Oracle的几个概念
2022-07-28 10:36:00 【hongdi】
1、创建用户后,系统将同时创建一个同名的方案,用户对同名方案下的数据库对象有管理权限,同时系统会创建一个相关辆的默认概要文件(包含一组约束条件和配置项,可以限制允许用户使用的资源);
2、创建用户时,需要指定用户默认的表空间和临时表空间;
3、创建了不同的用户,系统也创建了不同的方案,但是可以为不同的用户指定相同的表空间;
4、表空间是一个逻辑存储单元。可以为表空间添加一个或多个数据文件;
5、在方案中创建数据对象,而数据库对象实际存放的物理空间是用户所默认的表空间 ;
6、可以多个方案共用一个表空间;
7、oracle中的序列
序列的作用是自动生成整数数值,作为表中标识字段的值。
7.1、创建序列:
Createsequence userman.user_s
Minvalue 1序列的最小值为1
Nomaxvalue序列没有最大值限制
Start with 1序列的初始值为1
Increment by 1序列间隔为1
Nocycle没有循环值
Cache 20告诉缓存为20
7.2、使用序列
同一序列生成器可用于一个或多个表,所生成的序列号可用于生成唯一的主键
User_s.nextval
Eg:Insertinto userman.users(user_id,user_name)values(userman.user_s.nextval,'newuser')
8、MGMT_user.make_em_user('用户名')
配置指定用户可以登录使用OEM
边栏推荐
- 1. Sum of two numbers
- Semeval 2022 | introducing knowledge into ner system, aridamo academy won the best paper award
- 吊打面试官的问题
- ctf技能树----文件上传
- GKRandom
- 21. Merge two ordered linked lists
- 使用statement对象执行DDL语句创建表
- Solving the optimal solution of particle swarm optimization
- Invalid ROM Table原因及解决办法
- 10_ UE4 advanced_ Add fall and cast actions
猜你喜欢

蓝桥杯嵌入式-HAL库-SYSTICK

Blue Bridge Cup embedded Hal library LCD

6. MapReduce custom partition implementation

Table data processing software, what else besides excel?

Preliminary understanding of float

Blue Bridge Cup embedded Hal library USART_ RX

Inventory: 144 free learning websites, the most complete collection of resources in the whole network

Sword finger offer 35. replication of complex linked list

Relevant knowledge points of hash table

Learn these analysis methods and models, and no longer have no ideas when encountering problems
随机推荐
GKNoiseMap
c语言实现float型数据转成BCD数据
const与指针的组合使用
Pyqt5 rapid development and practice 4.13 menu bar, toolbar and status bar and 4.14 qprinter
低代码十问:一文讲透关于低代码的一切!
2021-03-24
ctf技能树----文件上传
cortex-M4与cortex-A7内核启动流程分析
低代码(aPaas)为什么最近又火了?
Configuring raspberry pie, process and problems encountered
Status Notice ¶
Solving the optimal solution of particle swarm optimization
使用共用体union及指针测试大小端
GKRidgedNoiseSource
Nodejs:mongodb 简单模糊+分页查询实例
Blue Bridge Cup embedded Hal library ADC
Relevant knowledge points of hash table
Here is a super practical excel shortcut set (common + summary of eight categories)
适合中小企业的进销存软件,搞定5大难题
Learn how to do e-commerce data analysis (with operation analysis index framework)