- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Releasing database access to others
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 03:13 PM
тАО05-30-2004 03:13 PM
Releasing database access to others
I'm currently in charge of a critical database system (Oracle 7). I intent to release this database to other users for data extraction only. These users will run select statements in the database to extract data
Questions
1) How do I prevent these data extraction users from running DML and DDL statements?
2) How do I prevent users from hogging server CPU with poorly optimised SQL written by them?
Thanks for any suggestions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 07:24 PM
тАО05-30-2004 07:24 PM
Re: Releasing database access to others
SQL> alter database open read only;
2. Oracle 8 & 9 offer Resource Manager to control things like CPU resources. Not sure about Oracle 7.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 08:32 PM
тАО05-30-2004 08:32 PM
Re: Releasing database access to others
2) In Oracle 8 you can create a new profile (in Oracle Enterprise Manager) and assign this profile to the new user:
ALTER USER "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 08:41 PM
тАО05-30-2004 08:41 PM
Re: Releasing database access to others
1. System Privileges like create table.
2. Use Object Privileges on newly created views as suggested by Antunes.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 09:40 PM
тАО05-30-2004 09:40 PM
Re: Releasing database access to others
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2004 07:21 PM
тАО05-31-2004 07:21 PM
Re: Releasing database access to others
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 12:52 AM
тАО06-01-2004 12:52 AM
Re: Releasing database access to others
However, something more serious is that you have a critical database running Oracle 7. If memory serves, Oracle 7 is no longer supported. You may want to consider going to at least 9i.
Under 9i you can put users into consumer groups and control how much of the system resources they can grab based on time of day and other parameters.
Under 7, your best defense is (as others have stated) views, but even at that there is no guarantee that a bad sql statement can be applied. If you design the views right, you can eliminate or at least hopefully reduce the amount of ad hoc queries.