DBA question: "sticky" statistic?

Hi,
what is it a "sticky" statistic? In DBACOCKPIT I see several message as:
Column SETNAME is sticky on histogram steps, partial hashing
What can I do to solve it?
PS: of course, Number of Tables with Incomplete Index Statistics = 0
Thank you.

Careful.   The concept of "stickiness" is not necessarily a problem that needs solved.   What "sticky" means from index statistics is that certain statistics attributes are retained vs. the defaults when update statistics is run without any attribute values specified.    For example, 'histogram steps' - not sure what your values are - but let's say they are 100 (a good value for SAP applications) for a table such as COVP.   If I then run:
update index statistics "SAPSR3"."COVP"
I retain the 100 value for histogram steps even though the default for the server likely is 20.   However, if you remove the stickiness, then run the above command, you will reset the number of histogram steps to 20 - which could lead to query issues with large IN() clauses, etc.   Another way to reset/override the value is to do something like:
update index statistics "SAPSR3"."COVP" using 50 values
....which then sets the 'histogram steps' for all column histograms to use 50 values instead of the previous 100 (or whatever).
Point I am making is that you would not normally remove 'stickiness' from index statistics unless you have a VERY good reason and you fully understand what it is that you are changing and how it will impact query optimization.

Similar Messages

  • Question about Statistical Forecast

    Hi,
    We are trying to configure Statistical Forecast and the challenge is the planning level:
    Our input KF is called Sales History and has a base planning level as:
    PE/PRD/SOG/SOF/SGP/DC/ST   (Period/Product/S.Org/S.Off/S.Gp/Dist.Channel/Sold-To level)
    however we want our forecast to be run at a more aggregate level as:
    PE/PRD/SOG/SOF    (Period/Product/S.Org/S.Off),
    i.e. without 3 levels SGP/DC/ST (S.Gp/Dist.Channel/Sold-To level)
    My questions are:
    1)  How can we forecast at an aggregate level without using too many helper KFs?
    2)  Given that input KF and output KF for statistical forecast have to be at the same the aggregated planning level, how can we disaggregate forecast result back to the detail level?
    Thank you.
    Yee Ann

    Hi Ram,
    thank you for your fast reply. I might not have expressed myself clearly enough. Our situation is as follows:
    We have an input key figure (ACTUALSQTY) at level PERPRODCUST and an output KF (STATISTICALFCSTQTY) at the same level. The statistical forecast itself however should be calculated at the higher level PERPRODCHAN (CHAN=distribution channel of the customer), and the results should be stored at STATISTICALFCSTQTY@PERPRODCUST, on the lower level. We need this STATISTICALFCSTQTY@PERPRODCUST as input for the manual sales forecast; the sales forecast KF has the base planning level PERPRODCUST, therefore I need to have the input at this level as well.
    As far as I know, it is possible in APO DP to explicitly name a level for the statistical forecast itself, even when the level of the input/output key figures is lower.
    I was hoping that there is a similar functionality in S&OP on HANA, i.e. I define a forecasting profile with input and output KF at PERPRODCUST and insert the forecast level PERPRODCHAN either in the forecasting profile or in the Excel AddIn when running a forecast.
    As I assume from your answer above, I was thinking too simple.
    If I define ACTUALSQTY@PERPRODCHAN and STATISTICALFCSTQTY@PERPRODCHAN I can do the forecast at this aggregated level, that is fine. However, I need another KF like DISAGG_STATISTICALFCST@PERPRODCUST as input for SALESFCSTQTY@PERPRODCUST, i.e. for the manual sales forecast on level PERPRODCUST. I think that is actually the same situation that Yee Yuen described in
    "2)  Given that input KF and output KF for statistical forecast have to be at the same the aggregated planning level, how can we disaggregate forecast result back to the detail level?"
    And I didn't get your idea of how to derive this DISAGG_STATISTICALFCST@PERPRODCUST from STATISTICALFCSTQTY@PERPRODCHAN.
    It would be great if you could help me again!
    Cheers, Jonathan

  • A DBA question

    Hi,
    This is a database question.
    I am using JDeveloper 10.1.3.4 and got an error when entering a WHERE clause in the definition of a view object:
    SQL Query Error Message: ORA-00904: "LDAPUID": invalid identifierI figure the cause of this problem lies in the database tables because I can connect to the database schema from the Connection Navigator, and can see the table descriptions of all the three tables in the Structure tab, but can not see any rows in any of the three tables on the Data tab. (I can query the tables and get expected returns in sqlplus, though).
    I have three tables in the schema, with foreign key constraints. When inserting rows into the empty tables, I use saved scripts that contain the INSERT command lines, such as
    INSERT INTO BILL VALUES ('LDAP_UID', 'FIRST_NAME', 'LAST_NAME', ....);The saved scripts contain up to more than 20,000 lines. When these scripts are run (such as SQL> @fill_bill.sql), in addition to the "1 row created" lines, I also saw long lines flashing by on the screen. These must be some error messages. But they flashed by too fast I could not catch any of them.
    Is there any way to capture the messages in a log file so I can examine them afterwards. Or somehow have the execution of the sql script halted automatically upon encountering a culprit INSERT statement in the script so that I can see which line has what problem?
    Thanks a lot!
    Newman

    Hi, Shay:
    The column name in the table is LDAP_UID. In the entity object the name of the attribute for the column is LdapUid. The WHERE clause I used is: LdapUid=lower(:TheCurrentUser). I clicked Test button to test the WHERE clause. When the error pops up, I clicked the Help button and the explanation is:
    View Object SQL Query Statement
        This area displays the view object SQL, to the line where the error occurred. For view objects,
        this is the view object's query. For view links, it is the destination view object's query, as
        modified by the view link's WHERE clause. In either case, null is passed in for all parameters
        (such as WHERE clause parameters in a view object or source attributes in a view link). This explanation made me think that the test query did not receive any return.
    Again, is there a way to capture the errors in a log file when executing the sql INSERT statements?
    Thanks!
    Newman

  • DBA Question - User stats

    Greetings,
    So I am sitting at my desk when PHB (that's Pointy Haired Boss for the non-Dilbert people out there) comes in and asks - "so is anyone really using that database they told us to set up?"
    "Uhh, gee, I don't know. I haven't gotten any phone calls..."
    So, I pull out the books, only to discover that I have no clue how to ask the database for historical informatio like is anyone actually using the database.
    So, can anyone help me out - what tables store that sort of information - such as logins, number of requests etc? Anyone have a quick SQL script that will pull that sort of information. I am not interested in the "database" just the user tables.
    Thanks,
    DAVID
    David A. Lane, CNE
    Technical Director
    [email protected]
    "DBA? I can spell Oracle..."

    For table access and logins, you can enable auditing. To activate auditing at the database level, you need to set the AUDIT_TRAIL init.ora parameter (set it to DB). This allows the database to audit. Then you need to turn on auditing for the objects you want to audit (logins included). Be carefull, auditing has overhead associated with it. Audit the smallest amount to achieve your goals.
    As far as activity is concerned. Oracle does not generate historical information about activity. It does have a cumulative table, V$SYSSTAT, which stores some usefull information. You can query this table to get some of your information. You may want to query V$SESSION periodically and store the output in a file. You can see how much activity is occuring, say, every 30 minutes.
    e.g. Select count(*)
    From v$session
    where status = 'ACTIVE';
    This may help some.
    -Jim Wartnick
    [email protected]

  • Urgent! DBA question

    Hello,
    I just upgraded our database from Oracle8i to 9i (903 and applied patch 9034) on Solaris (2.8). I am getting ORA-07445 error in alert log quite often. Here is the typical error:
    Sun Jan 4 20:19:12 2004
    Errors in file /u01/app/oracle/admin/terawatt9/udump/terawatt_ora_12709.trc:
    ORA-07445: exception encountered: core dump [0000000101D471A8] [SIGBUS] [Object
    specific hardware error] [0xFFFFFFFF7CD1AEE0] [] []
    I had not applied the latest Solaris 8 patches recommended by the manual before upgrading to 9i. But now I got the latest patchs applied to the OS. Could this be the cause for errors? Can anything be done to fix it without a need for reinstallation of 9i software? This is a production database and I can't get another large downtime.
    Another problem we are having is, oracle processes are growing in large numbers. We are using dedicated server and Oracle 9iAS server (Servlets) is opening a large number of connection instead of reusing the old ones. Is there a database configuration parameter that I can set to kill the old unused sessions after 5 minutes or so? For now I want to fix this on database side. Later I will fix the application.
    Any help is greatly appreciated.
    Thanks!

    Hi,
    here is some material for u from Oracleadvice.com.
    Thanks to Oracleadvice.com.
    Regards
    Padmanaban
    BUGBUSTER - V$SQL_PLAN causes ORA-07445
    Affects Versions: 9.2.0.1.0, 9.2.0.2.0, 9.2.0.3.0
    Fixed in: 9.2.0.4.0
    BUG# (if recognised) 2754611, 2451928, 2791172
    This info. correct on: 18-SEP-2003
    Symptoms
    Using a WHERE clause on queries against the V$SQL_PLAN table causes sessions to disconnect.
    SQL> select * from v$sql_plan where address='000000038DAEB370';
    select * from v$sql_plan where address='000000038DAEB370'
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    A glance in the alert.log shows an ORA-07445 error and a trace file left in user_dump_dest. Here is an extract from the trace file:
    *** 2003-09-16 11:35:57.019
    *** SESSION ID:(25.3760) 2003-09-16 11:35:57.010
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x1f8, PC: [0x101648efc, 0000000101648EFC]
    *** 2003-09-16 11:35:57.024
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0000000101648EFC] [SIGSEGV] [Address not mapped to object] [0x0000001F8] [] []
    Current SQL statement for this session:
    select * from v$sql_plan where address='000000038DAEB370'
    Workaround
    You can workaround this problem by creating a view based on the V$SQL_PLAN table and excluding the FILTER_PREDICATES column which is a VARCHAR2(4000). Cut and paste the code provided here and use the view MY$SQL_PLAN in place of V$SQL_PLAN.
    create or replace view MY$SQL_PLAN as
    as
    select
    kqlfxpl_phad ADDRESS,
    kqlfxpl_hash HASH_VALUE,
    kqlfxpl_chno CHILD_NUMBER,
    substr(kqlfxpl_oper, 1, 30) OPERATION,
    substr(kqlfxpl_oopt, 1, 30) OPTIONS,
    substr(kqlfxpl_tqid, 1, 10) OBJECT_NODE,
    to_number(decode(kqlfxpl_objn, 0 , NULL, kqlfxpl_objn)) OBJECT#,
    case when kqlfxpl_objname is not null
    then 'SYS'
    else u.name
    end OBJECT_OWNER,
    nvl(p.kqlfxpl_objname, o.name) OBJECT_NAME,
    substr(kqlfxpl_opti, 1, 20) OPTIMIZER,
    kqlfxpl_opid ID,
    to_number(decode(kqlfxpl_opid, 0, NULL, kqlfxpl_paid)) PARENT_ID,
    kqlfxpl_depth DEPTH,
    kqlfxpl_pos POSITION,
    kqlfxpl_scols SEARCH_COLUMNS,
    to_number(decode(kqlfxpl_cost, 0, NULL, kqlfxpl_cost)) COST,
    to_number(decode(kqlfxpl_card, 0, NULL, kqlfxpl_card)) CARDINALITY,
    to_number(decode(kqlfxpl_size, 0, NULL, kqlfxpl_size)) BYTES,
    substr(kqlfxpl_otag, 1, 35) OTHER_TAG,
    substr(kqlfxpl_psta, 1, 5) PARTITION_START,
    substr(kqlfxpl_psto, 1, 5) PARTITION_STOP,
    to_number(decode(kqlfxpl_pnid, 0, NULL, kqlfxpl_pnid)) PARTITION_ID,
    kqlfxpl_other OTHER,
    substr(kqlfxpl_dist, 1, 20) DISTRIBUTION,
    to_number(decode(kqlfxpl_cpuc, 0, NULL, kqlfxpl_cpuc)) CPU_COST,
    to_number(decode(kqlfxpl_ioct, 0, NULL, kqlfxpl_ioct)) IO_COST,
    to_number(decode(kqlfxpl_temp, 0, NULL, kqlfxpl_temp)) TEMP_SPACE,
    kqlfxpl_keys ACCESS_PREDICATES,
    'FILTER PREDICATES UNAVAILABLE DUE TO BUG' FILTER_PREDICATES
    from
    x$kqlfxpl p, obj$ o , user$ u
    where
    p.kqlfxpl_hadd != p.kqlfxpl_phad
    and p.kqlfxpl_objn = o.obj#(+)
    and o.owner# = u.user#(+);

  • DBA question

    I have oracle database on linux.I also have another oracle database in another city.
    I export everything from my database and import to my remote database.
    What I want to know is, is it possible to add redolods or archive logs from my current database to my remote database everyday, so that both have same data.

    You may want to configure a Data Guard environment, please check Oracle® Data Guard Concepts and Administration
    10g Release 2 (10.2)
    Part Number B14239-04
    ~ Madrid

  • DBA Question User Deletion

    If I delete a User from the Database, will it also delete (Automatically) all the Tables, Views, etc associated with the user?
    If it does not delete the tables, etc what would be the best tool to use such that I get rid of all the objects under the User.
    FYI, I am using Oracle 8.1.7

    If I delete a User from the Database, will it also delete (Automatically) all the Tables, Views, etc associated with the user?Yes it will but you need use "cascade" clause.
    So command should look:
    drop user <username> cascade;

  • Dba....

    Can you help me answer a dba question. I want to know if the system tablespace should be dictionary or locally managed. And also if which tablespaces should be locally managed such as Rollback segment or Temp tablespaces.
    Furthermore, I want to know if it is necessary to manage extents in the system tablespace.

    Hi
    To display the current "configuration" you can use the following statement:
    SELECT tablespace_name, extent_management, allocation_type FROM dba_tablespaces
    If possible use only locally managed tablespaces. This is very important for RBS and TEMP. Notice that only with 9iR2 is possible to have a locally managed system tablespace.
    Usually no extent management is performed on the system tablespace.
    Chris

  • Selecting the Planning Level for Statistical Forecast in S&OP on HANA

    Hello together,
    we currently face an issue regarding the statistical forecast in S&OP on HANA:
    The customer wants to implement an S&OP process containing the two steps statistical forecast (automatically calculated) and sales forecast (manually determined). The planning level of the statistical forecast should be higher than the planning level of the sales forecast, i.e. the statistical forecast is calculated on a higher planning level and then disaggregated to be an input for the manually determined sales forecast.
    Since it doesn't seem to be possible to disaggregate any key figure below its base planning level we need to have the lower sales planning level as base planning level in all key figures, including the input and output key figures of the statistical forecast.
    When running a statistical forecast with a defined forecasting profile, the planning level used for the forecast seems to be the base planning level of the input/output key figures defined in the forecasting profile.
    However, we need to define a higher planning level for the statistical forecast in order to have a better data base for recognizing trends and sesonality. In APO DP it is possible to define the planning level for the forecast when running/scheduling the forecasting job. Is this also possible in S&OP on HANA? Can we define the planning level for the forecast in the forecasting profile or when running the forecast from the Excel AddIn? I tried to use the field "Filter" in the forecasting profile as it listed all the planning levels (as well as a lot of other things, we don't know where they come from), but the forecast was still carried out on the base planning level.
    Do you have any other idea where to define the forecasting planning level that is different from the base planning level of the input/output key figures?
    Thank you in advance,
    Jonathan

    Hi Bert,
    thank you for your fast answer. I checked the forum again and found this post:
    Question about Statistical Forecast
    However, I don't really get how the disaggregation is meant to work; the suggestion seems to be to calculate a forecast on an aggregated level, i.e. with input and output key figure with an aggregated base planning level, and then disaggregate it "somehow".
    Do you have any idea how this disaggregation might work and what other steps I have to consider?
    It seems as if I'd have to define a whole bunch of new key figures and have more than one output key figure but no input key figure for the statistical forecast, which doesn't make sense in my eyes.
    Actually I was looking for a solution where I can define my forecasting profile with both input and output key figure on the lower planning level and then insert the level I want the forecast to be done at either in the profile as well, or even more flexible when running or scheduling a forecast. Defining more key figures any time I need another forecasting level does not appear very comfortable. Is it meant to be like that or is there another way to reach the goal mentioned above?
    Cheers,
    Jonathan
    Edit: The mentioned thread contains some valuable information on how to disaggregate key figures. However, the really tricky decision is how to define the disaggregation ratio.

  • Statistical forecasting....Input and Output at different levels? & MAD and MAPE calculations

    Team,
    Couple of questions on Statistical Forecasting...
    1) Is it possible to have input and output KF at different planning levels?...
    2) Is there anyway to see MAD and MAPE values for each Forecast run?
    Any help is appreciated....Thanks for your help...
    Thanks,
    Krishna

    Hi Krishna,
    #1 - The Inputs and Outputs should be at the same base planning level. Output should be a Stored KF. The input can be a calculated KF.
    To achieve input and output at different plan levels, you can do something like this:
    I/P KF1@PL1 (stored)   Output: KF3@PL2
    Create a Calculated KF: KF2@PL2 with calculation like SUM(KF1@PL1) and use this as input for StatFcst
    #2 - The result of Fcst run MAD cannot be seen from Excel Client yet, we will address this in near release. If you are on-premise, you can see the results in table: sap.sop.sopfnd.catalogue::SOPFCS_FORECAST_RUNTIME_INFO_TAB
    Hope this is useful.
    Thanks,
    Raghav

  • Statistical WBS in Error

    In Project Systems -we have a Level 4 WBS that has a travel document /cost charged against it and the WBS is statistical, when we move the cost to a cost center and return to CJ20N to view the WBS in question, the statistical box is greyed out, refusing to let us change it, even though in the IMG, via configuration we have changed PRPS-XSTAT to "Input" from display mode and we've also changed "Integrated Planning" from display to Input for the project profile we are working on.
    How did this come about, the Level 2 WBS was marked account assignment in error and our sbustitution did not fire removing integrated planning from the Level 4 WBS, therefore we cannot remove the integrated planning status of the Level 4 WBS on the Control Tab in CJ20N. We suspect because costs have been charged against the statitiscal WBS in error - BUT moved to a cost center - effectively deleting it from the WBS - correct?, then the WBS should be available for us to make changes to it? Please respond as quickly as you can. Regards,..........Em Lewis, NC DOT

    Hi,
    Reversal is just another posting which negates the original one and brings the net value to zero. So once the posting is made these checkboxes will not be open for editing.
    Regards
    Sreekanth

  • Statistical forecast - automatic model

    Dear Experts,
    I have specific question regarding statistical forecast in DP
    i am using automatic model selection -2
    outlier correction - expost method
    mape upper limit set to -20 % in diagnosis group
    forecast profile - uni variant
    now  i have
    Invoice History - 
    Jan-13
    13-Feb
    13-Mar
    13-Apr
    13-May
    13-Jun
    14-Jul
    13-Aug
    13-Sep
    13-Oct
    15-Nov
    13-Dec
    105
    204
    244
    455
    22
    45
    25
    67
    76
    68
    89
    100
    now i run statistical forecast
    what will be the result
    Jan-14
    14-Feb
    14-Mar
    14-Apr
    14-May
    14-Jun
    14-Jul
    14-Aug
    14-Sep
    14-Oct
    15-Nov
    14-Dec
    105
    204
    244
    455
    22
    45
    25
    67
    76
    68
    89
    100
    my question is does jan 13 invoice history is taken for jan 14 forecast ??  like wise for other month too
    please advise how the system use time bucket and to calculate the forecast
    i also have question regarding ex-post method and median method and none
    whats the difference between these methods
    Regards
    Raju

    Hi Raju,
    Take a look of the SAP documentation. Here you have the detail of what the Auto Model Sel 2 is doing:
    Automatic Model Selection Procedure 2 - Univariate Forecasting - SAP Library
    Anyway, maybe because I don't understand exactly what the system is doing or maybe because I have found inconsistencies, I would not use the automatic model selection models in APO DP.
    Take a look of these articles talking about some inconsistencies:
    Getting Best Fit to Work in SAP? - Demand Planning
    Best Fit Forecasting in SAP DP - SAP Planning
    As you can see in the first article, Auto Model Sel 2 uses to copy the data.
    If you are trying to identify the model, take a look of the Sales Pattern, then run different methods, play with the parameters (alpha, beta, gamma) and determined what should be the model and the set of parameters base on the MAPE.
    For ex-post method (constant), you can read this article:
    APO DP - Forecast Model Parameters: First-Order Exponential Smoothing
    Looking at the SAP help documentation you can see the difference between Ex-post and Median methods:
    Ex-Post Forecast - Univariate Forecasting - SAP Library
    Median Method - Univariate Forecasting - SAP Library
    Kind Regards,
    Mariano

  • Using a variable in a view?

    I know that it may not be possible to use a variable within a view, but I'm wondering if there isn't a work-around? If there is a single value---pulled from another table---you wish to reuse in a view that does not use dynamic SQL, how do you do so? I've been toying around with WITH statements, but that's getting me nowhere. I'm using 11r2.
    BTW, please do not ask me the standard litany of angry-dba questions (why are you doing this? your database is f*****, RTFM, etc.), this is just for my own curiosity. :)
    Thank you
    Example for demo purposes only (I know it's not syntactically correct):
    variable var_value varchar2(30)
    begin
    select this_is_just_one_value
    int :var_value
    from tableX where column1 = 'BOB';
    end;
    select
    numerous_columns
    from tableY
    where
    column5 = :var_value;

    893968 wrote:
    BTW, please do not ask me the standard litany of angry-dba questions (why are you doing this? your database is f*****, RTFM, etc.), this is just for my own curiosity. :)Why are you doing this? your database is f*****! RTFM! Etc!! ;-)
    SQL is not a procedural language - so you cannot create a view for example that has a parameter signature. E.g. this is possible in a procedural language:
    declare
            cursor c( deptID number ) is
                    select * from emp where deptno = deptID;
    begin
            open c( 1234 ); --// open SQL cursor using a parameter/variable
            --// etc..
            close c;
    end;This is not possible using a SQL object like a view. As a view is not a procedure. So the same approach as the above using SQL (silly example, but do demonstrates the basics):
    // define
    create or replace view emp_view as select * from emp;
    // use
    select * from emp_view where deptno = 1234;The CBO is clever - and it will likely push such a predicate into the emp_view SQL statement.
    To parameterise such a view, is ugly. And should only be considered when dealing with issues such as security and data restrictions. A context is created - this can contain a number of name-values. The view can then use a name-value from the context. Oracle's data dictionary views use this approach.

  • This forum needs a FAQ

    In my opinion, we desperately need a Frequently Asked Questions sticky thread that we can point people to. People post the same questions, day after day, week after week.... At the top of my list would be:
    Installation Issues: "Help, I just installed APEX and when I go to the URL it..."
    - Returns a 404
    - shows a bunch of broken images
    Upgrade issues: Same as install for the most part.
    I can get to APEX from localhost, but not anywhere else on the network
    Tabular form issues: "I'm new to APEX and I have a tabular form and I want to...
    - Validate it
    - Validate it as a tab from field to field
    - Have a popup that returns values to 23 fields instead of just 1
    - Base one select list on another
    - Update multiple tables
    - Go back to Forms, the web scares me
    File upload...
    - I want to put the file in my own table
    - I want to access files on the client PC (no you don't)
    Role Priv issues
    - My query works in TOAD but not in APEX?
    Primary Key issues:
    - Why won't APEX let me edit my primary keys?
    - I have a composite pk based on 11 columns, but it doesn't work with APEX? Also, I'd like to be able to edit all of them... in a tabular form... with dependent select lists... ;)
    - Why do I need a trigger and a sequence
    - What's a primary key
    AJAX / JavaScript issues:
    - dependent select lists
    - auto-complete
    - custom popups
    - I don't know Java (which is the same as JavaScript, right?) and I want a custom popup with auto-complete, dependent select lists, and return values to 19 fields.
    Web Issues: How do I ...
    - Change the look and feel of my application
    - Highlight certain values in a different color
    - Make the font bigger
    - Make the column wider / narrower
    - Display 129 columns on an 800x600 screen without scrolling
    - Access files on the users computer (yes, it's a repeat)
    PDF / Excel Issues
    OK, I know there were a few rants buried in there, but seriously, can we consolidate this stuff? Maybe a page on wiki.oracle.com that we either pull from or point to so the community can populate it? Some of these questions are so repetitive, I'm about ready to filter the forum through yahoo pipes so I don't even see them anymore. No matter what we do, I think the top sticky thread should be a FAQ.
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]

    as one of the new addicts.... I figured I'd offer my 2 cents on the subject
    When I'm first learning, I find FAQ overwhelming. I don't have the vocabulary at that point in time to even know what I'm trying to learn, and the FAQ-list is so long that it's as just as intimidating as the source documentation itself. Having a category for AJAX is fine, if I had an inkling that what I need is related to AJAX.
    Later, once I'm getting my bearings, I go back and read (and re-read) the FAQ, past threads, and the documentation. And the pieces of the puzzle start to fall into place, and I'm able to post less.
    So, I think having a FAQ would be good, but what I think it would be more helpful to have a two sub-forums.
    One for newcomers, and one for folks who have their apex-legs.
    So there is a place to ask the elementary questions, over and over. And, those of you who are experienced can decide whether or not you're in the mood to address the same questions repeatedly, or if you'd prefer to spend your time with the more complex questions.
    Marion
    Edited by: Marion in NY on Nov 11, 2009 10:28 AM
    Edited by: Marion in NY on Nov 11, 2009 10:28 AM

  • Using a TSA in own signature handler

    Good day,
    Can someone help me with the steps involve in creating using a TSA inside a custom signature handler api?
    When I set the TSA as my default time server as sign my signature field with the normal Adobe Default handler, it uses the TSA and the signature properties reflects this. I wnat to know how I can use a TSA with my custom handler. I sign signature fields using the PROP_PSENG_SignFormatPKCS7DetachedDigest. How can I include a TSA? I've tried adding a TimeStamp dictionary to my SV dictionary of the signature field, but it does not seem to have any affect on the signature...
    Any help would be greatly appreciated.
    Regards,
    Magda

    893968 wrote:
    BTW, please do not ask me the standard litany of angry-dba questions (why are you doing this? your database is f*****, RTFM, etc.), this is just for my own curiosity. :)Why are you doing this? your database is f*****! RTFM! Etc!! ;-)
    SQL is not a procedural language - so you cannot create a view for example that has a parameter signature. E.g. this is possible in a procedural language:
    declare
            cursor c( deptID number ) is
                    select * from emp where deptno = deptID;
    begin
            open c( 1234 ); --// open SQL cursor using a parameter/variable
            --// etc..
            close c;
    end;This is not possible using a SQL object like a view. As a view is not a procedure. So the same approach as the above using SQL (silly example, but do demonstrates the basics):
    // define
    create or replace view emp_view as select * from emp;
    // use
    select * from emp_view where deptno = 1234;The CBO is clever - and it will likely push such a predicate into the emp_view SQL statement.
    To parameterise such a view, is ugly. And should only be considered when dealing with issues such as security and data restrictions. A context is created - this can contain a number of name-values. The view can then use a name-value from the context. Oracle's data dictionary views use this approach.

Maybe you are looking for

  • My 24" intel white iMac won't boot from any source?

    I've tried everything that every forum and youtube video has suggested.  I've reset the PRAM, disconnected all external devices/cables (except USB keyboard), performed a power cord out reset,  attempted reboots from several install disks, and a boota

  • I can't close iphoto

    i can't close iPhoto, it keeps saying "photos are being imported to the phot library please wait for import to complete" but theres nothing importing. i can't import photos and can't even shut my computer down. how can i fix this? ca

  • HT4798 I've forgotten my login password to my MacBook Pro

    I have a 13" MacBook Pro and I've forgotten my login password. It's running on mountain lion and didn't come with a installation/reset disk. How can I log into my computer? Please help. 

  • Logo does not appear in XI ?

    Hi, I import invoices into XI but they appear without my company logo, can anyone advise how I can get the logo to appear?

  • Netscape library in eclipse

    how can i add netscape.jar to eclipse there is no archive file such that on linux version i have eclipse 3.3. and also i could not find where to download it. i wanna import netscape.javascript.* btw:) THX for YOUR REPLIES