Oracle initial parameters and current user operations

Source: Internet
Author: User

Today we are going to discuss with you the initial Oracle parameters and current users. The information I saw on the relevant website two days ago is quite good and I will share it with you. If you are interested, you can click the following articles to view them.

Modify parameter values

 
 
  1. alter system set db_cache_size=20m; 

Query parameter values in pl/SQL

 
 
  1. select * from v$parameter where name='db_cache_size'; 

Sqlplus

 
 
  1. show parameter db_block_size; 

Oracle user permission information

 
 
  1. select * from user_tab_privs 

Current User ID

 
 
  1. select * from sys.V$MYSTAT where rownum =1; 

Information of all logon persons

 
 
  1. select * from v$session where sid=154  

The above content describes the initial Oracle parameters and the current user, hoping to help you in this regard.

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.