DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Single user logon in Database

  1. #1
    Join Date
    Oct 2001
    Posts
    52
    Hi,
    I am trying to do an export from my database. But I just wonder whether I can block other user to logon in my database during the process. I had tried using 'startup mount' but it did't work. Would be appreciate all kind of your advise.
    Thank you in advance

  2. #2
    Join Date
    Oct 2000
    Posts
    250
    One way I can think of is to lock the user account.
    Write a script to lock all the users' account.
    'alter user account lock;' command then run the spooled file generated. Of course this script u want to exclude from SYSTEM and SYS user.

    Then you can use SYSTEM user to proceed with ur export backup.

    Any other option are very welcome to post over here.

  3. #3
    Join Date
    Mar 2001
    Posts
    635
    Hi

    Start the database in restricted mode

    startup restrict

    then use a user with

    restricted session

    privilege to perform the export

    Regards,
    Santosh

  4. #4
    Join Date
    Oct 2000
    Posts
    250
    Yup! Satoshym is right.

  5. #5
    Join Date
    Oct 2001
    Posts
    52
    Thanks buddy. Will try to do it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width