In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Having installed orcale earlier, import the database and start using it.
The steps are as follows:
Set automatic expansion of tablespace
Login with system as sysdba login password is empty
To query the physical path of the data file in the SYSTEM table space, the statement is
SELECT FILE_NAME FROM DBA_DATA_FILES WHERE (TABLESPACE_NAME = 'SYSTEM')
The result is: d:\ APP\ ADMINISTRATOR\ ORADATA\ ORCL\ SYSTEM01.DBF
Create a tablespace
CREATE TABLESPACE tablespace DATAFILE'D:\ APP\ ADMINISTRATOR\ ORADATA\ ORCL\ XXXX01.DBF' size 200m AUTOEXTEND on next 50m MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL
two。 Create a user
A.CREATE USER user
IDENTIFIED BY password DEFAULT TABLESPACE tablespace
QUOTA UNLIMITED
ON tablespace
QUOTA 100000 K
ON USERS
ACCOUNT UNLOCK
3. Set user permissions
GRANT CONNECT,RESOURCE TO user
GRANT CREATE SESSION TO user
GRANT CREATE PROCEDURE TO user
GRANT DBA TO user
4. Import data (imported in cmd logout state)
Imp file=D:\ xxx.dmp full=y
5. Import of data is complete.
The statement for 6.cmd to export data is
Exp user / password @ orcl file=d:\ task-frame.dmp (it's best to set up the dmp file first)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.