GeekInterview.com
Series: Subject: Topic:
Question: 13 of 250

What is the query to find who are the users accessing a table space ?

Asked by: Chivalrous Man | Member Since Apr-2011 | Asked on: Apr 8th, 2011

View all questions by Chivalrous Man

Showing Answers 1 - 3 of 3 Answers
vinodraj

Answered On : Jul 15th, 2011

Code
  1. SELECT * FROM dba_ts_quotas;

-1 identicates the user has quota unlimited.

  
Login to rate this answer.
Rajashekar

Answered On : Sep 5th, 2011

suppose if we are in need of the users connected to a tablespace called abcdata 6the how to findut?

SELECT USERNAME, TABLESPACE_NAME FROM DBA_USERS WHERE TABLESPACE_NAME='ABCDATA';

this will display the users connected to the tablespace abcdata.

  
Login to rate this answer.
Sharfuddin

Answered On : Sep 29th, 2011

select username,default tablespace,temporary tablespace from dba_users;

This query executes only if following queries is run in mount stage
1. @ $ORACLE_HOME/rdbms/admin/catalog.sql
2. @ $ORACLE_HOME/rdbms/admin/catproc.sql
3 connect system/manager
@ $ORACLE_HOME/sqlplus/admin/pupbld.sql

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.