New Oracle User/tablespace/increase Oracle SGA Memory

Source: Internet
Author: User
One is to add data files to the tablespace, and the following SQL statements are performed under the database administrator Sysman User: Create tablespace lzs  datafile ' d:\ORACLE\PRODUCT\10.2.0\ORADATA\ orcl\lzs.dbf ' size 2048m;create tablespace lzs_doc  datafile ' d:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\lzs_doc.dbf ' Size 512M;

  

Increase Oracle SGA Memory: (This step can be ignored) sql> alter system set Sga_garget = 800*1024*1024 scope = BOTH;    (/*800m*/)

  

To establish the user, the default tablespace is users, the following SQL statements are performed under the database administrator Sysman user; CREATE user "LZS" identified by "LZS" Default Tablespace "users"-- Temporary tablespace "TEMP" profile DEFAULT account UNLOCK; GRANT "CONNECT" to "LZS"; GRANT "RESOURCE" to "LZS"; GRANT UNLIMITED tablespace to "LZS"; ALTER USER "LZS" DEFAULT ROLE all; GRANT "DBA" to "LZS";

  

New Oracle User/tablespace/increase Oracle SGA Memory

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.