index and a nls settings logon trigger

Hello world

We had a problem with the index. A few months ago the client asked us to modify the application so that all searches are case insensitive and independent of diacritics (i.e. treat all non-ASCII as their equivalent ASCII - for example 'a' characters should be considered equal to 'a' etc.). We decided to create a simple LOGON trigger, which sets some parameters, NLS session for a given user (namely NLS_COMP = LINGUISTIC and NLS_SORT = CZECH_AI).

This solution works, either it does what the customer has asked for, but I noticed there are problems with the index. Suddenly some of them are not used, so there is many unnecessary sequential scans of large tables (millions of rows), which influences the performance badly and that takes a lot more time. I believe that this is caused by the index created with the original, different from those current NLS parameters.

Am I wrong? And how to fix it? I was able to recreate all the indexes, but is it possible to find what indexes are affected by this problem, or not?

concerning
Tomas

I don't think your alter session modification statement will affect the content of the index, but they will have an impact of the plan. For example see the following example, where the full table Scan scan index range plan changes.

SQL> select name from emp where name = 'a';

no rows selected

Execution Plan
----------------------------------------------------------
Plan hash value: 2061206800

-----------------------------------------------------------------------------
| Id  | Operation        | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
-----------------------------------------------------------------------------
|   0 | SELECT STATEMENT |          |     1 |    12 |     1   (0)| 00:00:01 |
|*  1 |  INDEX RANGE SCAN| EMP_NAME |     1 |    12 |     1   (0)| 00:00:01 |
-----------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   1 - access("NAME"=U'a')

Note
-----
   - dynamic sampling used for this statement (level=2)

SQL> alter session set NLS_COMP=LINGUISTIC;

Session altered.

SQL> alter session set NLS_SORT=CZECH_AI;

Session altered.

SQL> select name from emp where name = 'a';

no rows selected

Execution Plan
----------------------------------------------------------
Plan hash value: 3956160932

--------------------------------------------------------------------------
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------
|   0 | SELECT STATEMENT  |      |     1 |    12 |     3   (0)| 00:00:01 |
|*  1 |  TABLE ACCESS FULL| EMP  |     1 |    12 |     3   (0)| 00:00:01 |
--------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   1 - filter(NLSSORT("NAME",'nls_sort=''CZECH_AI''')=HEXTORAW('14000100
              ') )

Note
-----
   - dynamic sampling used for this statement (level=2)

SQL>

Tags: Database

Similar Questions

  • TO_NUMBER and NLS settings... do not understand

    I am trying to get my head around the use of format and with TO_NUMBER NLS settings and TBH am at my wits end. So I'll start with something simple. I never took the trouble or should bother with the third parameter "nls params" for NLS settings and now I have I really regret.

    This works even if the '. 'and',' characters are not in their normal positions...

    SQL > SELECT TO_NUMBER ('17.000,23 ', '999G999D99', ' nls_numeric_characters = ",".) ') FROM DUAL;

    TO_NUMBER('17.000,23','999G999D99','NLS_NUMERIC_CHARACTERS='',.''')

    -------------------------------------------------------------------

    17000.2

    So why this version throws an error?   (I should say all that I changed is the order of ', 'and'.' in the string)

    SQL > SELECT TO_NUMBER (' 17,000.23', '999G999D99', ' nls_numeric_characters = ",". ' ") FROM DUAL;

    SELECT TO_NUMBER (' 17,000.23', '999G999D99', ' nls_numeric_characters = ",". ' ") FROM DUAL

    *

    ERROR on line 1:

    ORA-01722: invalid number

    Is also the order of the characters question here ' nls_numeric_characters = ",". ')  ?

    I'm sorry but when marking code in my spl * more CLI and try to paste here as "insert SQL" lines eventually lack or conditioning or line spacing change seconds later. I found myself with a single line crushed on the other and the missing lines are visible once highlighted!

    Is also the order of the characters question here ' nls_numeric_characters = ",". ')  ?

    Of course, the order is important. How can you say the meaning of each character if it wasn't?

    First character is the decimal separator, and the second is the thousands separator.

    Your first request is OK because the decimal separator used in the input string is '.' and the thousands separator is ", which exactly match the characters specified in the parameter NLS.

    The second query failed for the opposite reason.

  • In NLS_SESSION_PARAMETERS logon trigger does not

    Hello

    I have a problem with a logon trigger setting session parameters:
    create or replace
    TRIGGER standard.after_logon_trg
    AFTER LOGON ON STANDARD.SCHEMA
    BEGIN
      DBMS_APPLICATION_INFO.set_module(USER, 'Initialized');
      EXECUTE IMMEDIATE ('ALTER SESSION SET current_schema=standard');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_DATE_LANGUAGE=''AMERICAN''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_TERRITORY=''AMERICA''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_TIMESTAMP_FORMAT=''HH24:mi:ss''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_DATE_FORMAT=''YYYY-MM-DD''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_COMP=LINGUISTIC');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_SORT=BINARY_CI');
      insert into standard.testcc (bezeichnung, datum) values ('logontrigger', SYSDATE);
    END;
    After I connect, the new row is added to the table, but the session parameters are completely intact.
    Select * from NLS_SESSION_PARAMETERS says:
    NLS_LANGUAGE     GERMAN
    NLS_TERRITORY     GERMANY
    NLS_CURRENCY     €
    NLS_ISO_CURRENCY     GERMANY
    NLS_NUMERIC_CHARACTERS     ,.
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD.MM.RR
    NLS_DATE_LANGUAGE     GERMAN
    NLS_SORT     GERMAN
    NLS_TIME_FORMAT     HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT     DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT     HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD.MM.RR HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY     €
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    If I run the ALTER SESSION statements in the sql (standard user) console, they work perfectly, so this seems to be without end of permission.

    Which is wrong with the trigger?

    Thanks and greetings
    Christian

    Published by: 853536 on 20.04.2011 00:31

    OK, I traced the entire database and discovered that my settings are overwritten. So after that my trigger has been executed, the NLS Session parameters are changed, for example:
    =====================
    PARSING IN CURSOR #4 len=386 dep=0 uid=40 oct=3 lid=40 tim=4721509708 hv=302297662 ad='ab275c28'
    select parameter,value from nls_session_parameters 
     union all SELECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL 
     union all SELECT 'SESSION_TIMEZONE' name, SESSIONTIMEZONE value FROM DUAL
     union all SELECT 'SESSION_TIMEZONE_OFFSET' name, TZ_OFFSET(SESSIONTIMEZONE) value from DUAL
     union all SELECT parameter, value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET' 
    END OF STMT
    PARSE #4:c=0,e=3962,p=0,cr=4,cu=0,mis=1,r=0,dep=0,og=1,tim=4721509705
    EXEC #4:c=0,e=21,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721509816
    FETCH #4:c=0,e=111,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=4721509976
    FETCH #4:c=0,e=132,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=4721510598
    FETCH #4:c=0,e=204,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=4721511118
    STAT #4 id=1 cnt=21 pid=0 pos=1 obj=0 op='UNION-ALL  (cr=3 pr=0 pw=0 time=264 us)'
    STAT #4 id=2 cnt=17 pid=1 pos=1 obj=0 op='FIXED TABLE FULL X$NLS_PARAMETERS (cr=0 pr=0 pw=0 time=128 us)'
    STAT #4 id=3 cnt=1 pid=1 pos=2 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=1 us)'
    STAT #4 id=4 cnt=1 pid=1 pos=3 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us)'
    STAT #4 id=5 cnt=1 pid=1 pos=4 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=1 us)'
    STAT #4 id=6 cnt=1 pid=1 pos=5 obj=96 op='TABLE ACCESS FULL PROPS$ (cr=3 pr=0 pw=0 time=194 us)'
    =====================
    PARSING IN CURSOR #3 len=41 dep=0 uid=40 oct=42 lid=40 tim=4721512239 hv=2321140216 ad='ab275184'
    alter session set NLS_TERRITORY='GERMANY'
    END OF STMT
    PARSE #3:c=0,e=329,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=4721512236
    EXEC #3:c=0,e=48,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721512424
    =====================
    PARSING IN CURSOR #2 len=35 dep=0 uid=40 oct=42 lid=40 tim=4721513208 hv=2785092162 ad='ab274e88'
    alter session set NLS_SORT='GERMAN'
    END OF STMT
    PARSE #2:c=0,e=283,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=4721513205
    EXEC #2:c=0,e=20,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721513370
    =====================
    ...
    This explains why they are crushed, but I still don't know why the session parameters are changed after my trigger at all. Any idea?

    Published by: 853536 on 20.04.2011 01:24


    Problem solved: I was using Oracle SQL Developer to change my trigger and try it - and Developer SQL seems ovewrite the NLS_Session settings. Duh.

    Published by: 853536 on 20.04.2011 02:04

    Yes, SQL Developer usually replace the settings. It should not do this if you go to tools-> Preferences-> database-> NLS and mark 'Skip NLS Settings'.

    But any program using JDBC OCI will also replace most of the settings. Therefore, don't rely on the database to set the NLS parameters. It's applications to properly prepare the environment of the NLS (if the standard initialization based on the settings of operating system and/or NLS_LANG is not satisfactory).

    -Sergiusz

  • Disabled Options of Outlook 2007 indexing and advanced search options

    Im running Windows 7 RC1 Ultimate x 64 and I recently started having a problem with Outlook 2007. Somehow all advanced search options (hit the double arrow to the right of the Inbox "search" field to specify, body, subject, etc.) are disabled - that is grayed out and I can't use them. If I go to the search options in Outlook all under the category indexing and search is also disabled. Finally, I noticed that if I go into Windows Indexing Options > change, under the heading change of the chosen places 'Microsoft Office Outlook' is grayed out as and when I go over it the ToolTip says "indexing of Outlook emails like summer disabled by the system administrator.

    I confirmed this isn't something set via Group Policy, because I have several other similar PC which presents all works very well on. The only thing I can think is vaguely remembered changing some indexing options a bit back to allegedly to increase performance, but I don't remember what that or if I did before or after loading Win7.

    Any suggestions are greatly appreciated!

    In case someone else falls on this same question, I found the answer on the newsgroups Outlook here .

    Just need to change some registry settings to get this working again.
    HKLM/Software/policies / Microsoft/Windows/Windows search
    PreventIndexingOutlook value 1

    HKLM/Software/Microsoft/Windows Search
    SetupCompletedSuccessfully to 0

    Reboot and everything is fine!

  • When clause is missing from the logon trigger

    I have a questions that looks very similar to 14840619 of Bug - FORUM - RELAXATION-CLAUSE WHEN NOT WATCH if ONLY a BASIC USER PRIVILEGES

    Assuming that SCOTT is a DBA and it issues the following command to create a logon trigger.

    CREATE OR REPLACE TRIGGER "SYSTEM". "SCOTT_LOGON_TRG" AFTER LOGON ON DATABASE.

    WHEN BEGIN (USER in ("SCOTT"))

    RUN IMMEDIATELY 'ALTER SESSION SET EVENTS "TRACE NAME CONTEXT FOREVER, LEVEL 12 10046" ';

    END;

    /

    ALTER TRIGGER 'SYSTEM '. "" SCOTT_LOGON_TRG "DISABLE;

    The trigger is created successfully.

    When you view the trigger of the developer sql code I don't see the WHEN clause.

    IM using sql developer version 4.0.1.14 (Build hand 14.48) 64-bit on Windows 7

    Is this a known bug?

    Thank you

    I created a service request with the support of the Oracle, and they were able to reproduce the issues.

    Here is the related bug number

    Bug 18603106 : WHEN CLAUSE is MISSING THE LOGON TRIGGER

  • See date + hour in the date cells without changing the NLS settings

    We have a lot of columns date containing the date + time values, I often need to see while browsing the data in the table.

    Settings for the date format default NLS are exact to 'Russia', our database uses the default, which is then used by SQLDeveloper. For example, to display the values of time, I should write or select to_char manually with appropriate or the NLS under "Database" settings in preferences. Of course, it seems preferable to modify the NLS parameter.

    However, the date format change NLS has certain side effects. For example, it affects various tasks involving mainly exporters, which are launched from SQLDeveloper, because the to_char default to values date format also changes. Of course we could blame the lazy developers does not explicitly specify the formats, but it does not change the fact that the results of the task execution are 'bad', and which can be quite difficult to notice until the following tasks fail.  Also, if I'm not mistaken, NLS_DATE_FORMAT also affects to_date default format, making import text and date columns questioning pretty boring. It's better safe than sorry, so I need to keep the NLS parameters

    So, is it possible to set date format only for the display of the values in the data grid, without affecting the NLS settings somehow? I'm fine with just about anything, including writing an extension myself if necessary, I just need to work. If it is not possible, SQL Developer Team please add this parameter, or at least display a tooltip on mouseover, displaying the value of the cell "full"?

    NLS is the only way to affect the display of dates in the grids. To_char formatting is up to you good - he will use that you define in the function call.

  • Models to define templates for keys, indexes and constraints in Version 4

    Oracle SQL Developer Data Model Version 4.0.0.833

    Someone tell me where to find templates to define templates for keys, indexes and constraints?

    In version 3, it has been in tools > General Options > naming standards > models

    Hello

    In the 4.0.0.833 version, you must open the Properties dialog box for the design (by doing a right click on the entry for the relevant design in the browser tree, and select properties).

    Then in the design properties dialog box, select settings > naming Standard > models

    David

  • Logon trigger does not not on DB-Link?

    Hi all

    I have a serious question on the table access via a database link.

    I have three schemas:

    DATA@SOURCE

    INTERFACE@SOURCE

    WORK@TARGET

    DATA schema has a table called T1

    The scheme of the INTERFACE has select privileges on all the DATA tables. In addition, INTERFACE schema has a logon trigger change the "current schema" data:

    CREATE OR REPLACE TRIGGER TRG_A_LOGIN_SET_SCHEMA AFTER LOGON
    ON INTERFACE.SCHEMA
    BEGIN
    execute immediate 'ALTER SESSION SET CURRENT_SCHEMA = DATA';
    END;
    

    The scheme of WORK has a link database to the schema of the INTERFACE called INT_DB_LINK.

    I am now logged in the scheme of WORK on the TARGET database and I will execute following statement:

    select a from T1@INT_DB_LINK
    

    -> it works

    Then I run

    declare
      cursor c is  
      select a
        from T1@INT_DB_LINK
       where rownum<2;
    begin
      for r in c loop
        null;
      end loop;
    end; 
    

    It does not work. Error message is ORA-000942: table or view does not exist.

    But why?

    Can someone help me?

    Thanks in advance

    Py

    Hi all

    After a long, very long search I found what caused this strange behavior.

    The error ORA - was not triggered by the SQL execution engine, but by the SQL-parser/SQL-Validation.

    The second statement is that an anonymous block of SQL Oracle parser checks all the dependencies of objects before execution.

    This means that a connection is established to the TARGET to SOURCE checking if table T1 is available. The strange thing is

    that, in this respect the "ALTER SESSION" trigger is not fired. If the Analyzer does not find the object T1 in schema INTERFACE.

    If I create an empty table T1 in INTERFACE the anonymous block gets analysis/validated and the statement is executed. But this

    time the block made a normal life 'connect session' and the trigger is triggered. This means that statements access table T1

    DATA schema. (But T1 in the INTERFACE should be existing this analysis/validation works)

    I don't know if it's a bug or a feature.

    To work around this I created private synonyms in the diagram pointing to DATA objects INTERFACE.

    Thanks for your help!

    Py

    ------

    regarding the other question:

    Yes, the permissions are granted on a role.

  • logon trigger

    Hi all

    I need help to create the logon trigger. Help, please... Here are the details.

    I have a name like "TEST" userid and 50 users are using the same username name to connect. I would like to limit some users read only the single task and some users to read the writing task using the same user name 'TEST '. I have all the machine name of 50 users. The logon trigger to control the permission(readonly/readwrite) according to the name of the computer at the time of the connection. Please help write the trigger. Thanks in advance.

    Kind regards
    Manon

    Since you know the host names for 50 users, you can create the logon trigger to learn namespace and the setting via SYS_CONTEXT.

    For example, SELECT SYS_CONTEXT ('USERENV', 'HOST') of double;

    You will need to test for the hosts that you want to allow to read and write over the hosts that you want to only allow reading. To set read-only compared to the privileges of reading / writing, I suggest to create two roles respectively and based on the condition, set the role for the session.

    CREATE THE TRIGGER
    ...
    l_host VARCHAR2 (128);
    BEGIN
    SELECT SYS_CONTEXT ('USERENV', 'HOST') IN the double l_host;
    IF l_host IN (list of hosts for read-only)
    -series playback only
    READ_ONLY_ROLE ROLE PLAY;
    ON THE OTHER
    READ_WRITE_ROLE ROLE PLAY;
    END IF;
    END;
    /

  • Day of week (1-7) and the NLS parameters

    It's embarrassing, but I'm going nuts here.


    Today is Monday. Here, it's the first day of the week.

    Thus,.
    SQL> select to_char(sysdate, 'd') from dual;
    
    TO_CHAR(SYSDATE,'D')
    --------------------
    2                   
    1 row selected.
    Very well, it's probably because of my NLS settings:
    SQL> select * from nls_session_parameters
    where parameter = 'NLS_DATE_LANGUAGE';
    
    PARAMETER                      VALUE                                   
    ------------------------------ ----------------------------------------
    NLS_DATE_LANGUAGE              AMERICAN                                
    1 row selected.
    We will change then, in something where people know that Monday is the first day of the week ;)
    SQL> alter session set nls_language = german;
    Session altered.
    
    SQL> select to_char(sysdate, 'd') from dual;
    
    TO_CHAR(SYSDATE,'D')
    --------------------
    2                   
    1 row selected.
    No luck, how about you
    SQL> select to_char(sysdate, 'd', 'NLS_DATE_LANGUAGE = danish') from dual;
    
    TO_CHAR(SYSDATE,'D','NLS_DATE_LANGUAGE=DANISH')
    -----------------------------------------------
    2                                              
    1 row selected.
    May be variable, bad. How about NLS_TERRITORY
    SQL> alter session set nls_territory = 'DENMARK';
    Session altered.
    
    SQL> select to_char(sysdate, 'd') from dual;
    
    TO_CHAR(SYSDATE,'D')
    --------------------
    1                   
    1 row selected.
    Great! - But I do not alter session, statement and
    SQL> select to_char(sysdate, 'd', 'NLS_TERRITORY = denmark') from dual:
    select to_char(sysdate, 'd', 'NLS_TERRITORY = denmark') from dual
                                                                 *
    Error at line 1
    ORA-12702: invalid NLS parameter string used in SQL function
    Dang, out of ideas. I'm just on a mission impossible here?


    Concerning
    Peter
    BANNER                                                          
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi

    Hi, Peter,.

    What is the problem?
    You want just an expression which, given a date, will return an integer (1 for Monday,..., 7 for Sunday), independent of the NLS settings?
    If so:

    1 + TRUNC (dt)
      - TRUNC (dt, 'IW')
    
  • Where is the text for the index and search tabs saved?

    It is specifically in RoboHelp 9 - although the answer may be the same for other versions.

    I wonder, when WebHelp is created, where to get the text to use in the indexing and search tabs?

    Specifically, I'm looking for (and change), the text in the Index tab that reads, "type in the keyword to find:" and the text in the Search tab that reads, "Type in the words to search for:

    I suspect these two phrases are in a file .lng somewhere, and just this file needs to be changed...

    Any ideas?

    The mentioned Colum .lng file are accessible more easily by clicking on file > project settings > Advanced button > LNG tab

    Under LNG, you will see everything most of the default labels for different items. It is better to work here on the source of LNG, rather than trying to change the output WebHelp that will be replaced later the next time that you build.

    Thank you

    John Daigle

    Adobe Certified RoboHelp and Captivate instructor

    Evergreen, Colorado

    www.showmethedemo.com

  • Is it possible to make multiple indexes and tables of contents?

    I have InDesign CS2.  I was wondering, is it possible to make several index? For example, an index of names, a separate index for places. Similarly, is it possible to make several Tables of contents? What I really want, it's a Table of contents, list of illustrations, a list of maps and a list of the cards.  What is the best way to go about this?  I know I can make a table of contents, copy the text and use it, then modify the toc settings to make a new. So my main concern is the index, but I'm curious to know if there is a better way for tables of contents.

    Thank you

    An InDesign document can have as many tables of contents you want, but you get only to create an index. One solution is to combine everything in a single index, and then copy and paste it into separate stories at the end. I'm a little fuzzy on the details of how get you this to sort (I never had the need, so far, to do), but it has been described here more than once. I think that a forum for several index search you would probably get the answer.

  • Limit user connections using a Logon trigger

    Hi all

    I'm now restrict selected terminals user connections, using the following logon trigger.
    It allows users with user with DBA privileges.



    How to restrict privileged users DBA?

    Note:-by my application needs privileged DBA.

    CREATE OR REPLACE TRIGGER on_logon
    AFTER LOGON
    WE DATABASE
    DECLARE
    VPROGRAM VARCHAR2 (30);
    VUserName VARCHAR2 (30);
    VTERMINAL VARCHAR2 (30);
    CURSOR user_prog IS
    SELECT UPPER (program), UPPER (username), NVL (TERMINAL, 'X') OF v$ session
    WHERE the audsid = sys_context ('USERENV', 'SESSIONID');
    BEGIN
    OPEN user_prog.
    EXTRACT the user_prog IN Vprogram, Vusername VTERMINAL;
    IF VTERMINAL NOT IN ("APP1", "APP2", "APP3")+.
    and Vusername = "ABUL"+.
    THEN
    RAISE_APPLICATION_ERROR (-20001, 'you are not allowed to log');
    END IF;
    CLOSE User_prog;
    END;

    Thanks I advance

    -
    ABK

    Your application needs the role DBA? This is a terrible design - it violates all the principles of secure coding.

    Connection triggers trigger for users with the role of s/n, then you will not be able to use a connection here. You can leave the logon trigger and configure nodes invited and excluded in the listener sqlnet.ora file, i.e.

    tcp.validnode_checking = yes
    tcp.excluded_nodes = (hostname1,hostname2,hostname3)
    

    You need to restart the receiver after making this change.

    Justin

  • How to change schema in a logon trigger in 3 levels (how to define a case)

    Hello

    We have a web application to work... the level 1 is the database, level 2 is web server clusters... all connections use same connectionstring, same user oracle all use the same pattern...

    So far so good!

    Now comes a requirement that we must test and the 'simpler' solution is to create alternative test patterns...

    "of course no problem, just put a trigger of connection and the branch to a particular test instead of the regular production, a scheme"

    but here's my problem:
    What to put in the logon trigger?
    Since all users are the same what can I use to decide what test scheme to create a branch to?
    What sys_context information can I use to figure out (from the web server), the diagram that I can use?
    The web server authenticates the user by using active directory, and then a connection to oracle is opened

    I can see the logon trigger is the user active directory that was used to connect to the web server?


    Thanks for your suggestions

    g.

    If you really, really, really want to do this kind of thing, you probably want to look for proxy authentication, which would involve rather fundamental changes for the management of intermediate level connections.

    Even assuming you can do that kind of thing work, however, I am strongly against would do. It would make me very nervous to have test users through the same URL, hit the same web server and by pressing the same server database as users of production even though it had very well tested code which pointed users test against another scheme. You always load problems (i.e. testers are competing with production of resources users), coupling and transparency. The middle-tier and backend code are coupled (i.e. a change to a fair coincides with one change to another), but would not your test environment allows you to deploy the test code. And when (not if) there is a bug that causes some connection test inadvertently and transparently on the production scheme and some Tester causes problems in production by DML, this architecture will come under heavy fire. I would not be regarded as having any sort of ownership of the solution at this moment here.

    In addition, the authentication proxy adds complexity to a system for any advantage real, which may cause various maintenance problems on the road.

    Justin

  • Index and MATCH with several conditions

    Hi all! I hope I can explain what I'm trying to do here clearly. This is my first shot:

    In the table below "Office entry Worksheet - area 1" I am trying to insert a formula in column B which will result in an answer ' true / false ' and be used for conditional highlighting

    The first condition that must be met is that the checkbox in the table "Labor and material Checklist" column A or check, if it is not checked, then move to the next line. If the box is checked, then the following condition would need to index and match with column C of table "Office entry Worksheet - area 1" in column B. If there is a match in column C, then move to the next line of column B in the table 'labor and material Checklist '. This continues until there is a 'match', then highlight column B in the table "entry Office sheet - surface 1" in red (or something like "MISSING task")

    It is an estimate and the idea is to ensure that the Phases that are checked in the table "Labor and material Checklist" will not miss when you use the table "entry office map - zone 1".

    Thank you very much for your help!

    Tim

    Is it possible that I can download this spreadsheet file?

Maybe you are looking for

  • Re: Need latest driver for Mat * a DVD - RAM UJ - 841S

    Hello I have an Equium M50-192. I think that there is a problem with the drive. It can read CD/DVD, but does not recognize it as a DVD RW. Can any body point me to the latest version of the driver.Thank you Andy

  • Right-click on the P50T-B Satellite questions

    I don't know how to change the setting so that I can have a traditional right click on the touchpad. I know that you can tap with two fingers to do features like right click, but when I use Microsoft word or Facebook I can't understand how a word spe

  • My windows aero theme disappeared on my dell inspiron 1545.

    I put my computer in mode 'sleep' last night, and after a few hours I turned back on it. much to my annoyance, available to windows on usual measure was nowhere to seen, and he was replaced by a gray opaque which I don't like so much. I realized to m

  • N4032 BECOME VLAN1...?

    Hi all A small question. The aforementioned switch, I have 3 vlan to the corporate network. Vlan1 is empty. Can I use VLAN1 for traffic that is not routed outside the switch? Or the optimal scenario would be to create a new VLAN. Thank you in advance

  • Official blackBerry software version 10 10.2.1.3253 for Z10?

    Hello everyone, I am new user of BB. My Z10 could not start before the software version 10.3. I didn't it was just beta. Now, I have the version 10.2.1.3253 for my Z10. But I have no idea where can I get the official? Help, please Thank you in advanc