当前位置:网站首页>理解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
边栏推荐
- nodejs:mongodb 插入成功之后的返回值
- 蓝桥杯嵌入式-HAL库-ADC
- Inventory: 144 free learning websites, the most complete collection of resources in the whole network
- EC20/EC25 4G模块AT指令开发总结
- BOM part attributes and understanding
- GKNoise
- 表格数据处理软件,除了Excel还有什么?
- Apb2 and apb1 in stm32
- Two years of crud, two graduates, two months of preparation for the interview with ALI, and fortunately won the offer grading p6
- 数组相关的知识点
猜你喜欢

盘点:令人心动的数据可视化图表

剑指 Offer 06. 从尾到头打印链表

零代码 | 轻松实现数据仓库建模,搭建BI看板

3. MapReduce explanation and source code analysis

Do data analysis, do you still not understand RFM analysis method (model)?

PyQt5快速开发与实战 4.13 菜单栏、工具栏与状态栏 and 4.14 QPrinter

剑指 Offer 35. 复杂链表的复制

GKVoronoiNoiseSource

Blue Bridge Cup embedded Hal library ADC

The future of generating confrontation networks in deepfake
随机推荐
Header library file
Question of hanging the interviewer
Blue Bridge Cup embedded Hal library systick
EC20/EC25 4G模块AT指令开发总结
Installation points and precautions of split angle probe
GKPolygonObstacle
Samba learning
读懂这6本书,学习MySQL更轻松
2021-03-24
Advanced C language: pointer (1)
GKCoherentNoiseSource
c语言链表的使用
float浮动初步理解
Pyqt5 rapid development and practice 4.11 drag and clipboard
Install GMP
The blogs of excellent programmers at home and abroad are all here, please check it
Yan reports an error: exception message: /bin/bash: line 0: fg: no job control
Blue Bridge Cup embedded Hal library USART_ TX
Inventory: exciting data visualization chart
platform驱动平台下,关于probe函数中,形参dev的“dev->dev.of_node;”的理解