create tablespace hisbase
logging
datafile 'E:\oracle\product\10.2.0\oradata\orcl\hisbase.ora'
size 512m
autoextend on
next 32m maxsize UNLIMITED
extent management local;
create temporary tablespace hisbase_temp
tempfile 'E:\oracle\product\10.2.0\oradata\orcl\hisbase_temp.ora'
size 128m
autoextend on
next 32m maxsize 2048m
extent management local;
-- Create the user HISBASE
create user HISBASE
identified by "1223"
default tablespace HISBASE
temporary tablespace HISBASE_TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to HISBASE with admin option;
grant dba to HISBASE with admin option;
grant resource to HISBASE with admin option;
-- Grant/Revoke system privileges
grant alter any index to HISBASE with admin option;
grant alter any procedure to HISBASE with admin option;
grant alter any table to HISBASE with admin option;
grant create any index to HISBASE with admin option;
grant create any procedure to HISBASE with admin option;
grant create any table to HISBASE with admin option;
grant create procedure to HISBASE with admin option;
grant create table to HISBASE with admin option;
grant delete any table to HISBASE with admin option;
grant execute any indextype to HISBASE with admin option;
grant execute any procedure to HISBASE with admin option;
grant insert any table to HISBASE with admin option;
grant select any sequence to HISBASE with admin option;
grant select any table to HISBASE with admin option;
grant unlimited tablespace to HISBASE with admin option;
grant update any table to HISBASE with admin option;