The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Thanks to latest SA EBF, now is very convenient to get any actual compound query plans immediately, but I have some suggestions.

Due security reasons and for strong interface type checking, all my stored procedures divided to some independent packages with different owners.


create package dba.core_package;
create procedure dba_proc(...) at dba.core_package
grant execute dba_proc to user1;

create package user1.user_package;
create procedure user1.user_proc(...) at user_package
-- remark: user_proc calls dba_proc() within

When user1 invoke and getting plan of user1.user_proc(…),

select plan(user1.user_package.user_proc(..))

than query paln also have full statistics for dba_proc and any procedure invoked from dba_proc.

Is it possible to extend granting security rules for hiding/unhiding statistics for nested stored procedures?

SA 12.0.1.0412

asked 01 Apr '12, 06:27

AlexeyK77's gravatar image

AlexeyK77
70761224
accept rate: 8%

edited 02 Apr '12, 21:01

Graeme%20Perrow's gravatar image

Graeme Perrow
8.4k369107

FWIW, the question has been given a "1stapril" tag by the author - i.e. "April Fools' Day"...

(03 Apr '12, 03:29) Volker Barth

Thanks for the suggestion, Alexey. We will investigate potential options.

permanent link

answered 02 Apr '12, 14:01

Glenn%20Paulley's gravatar image

Glenn Paulley
10.7k568104
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106
×22

question asked: 01 Apr '12, 06:27

question was seen: 796 times

last updated: 03 Apr '12, 03:29