Oracle19c create a database and table space

First, create a database

1、打开Database Configuration Assistant

Here Insert Picture Description

2, database: Select "wear a Database", and next

Here Insert Picture Description

3. Create Mode: Select "Advanced Configuration", and the next step

Here Insert Picture Description

4, deployment type: default database type "single-instance database" button, select the template "general purpose or transaction."

Here Insert Picture Description

5, database identity: You can modify the "Global Database Name" and "SID", They can be consistent; uncheck the "Create a database container"

Here Insert Picture Description

6, storage options: the default can

Here Insert Picture Description

7, rapid recovery options: select "Specify Flash Recovery Area"

Here Insert Picture Description

8, network configuration: Default

Here Insert Picture Description

9, Data Vault options: need self-configuration, generally do not need to configure the default can

https://www.jianshu.com/p/2afc0a6f8f7e refer here to learn
Here Insert Picture Description

10, configuration options:

(1) to the default
(2) exemplary embodiment: can be checked, for histological
(3) to the other defaultHere Insert Picture Description

11, management options: Default

Here Insert Picture Description

12, the user identity: used to log database

(1) you can create a password (2) You can set a password for sys and unified system (I chose this)

The password must have uppercase and lowercase letters and numbers, and then enter the master password directoryHere Insert Picture Description

13, create a selection: Create a database

Here Insert Picture Description

14. Summary: in front no problem occurs. Click Finish toHere Insert Picture Description
15, Progress page: Close to completion

Here Insert Picture Description
So far, successfully create the oracle data

Second, create a table space

1, open SQL Plus

Here Insert Picture Description

2, input: sys as sysdba and password

Here Insert Picture Description

3. Create
语法:create tablespace tablespace_name
datafile ‘路径’ size 大小
[autoextend on next 大小]
[maxsize 大小]

Here Insert Picture Description

4, then you can create a data table in the table we created space
create table 表名(列名1 数据类型,...,列名n 数据类型) tablespace 表空间

In SQL Plus input, display has been created successfully ***
Here Insert Picture Description

Published 59 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_27009225/article/details/104051654