Tuning sql of a product to the seller without changing the sql statement

Hello

We have a product of the provider that generates the SQL statement. For a query, we get the answer in 15 seconds. But users are asking if we can bring it back to 5 seconds. Limitation is the query can not be changed. He used about 10 to 12 tables and bit complex query.

What kind of options could be evaluated if we are to improve the performance of a query (not sure if she could never be reduced to 5 seconds)
without making any change to the query.

Database Version: Oracle 10.2.0.4

Thank you
Delphine

Hello

http://www.Oracle-base.com/articles/10G/AutomaticSQLTuning10g.php

your software is enterprise or standard?

Tuning Pack & pack diagnosis are extra cost option with the standard edition.

& the useful note * automatic SQL Tuning - SQL [271196.1 ID] profiles *.

http://www.Oracle.com/us/corporate/pricing/technology-price-list-070617.PDF

Thank you

Published by: CKPT November 5, 2010 11:12

Tags: Database

Similar Questions

  • Education system purchase of product for the United States abroad

    I am a student from Bangladesh, where no dealer authorized Apple who provides the product of education.

    I have relatives in the United States. However, do I buy the product for the education of the apple Web site and ship it to my parent so I can get it in my hand next month. I would like to buy a macbook pro.

    To buy the site of USA you must have a means of payment from the US (e.g., credit card billing address) and payment of the United States.

    To use the USA educational discount I think that school should be a U.S. school.

  • Tuning PL/SQL - tkprof still shows a lot of work for the RECURSIVE STATEMENTS

    Hello

    First of all I don't know if this should be in the "database - general' or 'SQL and PL/SQL. Given that it is more a question specifically on the PL/SQL performance, I'll put here in 'database - general. " I hope that doesn't offend anyone.

    I just started watching a performance in our application issue. One of the developers establish me a procedure that replicates the question, I ran by tracing the session and then fed the tkprof on trace file. The results at the bottom of my eyes like this tkprof output file:
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        3      0.01       0.07         10         60          0           0
    Execute      3      0.01       0.01          0          3          0           3
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        6      0.03       0.08         10         63          0           3
    
    Misses in library cache during parse: 1
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       5        0.00          0.00
      SQL*Net message from client                     4        1.68          1.70
      db file sequential read                        18        0.01          0.10
    
    
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse      416      0.00       0.01          0          0          2           0
    Execute   1456      0.71       0.75         26       1739        425         590
    Fetch     2932      0.12       2.21        337       6338          0        3061
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total     4804      0.84       2.98        363       8077        427        3651
    
    Misses in library cache during parse: 25
    Misses in library cache during execute: 24
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                       343        0.08          2.09
      db file scattered read                          1        0.00          0.00
    
       47  user  SQL statements in session.
      888  internal SQL statements in session.
      935  SQL statements in session.
       31  statements EXPLAINed in this session.
    I'm looking in particular to this relatively high activity RECURSIVE STATEMENTS, because for me, NO RECURSIFS (ie the actual submitted statements that form our code) seems harmless enough. It's my first experience to try to solve some complex looking for PL/SQL and I have no idea what might be considered more "normal", but I think I know and research on google, the results seem pretty strange to me.

    Is this strong activity for RECURSIF INSTRUCTIONS a problem, and if so, what should I start looking to reduce this activity?



    Kind regards

    ADOS

    should I concentrate my efforts on the identification of our STATES RECURSIFS

    1 456 executions took 2.98 seconds. If you are concerned? It depends on if it is essential for your application.

    Published by: Hemant K grapple on July 30, 2009 16:43

  • Copy SQL statement to another database with the same SQL_ID

    Is there a reliable way to copy a sql statement in a database to another preserving the formatting so it ends with the same SQL_ID.

    I want to copy a statement of the shared pool to a test database to develop a plan to import sql database in production.

    In the past, I just did ' select sql_fulltext from v$ sql "in SQL Developer and pasted the result into a spreadsheet SQL Developer and run it.   The statement is now in the pool shared with the correct sql_id.

    This does not work for instruction, I am currently in train.  It ends with a different id of sql.

    I know it's probably a problem of formatting, but the statement is 1000 characters and a manual check will take forever.

    You could put in a SQL Tuning Set and transfer it.

  • application of SQL statement tuning

    Application of SQL statement tuning

    1 SQL: Code that never ends. 11 hours running, but nothing get inserted into tables

    2. database version:
    SELECT * FROM V$VERSION;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0    Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    3.
    (i)
    SQL> SHOW PARAMETER OPTIMIZER
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.4
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL>
    BIF
    SQL> SHOW PARAMETER DB_FILE_MULTI
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_multiblock_read_count        integer     16
    SQL>
    (III)
    SQL> SHOW PARAMETER DB_BLOCK_SIZE
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_block_size                        integer     8192
    SQL>
    (IV)
    SQL> SHOW PARAMETER CURSOR_SHARING
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    cursor_sharing                       string      EXACT
    SQL>
    4 calendar and Autotrace output
    one)
    SQL>
    SQL> SET AUTOTRACE TRACEONLY
    SQL> Query;
    
    
    99999 rows selected.
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 888060805
    
    --------------------------------------------------------------------------------
    
    ------
    
    | Id  | Operation          | Name            | Rows  | Bytes | Cost (%CPU)| Time
    
         |
    
    --------------------------------------------------------------------------------
    
    ------
    
    |   0 | SELECT STATEMENT   |                 | 99999 |   171M|  6452   (1)| 00:0
    
    1:18 |
    
    |*  1 |  COUNT STOPKEY     |                 |       |       |            |
         |
    
    |   2 |   TABLE ACCESS FULL| STGING| 99999 |   171M|  6452   (1)| 00:0
    
    1:18 |
    
    --------------------------------------------------------------------------------
    
    ------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<100000)
    
    
    Statistics
    ----------------------------------------------------------
              8  recursive calls
              0  db block gets
          33379  consistent gets
          24108  physical reads
              0  redo size
      177773283  bytes sent via SQL*Net to client
          46901  bytes received via SQL*Net from client
           6668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          99999  rows processed
    (b)
    SQL> SET AUTOTRACE TRACEONLY EXPLAIN rem Could't do SET AUTOTRACE TRACEONLY as query takes a long time.
    SQL> Query;
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 696991379
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    | Id  | Operation                     | Name            | Rows  | Bytes |TempSpc
    
    | Cost (%CPU)| Time     |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    |   0 | SELECT STATEMENT              |                 | 99999 |   171M|
    | 77733   (1)| 00:15:33 |
    
    |   1 |  HASH UNIQUE                  |                 | 99999 |   171M|   390M
    
    | 77733   (1)| 00:15:33 |
    
    |*  2 |   CONNECT BY WITHOUT FILTERING|                 |       |       |
    |            |          |
    
    |   3 |    VIEW                       |                 | 99999 |   171M|
    | 40120   (1)| 00:08:02 |
    
    |*  4 |     COUNT STOPKEY             |                 |       |       |
    |            |          |
    
    |   5 |      TABLE ACCESS FULL        | STG_OLD_RUBRIC1 |   621K|  1066M|
    | 40120   (1)| 00:08:02 |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter(LEVEL<=(LENGTH("STRING")-LENGTH(REPLACE("STRING",'
    
    Criterion:')))/10
    
                  )
       4 - filter(ROWNUM<100000)
    
    SQL>
    6. explain Plan output
    SQL> ed
    Wrote file afiedt.buf
    
      1  EXPLAIN PLAN SET STATEMENT_ID = 'A' FOR
      2  QUERY;
      3 /
    
    Explained.
    
    
    SQL> SELECT * FROM TABLE (DBMS_XPLAN.DISPLAY);
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    Plan hash value: 696991379
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    | Id  | Operation                     | Name            | Rows  | Bytes |TempSpc
    
    | Cost (%CPU)| Time     |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    |   0 | SELECT STATEMENT              |                 | 99999 |   171M|
    | 77733   (1)| 00:15:33 |
    
    |   1 |  HASH UNIQUE                  |                 | 99999 |   171M|   390M
    
    | 77733   (1)| 00:15:33 |
    
    |*  2 |   CONNECT BY WITHOUT FILTERING|                 |       |       |
    |            |          |
    
    |   3 |    VIEW                       |                 | 99999 |   171M|
    | 40120   (1)| 00:08:02 |
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    
    |*  4 |     COUNT STOPKEY             |                 |       |       |
    |            |          |
    
    |   5 |      TABLE ACCESS FULL        | STGING|   621K|  1066M|
    | 40120   (1)| 00:08:02 |
    
    --------------------------------------------------------------------------------
    
    -------------------------
    
    
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter(LEVEL<=(LENGTH("STRING")-LENGTH(REPLACE("STRING",'
    
    Criterion:')))/10
    
                  )
       4 - filter(ROWNUM<100000)
    
    19 rows selected.
    
    SQL>
    7. from TKPROF output
    SQL> alter session set timed_statistics = TRUE;
    
    Session altered.
    
    SQL> alter session set sql_trace = TRUE;
    
    Session altered.
    
    SQL> query; rem it is still running, no idea what is going on.
    Any advice. Why the request is not able to generate a trace file and take so long?


    Let me know, if needed further information.

    Thank you.

    Something like that...?

    WITH T
    AS
    (SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL union all SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL union all SELECT 'Criterion: Crit1.
    Proficient (points 2): Crit1 text.
    Criterion: Crit2.
    Basic (points 1): Crit2 text.
    Criterion: Crit3.
    Proficient (points 2): Crit3 text.
    Criterion: Crit4.
    Basic (points 1): Crit4 text.
    Criterion: Crit5.
    Proficient (points 2): Crit5 text.
    Proficient (points 2): Crit5 text.
    ' latest_comment FROM DUAL ) SELECT SUBSTR(REGEXP_SUBSTR(latest_comment,'Criterion:[^<]+', 1, n.column_value), 20) column1, SUBSTR(REGEXP_SUBSTR(latest_comment,'points [^\)]+', 1, n.column_value), 8) column2, SUBSTR(REGEXP_SUBSTR(latest_comment,'\):[^<]+', 1, n.column_value), 3) column3, SUBSTR(REGEXP_SUBSTR(latest_comment,'blockquote>[^<]+', 1, n.column_value), 12) column4, SUBSTR(latest_comment, INSTR(latest_comment, '>', -1) + 1) column5 ,n.column_value FROM t,table(cast(multiset(select level from dual CONNECT BY LEVEL <= (LENGTH(latest_comment) - LENGTH(REPLACE(latest_comment, 'Criterion:')))/10) as sys.OdciNumberList)) n ;

    Kind regards
    Bob

  • Tuning SQL query

    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - 64bi
    PL/SQL version 10.2.0.3.0 - Production
    CORE Production 10.2.0.3.0
    AMT for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - production
    NLSRTL Version 10.2.0.3.0 - Production

    I have a request involoved sweep the entire table with 5 billion lines and its execution plan indicates that it uses almost 40 tablespace temp G takes a lot of time. I am trying to tune by the biggest table based on a single partitioning column and run this query based on partitioned column at once does not work. This table is also used by other queries, I'm not sure whether paritioning of this table is wrong another query?

    Thanks in advance.

    PL see these discussions on how to post a request for Setup:

    HOW to: Validate a query of SQL statement tuning - model showing

    When your query takes too long...

    HTH
    Srini

  • Try to run a SQL statement through the window of OEM 12 c run SQL.  Statement fails

    All,

    I have a 11g database.  When it is initially installed, I installed it in $ORACLE_BASE = / orabin/app/oracle/product and $ORACLE_HOME = $ORACLE_BASE/11gDB_R2.  This is the version 11.2.0.1 to give birth to 11.2.0.3.

    Recently, I installed 11.2.0.4 in $ORACLE_BASE/11.2.0.4.  Then, I upgraded my database at 11.2.0.4.  Everything works fine.

    All my scripts on the linux host logon changed to point my environment at $ORACLE_BASE/11.2.0.4 House and my $PATH when I connect to the linux host is: /orabin/app/oracle/product/11.2.0.4/bin:/orabin/app/oracle/product/11.2.0.4/OPatch:/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin

    On my OEM Console, the database appears as 11.2.0.4 and me can manage very well.

    However, when I try to use the window of the OEM Console to execute SQL to execute any type of SQL statement, it fails.

    The failure error is:

    Could not launch/orabin/app/oracle/product/11gDB_R2/bin/sqlplus-s/nolog: no such file or directory

    It would be a mistake since the 11gDB_R2 directory tree (the 11.2.0.3 software) has been removed from the host, now that the database is set to level and working as 11.2.0.4.

    I wonder if somewhere in the OEM software, there is always a pointer to the old ORACLE_HOME?  I can't find anything in the .bashrc or other shell scripts that are executed when a Shell session on the host computer which were still the reference to the old directory of 11gDB_R2 so I'm a bit puzzled.

    I have 8 guests, and all have been improved in the same way at 11.2.0.4.  For some databases, the OEM window run SQL is executing the SQL code.

    Someone has some ideas on this?

    Go to the Configuration of the analysis of the database (when you set the password) and update of the Oracle home.   Also do this for all targets listener on this host as well.

  • How can I register my product if the serial number has only 20 digits?

    I bought a Sony Vaio notebook nine several years comes with Photoshop Elements, Premiere Elements, Acrobat, Distiller, and pre-installed drive. I am now upgrading Windows 10 and would like to be able to install these programs if something should go wrong. I have of course no CD case or emails with serial numbers that these programs were already on the laptop. So I got the serial numbers for Photoshop and first of the sections About each program (Acrobat, Distiller and Reader do not show the serial numbers). Then, I tried to sign up for Photoshop Elements and Premiere Elements, but cannot do so because the site indicates the serial numbers should be long of 24 digits, and them I found in the comments sections are only 20 characters long. I guess to reinstall these programs that I'll need to have the products on the site, is that correct?

    Any help would be appreciated.

    If the e cam software with the machine, it is likely that can only be used for this computer... software, but which must be defined as part of your purchase of the machine thus agreement terms of use could be documented for you somewhere.

    Displayed in the connection option serial numbers aren't going to be series of application numbers.  You will need to contact the seller who has sold you the device in order to see what options you have to re - acquire the software.  As I said, you are likely to find that your permitted use is limited to the machine that was purchased.

  • Difference between a CROSS JOIN and a Cartesian product of the noted comma?

    Hello everyone,

    Oracle version: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit
    OS: Linux Fedora Core 17 (x86_64)

    I was practicing on recursive subquery factoring based on oracle examples available in the documentation
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_10002.htm#i2129904

    I was working on an example that displays the hierarchy of each manager with related employees. Here's how
    WITH tmptab(empId, mgrId, lvl) AS
    (
        SELECT  employee_id, manager_id, 0 lvl
        FROM employees
        WHERE manager_id IS NULL
        UNION ALL
        SELECT  employee_id, manager_id, lvl+1
        FROM employees, tmptab
        WHERE (manager_id = empId)
    )
    SEARCH DEPTH FIRST BY mgrId SET order1
    SELECT LPAD(' ', lvl * 3, ' ') || empId AS empId
    FROM tmptab;
    Which gives the desired result
    EMPID
    ---------------------
    100
       101
          108
          109
          110
          111
          112
          113
          200
          203
          204
          205
          206
       102
          103
          104
          105
          106
          107
       114
          115
          116
          117
          118
          119
       120
          125
          126
          127
          128
          180
          181
          182
          183
       121
          129
          130
          131
          132
          184
          185
          186
          187
       122
          133
          134
          135
          136
          188
          189
          190
          191
       123
          137
          138
          139
          140
          192
          193
          194
          195
       124
          141
          142
          143
          144
          196
          197
          198
          199
       145
          150
          151
          152
          153
          154
          155
       146
          156
          157
          158
          159
          160
          161
       147
          162
          163
          164
          165
          166
          167
       148
          168
          169
          170
          171
          172
          173
       149
          174
          175
          176
          177
          178
          179
       201
          202
    
    107 rows selected.
    
    SQL> 
    However, by chance, I noticed that if I put CROSS JOIN instead of put a comma between table names, the same query behaves differently.

    In other words, if instead of writing
    . . .
    UNION ALL
        SELECT  employee_id, manager_id, lvl+1
        FROM employees, tmptab
        WHERE (manager_id = empId)
    I am writing
    . . .
    UNION ALL
        SELECT  employee_id, manager_id, lvl+1
        FROM employees CROSS JOIN tmptab
        WHERE (manager_id = empId)
    I get the following error message
    ERROR at line 4:
    ORA-32044: cycle detected while executing recursive WITH query
    Any idea?
    Correct me if I'm wrong, but I remember, oracle supports as many JOIN CROSSROADS notation for Cartesian product (vector product =). For example
    SQL> WITH tmptab1 AS
      2  (
      3      SELECT 'a1' AS colval FROM DUAL UNION ALL
      4      SELECT 'a2' AS colval FROM DUAL UNION ALL
      5      SELECT 'a3' AS colval FROM DUAL
      6  ),
      7  tmptab2 AS
      8  (
      9      SELECT 'b1' AS colval FROM DUAL UNION ALL
     10      SELECT 'b2' AS colval FROM DUAL
     11  )
     12  SELECT t1.colval, t2.colval
     13  FROM tmptab1 t1 CROSS JOIN tmptab2 t2;
    
    CO CO
    -- --
    a1 b1
    a2 b1
    a3 b1
    a1 b2
    a2 b2
    a3 b2
    
    6 rows selected.
    
    SQL> LIST 13
     13* FROM tmptab1 t1 CROSS JOIN tmptab2 t2
    SQL>
    SQL>
    SQL> CHANGE /CROSS JOIN/,
     13* FROM tmptab1 t1 , tmptab2 t2
    SQL> 
    SQL>
    SQL> LIST
      1  WITH tmptab1 AS
      2  (
      3  SELECT 'a1' AS colval FROM DUAL UNION ALL
      4  SELECT 'a2' AS colval FROM DUAL UNION ALL
      5  SELECT 'a3' AS colval FROM DUAL
      6  ),
      7  tmptab2 AS
      8  (
      9  SELECT 'b1' AS colval FROM DUAL UNION ALL
     10  SELECT 'b2' AS colval FROM DUAL
     11  )
     12  SELECT t1.colval, t2.colval
     13* FROM tmptab1 t1 , tmptab2 t2
    SQL> 
    SQL> /
    
    CO CO
    -- --
    a1 b1
    a2 b1
    a3 b1
    a1 b2
    a2 b2
    a3 b2
    
    6 rows selected.
    
    SQL> 
    So if the two rated commas and CROSS JOIN have the same semantics, why do I get a cycle mentioned above cites recursive subquery factoring while the same query works pretty well with comma between table instead of CROSS JOIN names? Because if a cycle is detected (= current element ancestor) it means that the product with the CROSS JOIN notation produces duplicates which are absent in the result of the Cartesian product rated comma.

    I would appreciate it if you could kindly shed some light.

    Thanks in advance,

    Kind regards
    Dariyoosh

    Hello

    dariyoosh wrote:
    ... Oracle terminology could become really confusing. But once again, according to the online glossary, a Cartesian product is apparently regarded as a join
    http://docs.Oracle.com/CD/E11882_01/server.112/e25789/glossary.htm?type=popup#CNCPT44493
    >

    There is no doubt that a Cartesian product (also called cross join) is a join. If loops in a WITH recursive clause are detected after completing the joins, but before other conditions apply, the relevant question here is "what are the requirements to join?
    In the ANSI syntax, the distinction is always clear. Join conditions occur in the... Clause WE

    SELECT  employee_id, manager_id, lvl + 1
    FROM      employees
    JOIN        tmptab          ON  (manager_id = empId)     -- Join condition
    ;
    

    and other conditions occur in the WHERE (or HAVING or CONNECT BY) clause.

    SELECT  employee_id, manager_id, lvl + 1
    FROM            employees
    CROSS JOIN         tmptab
    WHERE  (manager_id = empId)     -- NOT a join condition
    ;
    

    In the joins of the former, it seems to be the case that any condition involving 2 or more tables (or the + indicator of outer join) is a condtion of join:

    SELECT  employee_id, manager_id, lvl + 1
    FROM      employees
    ,         tmptab
    WHERE  (manager_id = empId)     -- Join condition
    ;
    
  • Capture the SQL statement before it runs

    Hello world

    I have a question about the capture of query sql statement in Oracle before he run? Is it possible to do and can give you the answer to this problem? Enter here means I can catch the declaration of all applications (like SQL, I * sqlplus or another application making the request to the database). I want to do this because my teacher asks me to analyze the request and if it violates any policy = > stop before Oracle run it.

    I tried this solution
    [Select trigger for Oracle | http://technology.amis.nl/2005/09/26/select-trigger-in-oracle-database-introducing-fine-grained-auditing/].
    but I think he looks not the answer. Because for the audit of the refined, the event handler is called when the first row is obtained. This is the average Oracle a analyze this quere and run to get the first row.

    Please help me with this problem

    Edited by: pirent420 at 04:05 06/05/2012

    Hello
    That's what you ask...

    www.Oracle.com/technetwork/Products/Database-Firewall/index.html

    Some other related things are:

    the database Vault control many things related to this in terms of what time of the day and access where data etc.

    Resource Manager can block statements if they want to use too many resources.

    The standard model of privilege/role/grant prevents access you something, that you are not allowed to see.

    Views can hide columns if necessary.

    DTV and RLS can hide lines

    It depends exactly on the requirement.

    See you soon,.
    Harry

  • Tips for Tuning SQL error om

    Hi guys,.

    There is an error when switching to SQL Tuning Tips Top SQL compared to expected.
    the error is:
    ORA-13607: The specified task or object id sql_id_tuning_task_SD already exists 
    Normally this task should be done by SqlDeveloper, ain't it?
    What can I do?

    10 x Florin

    Hi Florin,

    I'm sorry that I misinterpreted your question in my previous answer. Of course, you don't talk about setting SQL as run from a worksheet, but rather discovers reports | Reports of data dictionary. Administration of databases | Top of page SQL | Top of page SQL of Waits. You selected a specific line (SQL statement) of the top SQL grid waits, then tried to pass to the sql tuning tips of the pane tab below.

    The sql_id_tuning_task_SD must have been deleted automatically at the end of the previous call to this tab somehow, it not deleted. Have test you this feature on two copies of the SQL Developer at the same time? Probably not.

    Anyway, as noted above, use dbms_sqltune.drop_tuning_task to work around the problem.

    Kind regards
    Gary

  • The analysis of a sql statement without executing it

    Hello everyone,

    I would like to know a way of parsing sql statements to validate them, so I would get the error messages in advance without executing them.

    Here we have the difficult task to analyze several sql scripts and send corrections to the development team and thirty third companies before applying them in our production databases. I am ready to create a program web/pl sql, making this difficult task, at least one program to identify errors such as lack of owner of the table, nonexistent tables, syntax errors and so on...

    Any information will be a great help!

    Thanks in advance.

    Hi and welcome to the forum.

    Tip1:
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:3648254441315

    Tip2:
    to bookmark this forum (SQL and PL/SQL)
    Bookmark http://tahiti.oracle.com (The Oracle Documentation)
    Bookmark http://asktom.oracle.com

    Tip3:
    On all the sites mentioned, you can do a quick search on key words of your interest and you will get the examples and explanations returned.

  • In canada, the price of products on the site in Canadian dollar or dollar of the United States?

    In canada, the price of products on the site in Canadian dollar or dollar of the United States?

    If you use the Canadian store, it is in Canadian dollars. If you use the American store it is in U.S. dollars.

    Canadian store:

    http://www.Apple.com/ca/shop/iPhone/iPhone-accessories/cases-protection

    Notice of the certification authority in the URL indicating Canada.

  • activation key for the product during the victory 8.1 update

    I use HP ENVY m6 recently the hard drive had crashed. so I ordered for a recovery of hp and I put it and win8 installed. When I switch to 8.1 it ask for the product key. It shows that "this product key isn't not work.you might need to contact the store or company, that you have purchased from windows or you can buy a new key from microsoft"

    Hi @kalyanCN ,

    Welcome to the HP Forums!

    It is a wonderful place to find answers and ideas!

    You have the best experience in the HP forum, I would like to draw your attention to the Guide of the HP Forums Learn how Post and more

    I understand that your hard drive has crashed and you have ordered a recovery kit.  You did the recovery of Windows 8 and have now updated for Windows 8.1 but have a problem with activation.  Here is a link to Activate Product Windows 8 to help you solve this problem.

    If you still encounter a problem with the activation, I suggest that you contact HP support for help.

    Please contact our technical support at 800-474-6836. If you do not live in the United States / Canada region, please click on the link below to get a number of assistance for your region.

    World wide phone holder

    Good luck!

  • How to install Vista using product from the bottom of the Satellite P200 key?

    Hi all

    I recently had to replace my HARD drive as my P200 took a fatal error, corrupt all the data on the old HARD drive. I have no recovery at all disks, (none were provided), and I was wondering how am I supposed to do to reinstall Vista using my product from the bottom of the laptop key? Can anyone give any help please?
    As I read other related topics, I feel I need to approach Toshiba and buy a restore CD, at my expense. Is this correct?

    Thank you

    Lee

    Hello

    If you didn't burn the recovery disc after the purchase of your computer, you will need to order it for the money. , Talking Vista using my product key from the bottom of the laptop, this is not any type of key on recver Vista, this is a serial number of your computer. You can also install the original copy of Windows with the drivers of Toshiba page.

    Welcome them

Maybe you are looking for

  • VM on a Mac

    I want to know if it is possible to run virtual machines on a computer Mac and how many virtual machines can run on a MAC? Apple offers this support? The Mac server provides the service? Thank you!

  • Despite all the rumors

    xhfdfgj

  • LJ 1022n will not stop printing

    I have connected my LJ 1022n to a new ADSL router. When I print, the printer keeps printing, if only 1 copy was defined. No problem occurred with the previous router.System - Win7 32 bit (not changed). Thanks for any help. Henry, Prague

  • The host of windows 7, Linux on a virtual machine as a guest

    Greetings: I want to install Virtual box with Linux as a guest on my laptop with windows 7 ultimate. I have almost 2 GB of Ram. I have to consider at least 512 MB for ubuntu. What is a locked memory? in other words, even when I don't use VB with linu

  • LaserJet 1525nw firmware update for macintosh

    HP LaserJet printer, 1525 NW Operating system Mac OS x Lion 10.7.2 I received an email saying that I needed to update the firmware of HP. I have downloaded and run the Mac installer. It crashes when it tries to download the update of the firmware fro