10gR2 - dimension_key and surrogate identifier

Hi,
Both of these, dimension_key and surrogate identifier, end up deployed in the table. I am missing some basic understanding on the difference between these two. It looks that they will have the same values. Specifically, in the dimension editor under attributes we need to: "Choose the sequence that will populate the Dimension and Surrogate Keys:".
I looked through the User's Guide, but perhaps I missed the explanation of the two side by side.
Thanks for any help with this question.
Julian
Message was edited by:
juliank
Message was edited by:
juliank

Scott,
Glad to read your note. Hopefully, somebody else will be able to clarify this also.
My observations are similar. It is when I started looking at mappings imported from 10.1.0.4 that I started wondering about the dimension_key. After synchronization I planned to fix some joins I noticed that you can't rename the dimension_key. I think .... room for confusion and errors. My next thought was that perhaps the intention here is to utilize the surrogate key and to use the dimension_key at all?
Regarding your comment on surrogate keys - I see in the User's Manual on page 4-8: "A surrogate identifier uniquely identifies each level record across all the levels of the dimension." So ... will each level will get independently a key value from the same sequence?
Somewhere, I saw a nice little table comparing level indexing going from 10.1.0.4 to R2. I think it might have been in an on-line conference presentation when R2 was publicly announced. Maybe somebody else has this example handy.
Julian

Similar Messages

  • Surrogate identifier and Business identifier on Dimensions

    I understand that a surrogate key is useful to do loads/merges data on dimensions
    without affecting natural keys on these operations and to save space on fact tables.
    However beyond from this, I miss understanding about the two concepts above.
    Since in the doc is write: "Every level must have two identifiers: a surrogate identifier and a business identifier." -> Oracle® Warehouse Builder User's Guide
    10g Release 2 (10.2) -> 4 Defining Dimensional Objects
    1 - Why do I need obligatory a surrogate identifier on OWB10r2 ?
    2 - Either do I need specify the same surrogate key in each dimension level
    or ever level must be your own surrogate key ?
    3 - What would be the dimension behavior without them ? Moreover couldn't I have
    the same behavior using business identifier instead ?
    Thank you

    Right.
    However, what do you mean about "attributes that are on the lowest level of a hierarchy" ? This means high cardinality ? (A kind of Unique Key/PK ?)
    So, see this sample (originated from products table's Sales History sample schema )
    prod_id.prod_name........prod_subcategory..prod_category.supplier_id.min_price
    ........5.gurfield& murks...trousers - women....women....................170......137.02
    ......10.gurfield& murks...trousers - women....women....................170......155.93
    ......15.coin pocket twi....trousers and jeans..girls..........................30........12.47
    ......20.and 2 crosscour..shirts - boys...........boys.........................83........13.36
    ......25.and 2 crosscour..shirts - boys...........boys.........................83........13.36
    ......30.and 2 crosscour..shirts - boys...........boys.........................83........13.36
    ......35.kahala pleated ...shorts - men...........men........................125........24.48
    What would be the business identifiers ? (suppler_id ?) If yes, it isn't UK. Or aren't there business identifier here ?
    Now suppose that prod_id be surrogate key, ok ? What I undestand about OWB10g, it would put new keys on this table for every level from dimension
    Look the dimension:
    CREATE DIMENSION products_dim
         LEVEL product           IS (products.prod_id)
         LEVEL subcategory      IS (products.prod_subcategory)
         LEVEL category          IS (products.prod_category)
         HIERARCHY prod_rollup (
              product          CHILD OF
              subcategory      CHILD OF
              category
         ATTRIBUTE product DETERMINES
    (products.prod_name, products.prod_desc,
    prod_weight_class, prod_unit_of_measure,
    prod_pack_size,prod_status, prod_list_price, prod_min_price)
         ATTRIBUTE subcategory DETERMINES
    (prod_subcategory, prod_subcat_desc)
         ATTRIBUTE category DETERMINES
    (prod_category, prod_cat_desc)
    The table will look like:
    SQL> desc products
    Name
    PROD_ID_PROD_ID
    prod_name
    prod_desc
    PROD_SUBCATEGORY_PROD_ID
    prod_subcategory
    prod_subcat_desc
    PROD_CATEGORY_PROD_ID
    prod_category
    prod_cat_desc
    prod_weight_class
    prod_unit_of_measure
    prod_pack_size
    Why OWB do that ?
    Thank you very much for your assistance and you patience
    Marcelo Sinni

  • My device lucked and not identified with the itunes id

    Dear Sir or madam,
    my device lucked and not identified with the itunes id

    What do you mean 'device locked' ?
    If it's on the activation screen then you need to type in the id and password of the account that it's locked to.
    If you bought the phone used and it's still linked to the previous owner's account then you will have to contact the previous owner, only he/she can remove the phone from their account : Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    If it's your account and it's not recognising it then you could try contacting Apple (either an Apple store or iTunes Support online) and see if they can remove the phone from the account - they are likely to want proof of purchase e.g. original receipt with the serial number on it
    (For info we are fellow users here on these forums, you're not talking to iTunes Support nor Apple. I've asked for your post to be moved to the Using iPhone forum, where you've posted is for questions about the iTunes U app.)

  • Identifying and non-identifying relationships

    Hello, can some expert out there explain; what are identifying and non-identifying relationships in detail. An example will be much more helpful to understand the concepts. Thanks.

    I believe the different is:
    - identifying relationship means the child table has the parent table's primary key as part of its primary key;
    - non-identifying means that the child table has its own primary key and the parent's key is a separate column.
    Example:
    DEPT
    Deptno Number Primary Key
    Dname Varchar2(30)
    Identifying relationship with DEPT
    EMP
    Deptno Number Primary Key
    Seqno Number Primary Key
    Ename Varchar2(30)
    Non-identifying relationship with DEPT
    EMP
    Empno Number Primary Key
    Ename Varchar2(30)
    Deptno Number
    The advantage of non-identifying relationships we don't have to change the primary key when the employee moves from one department to another.
    Cheers, APC
    Cheers, APC

  • 10gR2 RAC and XA transactions

    We have a 3 node 10gR2 cluster. The middle tier is using XA drivers. They are connecting to the database via a load balanced service where all nodes are preferred. DTP for the service is also set to No.
    Does anyone know if this setup could be problematic?
    We recently had some very odd behavior occur where we could we could not connect to one of the nodes and had to forcefully reboot the entire server to get it back. We found out after the fact that the middle tier was configured for XA.
    Any insight/experience is appreciated.
    Thanks,
    Jarred

    >
    We recently had some very odd behavior occur where we could we could not connect to one of the nodes and had to forcefully reboot the entire server to get it back. We found out after the fact that the middle tier was configured for XA.
    Thanks,
    Jarred
    Any specific error message when the application can't connect to any of the nodes?
    Cheers

  • CUCMBE3K Experience and Issues Identified

    I have created a list below of issues and experiences whilst working with the CUCMBE3K.
    For the purposes of this dialog, I will refer to this particular customer as “CustomerX”.
    Part 1: Pre-Sale Engagement Summary
    Following true to the Cisco PPDIOO model, the CUCMBE3K was identified as the best fit for the customer requirements, both technically as well as functionality. Apart from the standard hunt groups, the main highlights being the following:
    Voicemail-to-Email notifications
    Voicemail for all users
    Extension Mobility for the bulk of users
    Multilevel Auto Attendant
    Integrated E1
    FXS support for FAX
    Paging/auto-answer
    The Quick Pricing Tool (QPT) is the recommended Cisco tool to scope and create a CUCMBE3K BoM. And thus, this tool was used. The BoM of which was validated by Cisco Partner Presales and the order was placed.
    Issue 1: UCL Licenses arrived in singular form
    The first thing I happened to notice whilst I was unpacking the boxes was the quantity of UCL licenses. Yes, I am aware of bundled licenses, and I select those wherever possible, however these were specific to UCL voicemail licenses. Now I am not going to into how archaic the process is of still having to map a license key to a MAC address – I feel this should be done in the backend and not by partners like many other vendors do it – so we will look past this fact. Where I do have a concern is having to spend hours online manually activating UCL Voicemail licenses (restricted to 10 as “bulk” option on the Cisco Online License Tool); only to find out later that the CUCMBE3K itself can only accept 1 license upload at a time – therefore increasing the hours associated to simply applying licenses.
    Issue 1 Summary:  
    UCL Licenses provided in singular form for UCL VM, despite ordering via QPT.
    Online license Tool unable to process more than 10 PAK’s at a time;
    CUCMBE3K unable to accept more than 1 license at one time
    Issue 1 Fixes/Workarounds/Requests 
    Cisco, please fix QPT to ensure so that when you specify the amount of voicemail users it creates UCL VM bundled sku’s for VM UCL’s
    Increase the ability of the Cisco online License Tool to accept more than 10 at a time.
    CUCMBE3K team, please provide the ability to select more than one license at a time to import.
    Issue 2: Wait time of 15 minutes before CUCMBE3K Web interface responds
    Powering on the CUCMBE3K unit; like any engineer you would run a ping to the default IP address to indicate when the device has successfully come up and then you would connect to it via the appropriate management interface. The CUCMBE3K would respond to the ping shortly after start-up, however the web interface was not available. No documentation indicates that the CUCMBE3K actually takes between 15 to 20 minutes to start-up, before it becomes responsive and phones can register.
    Issue 2 Summary: 
    CUCMBE3K takes 15 to 20 minutes to respond after boot-up.
    Nowhere is this documented yet when TAC case is logged, it is outlined as normal behaviour
    Issue 2 Fixes/Workarounds/Requests: 
    Be patient
    Cisco, please update documentation
    CUCMBE3K Team, please look at how this boot-up time can be improved
    Issue 3: First Time Wizard Crashes/Issues and Web Interface
    As per the CUCMBE3K documentation for version 8.6.3, which is what was shipped with this device. I did not use the “Bulk Import Tool” (which I will get into a bit later) and simply configured the first time wizard for a “single” site. The wizard itself crashed 3 times, where I would be working through it and it would simply hang and stop responding. So I would have to restart the device and then have to wait 15 to 20 minutes before I could try again. You are looking at 1 full hour of sole boot-up time as a result of this – never mind the crashing interface.
    I just kept trying and then eventually got through to the “Sites” page within the wizard, which then presented another issue. For some reason the wizard would accept all my entries yet it would not let me proceed past the “Sites” Page. The only way I could get past that “Sites” page was to start the wizard again and then click “next, next, next” for the previous pages (that I had already completed) and then it let me through the “Sites” page.
    When I submitted the completion of the wizard, my browser immediately displayed “timeout error”, after which I could no longer connect to default 192.168.1.250. I then tried to connect to the newly assigned IP address. It responded but would not let me log in with either the new or old credentials. I then heard the device restart…assuming that now it had applied my Wizard configurations. I think it would be a good idea to have some sort of progress bar for something like this?
    I waited for the unusually long period (20 minutes) before trying to connect and yet this time I could not connect. Even after waiting for over an hour. Ping responses to the newly configured IP address were responding. Yet no Web service was available. I restarted it after waiting for over an hour and  half.
    After the restart, I waited again for over an hour and yet no luck – I turned it off and I went home for the evening. I had wasted one full day on trying to give this device an IP address and login?
    In the morning I powered the device back up and I could then connect to the web interface but could not access the CUCMADMIN page…I kept getting an error page indicating that cucmadmin is not available. After much retrying it eventually let me in and then I could log in for the first time post wizard configuration.
    Now that I was in and working on the CUCMBE3K interface, there came a time where I had to log out. When I tried to log back in I received “An error has occurred during authentication. Contact your system administrator.” This seemed to occur regularly and logging-in twice seemed to be the only way to log into the interface (with the same credentials).
    I could go on but I think you get the drift.
    Issue 3 Summary:
    Unstable 8.6.3 Wizard\Web interface
    No progress bar for Wizards submission/config application
    Issue 3 Fixes/Workarounds/Requests: 
    Be patient
    Upgrading to Version 8.6.4 dramatically improved stability of Web interface (but be careful of country pack backward compatibility – install country pack first before upgrade!!)
    Cisco TAC recommend using Firefox – despite it not being listed as a supported browser
    Issue 4: All Email address field do not support [email protected]
    This particular environment is quarantined, and hence they use a domain of customerXdomain.local.
    This is not supported on CUCMBE3K, despite it being a valid email address.
    Issue 4 Summary: 
    No support for *.local on any email fields
    Issue 4 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (CSCub81401)
    No work around
    Issue 5: 7900 Handsets are not configured after changes have been applied to them
    Should you make a change to a usage profile and/or speed-dial etc, the affected handset then restarts and upon restart has those configurations applied.
    This works fine with the 6900 series handsets however, not with the 7900 series handsets. You have to restart the 7900’s manually for changes to be applied. Not sure if this is related but I also noticed that after a CUCMBE3K restart, the 7900 series handsets did not register automatically. The just sit there indicating “registering”. So you have to manually restart them to get them to register them to the CUCMBE3K device.
    Issue 5 Summary: 
    7900’s do not accept changes applied to them via CUCMBE3K
    After CUCMBE3K restart, the 7900’s do not automatically register to the CUCMBE3K. They require a manual reboot. In some cases this was seen to be an intermittent issue i.e sometimes a 7900 handset would in fact register.
    Issue 5 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (CSCub81366)
    No work around
    Issue 6: Cannot assign more than 40 Speed Dials
    An error is received when you try to add more than 40 speed-dials to a phone. Despite the phone being a 7975+7916+7916 handset (a tally of 48 speed-dials on the 7916 sidecars alone)
    Issue 6 Summary:  
    Cannot allocate more than 40 Speed Dials to handset despite if the handset can support it.
    Issue 6 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (CSCub83528)
    No work around
    Issue 7: No Call Busy Forward to Voicemail from Huntgroup
    There is no option to have a Hunt Group Voicemail. So if no one is available in the hunt group the call will receive an engaged tone. This is a feature typically expected for any current voice platform.
    Issue 7 Summary:  
    No support for Hunt Group VM
    Issue 7 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (CSCub83528)
    Configure Call-forward to extension with Voicemail configured for hunt group
    Issue 8: Extension Mobility Users unregister when not logged in
    This was a significant issue with this engagement.
    The CUCMBE3K unregisters the EM user when not actively logged into a handset. This means when you call an EM user that is not logged in – you get an engaged tone. Not voicemail as what would be expected.
    Issue 8 Summary:  
    No voicemail support for EM users that aren’t actively logged in
    Issue 7 Fixes/Workarounds/Requests:  Cisco Bug/Defect has been logged (Bug ID CSCub83528)
    Issue 9: Bulk Import Tool
    The CUCMBE3K supports a feature/tool called the Bulk Import Tool. Like the name says, it allows one to upload a large portion of user details and phones to the CUCMBE3K instead of manually adding them one by one.
    The issue is that in the CUCMBE3K interface, a user configuration has both a “PIN” and a “Password”. The Bulk Import Tool does not have a column or field to specify the “PIN” and thus one has to go to each and every single user manually and configure their PIN.
    Issue 8 Summary:  
    No user “Pin” number support in “Bulk Import Tool”
    Issue 7 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (Bug ID CSCub86268)
    Manual configuration of each user “Pin” field
    Issue 10: Auto Attendant “Dial-by-Extension” Feature issues
    It was noted that Dial-by-Extension is not supported for Extension Mobile users as well as Departmental handset.
    Issue 10 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (Bug ID CSCuc59234)
    No work around
    Issue 11: Caller ID –amends user extension to external Caller ID
    The CUCMBE3K amends the extension of the user/handset to the caller ID; so for example, if extension 123 (assuming 3 digit extension length) is making an external call to the outside world, the CUCMBE3K will present a Calling Number of 0x xxxx x123 (where x is the numbers of the dial plan)
    This presents an issue if that extension number is not present in the number block on the PSTN side. I.e if 0x xxxx x123 is trying to call when the customer numbers purchased on the PSTN service only go up to 0x xxxx x100, the 123 call will fail. As a result you need to add a “Calling Pattern Translation pattern”. However this is not available in the CUCMBE3K interface and thus a Cisco TAC needs to be made
    Issue 10 Summary:  
    No option to configure Calling party translation via CUCMBE3K interface
    Issue 10 Fixes/Workarounds/Requests: 
    Cisco Bug/Defect has been logged (Bug ID CSCuc59156)
    Log Cisco TAC
    Other Feature limitations
    Just some other feature limitation that I thought may be worthwhile listing
    Auto Attendant – no multilevel function
    No auto-answer is supported despite the handsets supporting it i.e. 6921’s
    No paging/intercom is supported
    No modification of 7900 background images is supported – despite the 7900 handsets supporting this feature.
    There is no file management interface, so no option/ability to manage firmware manually etc.

    Brian,
    Thanks for being a Cisco partner, working with TAC on resolving some of the issues you faced and taking time to provide feedback.
    We have taken the feedback seriously and will work on addressing them in upcoming release.
    Sanjay

  • Container Managed Entity Beans and Client Identifier in Oracle

    Is it possible to use Container Managed Entity Beans (EJB with CMP)
    in a way that the Oracle database sessions still know the
    individual Client Identifiers of the actual users
    (not just the Identifier of the proxy user defined in the
    Connection Pool)?
    If Yes: How?
    If No: The consequence would be that the
    technologies EJB with CMP cannot be user together with
    Oracle Virtual Private Databases (VPN) because VPN requires
    some kind of Client Identifier.
    I am grateful for any hint.
    Regards,
    Martin Siepmann
    +49 (0)163 / 7765328

    Not quite an auto-incrementing PK, but it is managed by the container. the following is from the turorial
    Generating Primary Key Values
    For some entity beans, the value of a primary key has a meaning for the business entity. For example, in an entity bean that represents a phone call to a support center, the primary key might include a time stamp that indicates when the call was received. But for other beans, the key's value is arbitrary--provided that it's unique. With container-managed persistence, these key values can be generated automatically by the EJB container. To take advantage of this feature, an entity bean must meet these requirements:
    * In the deployment descriptor, the primary key class is defined as a java.lang.Object. The primary key field is not specified.
    * In the home interface, the argument of the findByPrimaryKey method must be a java.lang.Object.
    * In the entity bean class, the return type of the ejbCreate method must be a java.lang.Object.
    In these entity beans, the primary key values are in an internal field that only the EJB container can access. You cannot associate the primary key with a persistent field or any other instance variable. However, you can fetch the bean's primary key by invoking the getPrimaryKey method, and you can locate the bean by invoking its findByPrimaryKey method.
    Maybe that is good enough
    christina

  • Getting Row and Column Identifiers to Show

    Does anyone know how to get the row (A,B,C...) and column (1,2,3...) identifiers to show in a Numbers spreadsheet? These are visible on the Mac version but are not visible on iPad version. It seems to me to be a pretty basic spreadsheet feature to easily see how many rows are in the sheet.

    Hi,
    Might be an answer here for you.
    Numbers for iPad: Frequently Asked Questions (FAQ)
    Carolyn

  • Prepared Statement and DEFAULT identifier

    Does anyone know how to pass the identifier DEFAULT to a PreparedStatement?
    I am processing a text file to import into a database table (Oracle 9i) via JDBC. The user is able to configure what will happen if the data in the file doesn't match the types required by the database and so I do a quick check that the data is of the right type before it gets to the database. The user can choose to have the invalid value replaced with the default associated with that field (as configured on the database table). Eg. Table setup is
    CREATE TABLE "TEST1" (
    "TESTFIELD1" VARCHAR2(40 byte),
    "TESTFIELD2" VARCHAR2(40 byte) NOT NULL,
    "TESTFIELD3" NUMBER(30, 10) DEFAULT 777)
    sample data of 'abc', 'def', 'www' should therefore end up as 'abc', 'def', 777
    The problem I have is that I'm using a PreparedStatement to do the INSERTs (there could potentially be thousands of them).
    The following SQL is what I'm trying to emulate...
    INSERT INTO table (field1, field2, field3) VALUES ('abc', 'def', DEFAULT);
    BUT, I am using a PreparedStatment via JDBC with bind variables ...
    pstmt = con.prepareStatement("INSERT INTO table (field1, field2, field3) VALUES (?, ?, ?)");
    ps.setString(1, "abc");
    ps.setString(2, "def");
    ps.setsomething(3, something); <- what goes here?
    I have no idea what to put in the "something" bits so that DEFAULT is passed through. I obviously can't use setString(3, "DEFAULT"); as I'll just get an Oracle type mismatch error.
    I realise that I could just leave out the 3rd variable and the default would be inserted automatically - but because some of the rows in the input file may have a valid value for field3 I don't always want the default value. Using the straight SQL is not an option due to the performance (or lack thereof).
    Any ideas would be greatly appreciated! Thanks!

    As for the best of my knowledge if you set the value to be null in the prepared Statement while setting that
    for insert statement internally it is set to DEFAULT in ORACLE..
    More over i thought that this will be usefull for u..
    setNull
    public void setNull(int paramIndex,
    int sqlType,
    String typeName)
    throws SQLExceptionSets the designated parameter to SQL NULL. This version of the method setNull should be used for user-defined types and REF type parameters. Examples of user-defined types include: STRUCT, DISTINCT, JAVA_OBJECT, and named array types.
    setNull
    public void setNull(int parameterIndex,
    int sqlType)
    throws SQLExceptionSets the designated parameter to SQL NULL.
    Note: You must specify the parameter's SQL type.
    Parameters:
    parameterIndex - the first parameter is 1, the second is 2, ...
    sqlType - the SQL type code defined in java.sql.Types
    Throws:
    SQLException - if a database access error occurs
    ALL THE BEST

  • Problem using SQL-LOADER and Unique Identifiers

    I'm trying to load a fixed-length records file containing people names and phone numbers. Data is specified as follows
    Toni Tomas66666666669999999999
    Jose Luis 33333333330000000000
    Notice that a maximum of 2 numbers can follow a person name, and 0000000000 means "no number specified".
    I want to assign a unique identifier to people (instead of using the NAME field as a Primary Key) using an Oracle Sequence. I did that, but I don't know
    how to assign the same id to each number.
    Considering the 2 previous lines, desired result should be:
    PEOPLE
    ======
    1     Toni Tomas
    2     Jose Luis
    TEL_NUMBERS
    ===========
    1     6666666666
    1     9999999999
    2     3333333333
    In order to achieve that, my Control File looks like this
    LOAD DATA
    INFILE phonenumbers.txt
    INTO TABLE people
         personID "mySequenceName.nextval", --an Oracle sequence
         name POSITION(1:10) CHAR
    INTO TABLE tel_numbers
    WHEN phonenumber !='0000000000'
         personID !!!DON'T KNOW HOW TO REFERENCE THE SAME ID!!!!
         phonenumber POSITION(11:20) CHAR
    INTO TABLE tel_numbers
    WHEN phonenumber !='0000000000'
         personID !!!DON'T KNOW HOW TO REFERENCE THE SAME ID!!!!
         phonenumber POSITION(21:30) CHAR
    I tried lots of things, but anyone works:
    a) reference the ID using something like ":\"people.personID\" (or similar aproaches)
    b) using a BEFORE INSERT TRIGGER getting the CURRVAL value of the Sequence. This solution
    does not work because it seems that all people is loaded before any telephone number. Hence,
    all phone numbers are associated, wrongly, to the last person in the data file.
    Does anyone know how can I solve this issue?
    Help would be appreciated. Thank you.

    Hi V Garcia.
    Information within the file is correct. Each line represents a COMPLETE record (Part of the line represents parent information and the rest is children data). As you can see in my first message, you can have more than one detail for a given master (i.e. two phone numbers):
    Toni Tomas66666666669999999999
    (10 chars for the name, 10 for each phone number. Thus, 2 children records to be created)
    With the solution given by Sreekanth Reddy Bandi (use of CURRVALUE within the SQL-Loader Control File), not all the details are linked to the parent record on the DB tables. It seems SLQ-Loader gets crazy when there is such amount of information.

  • 2 node RAC: one 10gR2  node and one 11.2.0.3 node on Solaris 10.

    Is it possible to have a mixed Oracle version 2 node RAC with 10gR2 database on one machine and 11.2.0.3 database installed on the other machine. Has anyone done this?

    Hi,
    if you are talking about setting up a RAC, and having a database 10g running on one node, and a different database 11g running on the other node this is possible.
    You will have to use the newest clusterware/GI (11.2.0.3) and multiple Oracle Homes (One for 10g and one for the 11.2.0.3).
    If however you want one database with 2 instances running different versions: Then No.
    Regards
    Sebastian

  • Mapping Swing datatypes and their identifier

    hi java_lander,
    yeah...this's goin to be a "little bit crazy" question.
    i got an editor having syntax colrizing feature. everything is goin fine but..to an extension of that,
    i want to map various JComponent classes with their identifiers...
    like when i write the following code,
    JFrame fr1,fr2;
    i want to map the identifier fr1 and fr2 to the component JFrame.
    JButton but1,but2;JList l1,l2;
    i want to map but1,but2->JButton
    l1,l2->JList.
    Is there any way to handle this case.
    putting it other way, i want to parse the source code and map the data type with their identifiers.
    ANY SUGGESTION 'LL BE HIGHLY APPRECIATED.
    regards,
    j_hacker

    If you define the array as public JTextField[]
    tapetext = new JTextField[30];Doesn't this create 30 non-null JTextField
    objects in the array?Sorry, no it doesn't it creates an empty array. (All nulls)

  • Getting osuser and terminal identifier in a trigger

    Hello everyone,
    Is there a simple way I can get the osuser and the terminal identifier (os) in a trigger?
    Is there something as simple as using USER for the username?
    Best regards,
    Carl

    This is old my sample program.
    This trigger fire only executing a statement
    such as 'update dept set deptno = '
    from SQL*Plus GUI edition for Windows.
    create or replace trigger trg_dept_for_plusw
    after update of deptno on dept
    for each row
    declare
      p_count number;
    begin
      select count(*) into p_count
        from v$session
        where program in ('SQLPLUSW.EXE')
          and audsid = userenv('sessionid')
          and rownum <= 1;
      if p_count >= 1 then
        update emp set deptno = :new.deptno
          where deptno = :old.deptno;
      end if;
    end;
    show errorCAUTION: before creating you ought to grant.
    GRANT SELECT ON "SYS"."V_$SESSION" TO trigger_creater;
    Original :
    http://otn.oracle.co.jp/otn_pl/otn_tool/code_detail?n_code_id=85
    (This site is closed for Only OTN Japan members)

  • Guidelines for SGA and PGA tuning for 10gR2 RAC and ASM ?

    I am looking for tuning information on SGA and PGA tuning for Oracle 10g (10.2) RAC and ASM for a 4TB OLTP and DSS mixed environment on Solaris 10 platform.

    We are running Solaris 10 SPARC 64 bit with Oracle 10gR2 RAC Enterprise Edition and ASM on Sun servers with 32GB of RAM for memory for a 4TB OLTP database.
    It is in design phase so I do not have an existing AWR or Statspack report yet. Is there a best practices guideline on how to size parameters for the SGA (ie: shared_pool_size, etc) and PGA for this environment from Oracle?

  • D1000 and 10gr2 RAC and ASM

    Solaris 9
    10gr2
    Hi All,
    Is there anyway two nodes can share D1000 storage. Both nodes should see all the disks. Not half the disks each node.
    If it can be done, please give me the proceduere.
    I want to try oracle 10g RAC on this using ASM.
    Thanks in advance.

    I am wondering If we can share D1000 between the two nodes and able see all the disks from both nodes. we can see half the disks from each node in split bus mode I guess.

Maybe you are looking for