单项选择题
One of the users in the PROD database, Adams, complains that his update on the table, TRANS, is taking an unusually long time to complete. You find that the table gets locked by another database user before Adams starts his transactions, and you are unable to contact the user holding the table lock. As Adams is updating some crucial rows in the table, he should get the highest priority. Which method would you use to overcome this problem?()
A.execute the command, ALTER SESSION KILL .., to kill the blocking session
B.execute the DBMS_SESSION.KILL_SESSION procedure to kill the blocking session
C.execute the command, ALTER SYSTEM KILL SESSION .., to kill the blocking session
D.execute the command, ALTER SESSION UNLOCK .., to release the lock for the blocking session
E.execute the command, ALTER SYSTEM UNLOCK SESSION .., to release the lock for the blocking session
相关考题
-
单项选择题
Youhavetwodatabases,FINDBandPAYDB,onsingleoperatingsystemandusingOptimalFlexiblearchitecture(OFA).FINDBisfunctionalandiscurrentlybeingaccessedbytheusers.WhilestartinguptheinstanceforthePAYDBdatabaseyougetthefollowingerror:ORA-01081:cannotstart-alreadyrunningORACLE-shutitdownfirstWhichenvironmentalvariablewouldyousetbeforestartingupthePAYDBdatabasetoovercomethiserror?()
A.ORA_PATH
B.ORACLE_SID
C.ORACLE_BASE
D.ORACLE_HOME
E.LD_LIBRARY_PATH -
多项选择题
While setting up the database for your production environment, you want to create a user with following requirements. 1.The objects created by the user must be stored in a tablespace, TBS1, if the TABLESPACE option is not defined during the object creation. 2.The user should be able to use 10MB of space in the tablespace TBS1. 3.The user must change the password immediately after logging in for the first time. Which three options of the CREATE USER command would you use to achieve this objective?()
A.profile
B.account lock
C.account unlock
D.password expire
E.quota 10MB on TBS1
F.password never expire
G.default tablespace TBS1
H.quota unlimited on TBS1
I.temporary tablespace TEMP
J.temporary tablespace SYSTEM -
单项选择题
Inyourdatabase,theusersSYSandSYSTEMhavebeenassignedtheprofiles,ADMIN_PROF1andADMIN_PROF2,respectively.TherestofthedatabaseadministratorsareassignedtheprofileADMIN_PROF3.Youcreateaprofile,USER_PROF,andassignittotheapplicationuser,Adams.Afteraweekyourealizethattheprofileisnolongerrequiredandyoudecidetodropit.WhatwillAdam’sprofilebeaftertheUSER_PROFprofilehasbeendropped?()
A.no profiles
B.the default profile
C.same as the profile of SYS user
D.same as the profile of SYSTEM user
