Question regarding Oracle and Linux on VMware

Hello,
I carefuly read the paper on Oracle and Linux on Your Own VMware and I'm missing a point.
The paper explains how to start a cluster on a single host in a single Linux VM on VMware.
So, there are 2 instances of Oracle 10g DB on the same Linux VM inside VMware. What does allow that?
Is it possible to run 2 instances on any (single) Linux box, or is VMware required? If VMware is not required, why this complication in that paper? If VMware is required, what does it bring that make running 2 cluster instances on the same host possible?
Many thanks for your help.

userLynx wrote:
I have an oracle database (10.2) and I have a query that needs to compare data on the Oracle database to data on a MS SQL server DB. I'm using a DB Link between the two databases.
How would I compare the date fields?
I have a table that has a date as one of the fields and I need to restrict the records where the date is equal to the date on SQL, however the formats are different:
My query is as follows:
SELECT mkt_css_name,
pmv_rqst_corp_id,
pmv_rqst_source,
'G',
pmv_css_acct_no,
eq.start_date
FROM power_move@cmdt,
enroll_que@tcis eq,
marketer@cmdt
WHERE eq.css_account_number = pmv_css_acct_no
AND eq.requestor_type = 'P'
AND eq.status IN ('A','P','G','S')
AND eq.marketer_id = mkt_seq_no
AND pmv_service_type IN ('G','D')
And Pmv_Gas_Mktr_No = Eq.Marketer_Id
AND pmv_received_timestamp= eq.enroll_date ;
The problem is that the date is stored in Oracle in the following format: DD-MON-YYYY and in SQL as 'YYYY-DD-MM HH:MI:SSSSSS'
for example: Data in Oracle would be 27-JAN-2012 and in SQL as 2012-01-27 00:00:00.000
I get an error when I compile.
How do you reconcile the formats when the syntax is different between databases?
Thanks, SeanDATE datatypes do NOT have any "format"
DATE datatype is stored in internal binary notation.
use TO_CHAR to display, present & compare the DATE datatypes

Similar Messages

  • Few questions regarding Oracle Scorecard and strategy management.

    Hi,
    I have following questions regarding Oracle Scorecard and strategy management:
    1. What are the ways in which i can show status of a KPI, like we have colors and symbols, what are others?
    2. can we keep log of KPIs, store them, keep report of feedback/action taken on that?
    3. Does Scorecard and strategy management have ability to retain history on feedback and log of
    entries i.e. date/time, user name?
    4. Does Scorecard and strategy management have ability to use common mathematical formulas e.g. median, average, percentiles. Describe.?
    Thanks in advance for your help.

    bump.

  • Question regarding roaming and data usage

    I am currently out of my main country of service, and as such I have a question regarding roaming and data usage.
    I am told that the airplane mode is sufficient from keeping the phone off from roaming, but does this apply to any background data usage for applications and such?
    If the phone is in airplane mode, are all use of the phone including wifi and application use through the wifi outside of all extra charges from roaming?

    Ann154 wrote:
    If you are getting charged to use the wifi, then it is possible.  Otherwise no
    Just to elaborate here, Ann154 is referring to access charges for wifi, which is nothing to do with Verizon, so if you are using it in a plane, hotel, an internet cafe etc that charges for Wifi rather than being free .   Verizon does not charge you (or indeed know about!) wifi usage, or any other usage that is not on their cellular network (such as using a foreign SIM for example in global phones)  So these charges, if any, will not show up on the verizon bill app.  Having it in airplane mode prevents all cellular data traffic so you should be fine

  • Question regarding MM and FI integration

    Hi Experts
    I have a question regarding MM and FI integration
    Is the transaction Key in OMJJ is same as OBYC transaction key?
    If yes, then why canu2019t I see transaction Key BSX in Movement type 101?
    Thanks

    No, they are not the same.  The movement type transaction (OMJJ) links the account key and account modifier to a specific movement types.  Transaction code (OBYC) contains the account assignments for all material document postings, whether they are movement type dependent or not.  Account key BSX is not movement type dependent.  Instead, BSX is dependent on the valuation class of the material, so it won't show in OMJJ.
    thanks,

  • **question regarding 3G and wif**.

    I have a question regarding 3G and wifi. I have #G activated as well as wifi, when I go to retrieve mail for example I get a pop up asking me if I want to connect to a wifi network…should I have wifi and 3G activated at the same time, and why am I getting the pop up…
    Thanks

    You can have them on at the same time, but they will not be used at the same time for data. The order of preference for data is WiFi > 3G > EDGE > GPRS. You're getting the pop up, most likely, because you have Settings > Wi-Fi > Ask to Join Networks set to ON. You can set that to OFF, and the iPhone will still join known (i.e. previously used) WiFi networks automatically.

  • Question regarding Dashboard and column prompt

    My question regarding Dashboard and column prompt:
    1) Dashboard prompt usually work with only for columns which are in subject area. In my report I've created some of the columns which are based on other columns. Like I've daysNumber column that is based on two other columns, as it calculates the difference of two dates. When I create dashboard prompt I can't find this column there. I need to make a prompt on this column.
    2)For one of the column I've only two values 1 and 0. When I create prompt for this column, is it possible that in drop down list It shows 'Yes' for 1 and 'No' for 0 and still filter the request??

    Hi Toony,...
    I think there was another way of doing this...
    In the dashboard prompt go to Show option > select SQL Results from dropdown.
    There you need to write your Logical SQL like...
    SELECT CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END FROM SubjectAreaName
    Here.. Periods.Year is the column which is already exists in repository's presentation layer..
    and difference of date functionality is the code or formula of column which you want to show in drop-down...
    Also write the CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END code in fx of that prompt.
    I think it helps you in doing this..
    Just check and inform me if it works...
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Oct 31, 2008 9:35 AM

  • A few question regarding oracle Vm (and virtualizing Db 11g)

    Hi,
    I've just started evaluating Oracle vm for our next deployment.
    One of the systems I'll need to virtualize is Oracle db 11g. As far as I understand the oracle DB template only comes with ASM? I would prefer to use LVM. What is the best way to install db into virtual machine without asm? Should I start with EL 5.2 and configure it, or could I somehow use the EL that comes with the template?
    Regarding LVM: I'm planning to create different volume groups, each with just one logical volume. These volumes would be mounted to guest as /u01, /u02 ... and so on. All volumes will be created on mirrored disks/partitions. Later, I could just move, expand, strip volumes as db usage will require. Does that sound ok?
    And another question regardin oracle vm: in the manual, chapter 4.6.2 says: "Install an operating system. This may be done a number of ways.
    ■ Install an Oracle VM Server-enabled operating system from CD-ROMs...."
    Is there a list of server-enabled operating systems anywhere? And maybe more detailed explanation of this step?
    Thanks
    Jernej

    Jernej Kase wrote:
    One of the systems I'll need to virtualize is Oracle db 11g. As far as I understand the oracle DB template only comes with ASM? I would prefer to use LVM. What is the best way to install db into virtual machine without asm? Should I start with EL 5.2 and configure it, or could I somehow use the EL that comes with the template?I would probably start with the standard EL5 template instead. The Database template is designed to automatically configure and provision the database with ASM and would probably take longer to dismantle.
    >
    Regarding LVM: I'm planning to create different volume groups, each with just one logical volume. These volumes would be mounted to guest as /u01, /u02 ... and so on. All volumes will be created on mirrored disks/partitions. Later, I could just move, expand, strip volumes as db usage will require. Does that sound ok?It sounds OK, but ASM does all of that and more. It is also faster (particularly on Oracle VM, as it uses direct access to the disks). ASM also does automatic data levelling and striping. With 11g, I would strongly recommand ASM over LVM for your storage.
    Is there a list of server-enabled operating systems anywhere? And maybe more detailed explanation of this step?There isn't a list -- that's possibly badly worded as well. If you don't want to use one of the paravirtualized Oracle Enterprise Linux templates available on eDelivery, you can use any operating system installation CD in ISO format. Note that installations from an ISO are done as fully virtualized guests (i.e. hardware virtualized) and require Intel VT-x or AMD-s extensions to be present and enabled. Hardware virtualized guests are also not as fast as paravirtualized Linux guests.
    Oracle only certifies Database 11g running on Enterprise Linux in paravirtualized mode. The simplest way to deploy this is to use the provided templates.

  • How to install Oracle Enterprised Linux on VMware PLayer 4

    Hi Everyone,
    My name is John and I've a small issue which I would like to share with you and hopefully, you are able to assist.
    My laptop is installed with a Window 7 Home Edition operating system and I've installed VMware-player-4.0.2. After reboot, I've also downloaded the file - V29609-01 which is the ISO file of Oracle Enterprise Linux 6.2.
    After that, I've tried to create a Virtual Machine - Oracle Enterprise Linux using the VMware Player by specifying the path and file name of the V29609-01.iso file on my local c:\ drive. I've tried it several times, but every time it just returns the message - 'pxe-e53 no boot filename received' and it just hangs there without proceeding further. Please let me know what I've done wrong and the correct steps and procedures to solve this problem as this is my first time installing a Linux operating system. Thank you for your assistance.
    Regards,
    John

    Hi,
    Can you clarify and explain what is your exact meaning of 'Are you sure you've added the ISO to the VM to boot from?'? Because the following is what I did:
    1.) Click the Create A New Virtual Machine.
    2.) Select the 'Install disc image file (iso):' option and enter the full path of the V29609-01.iso (Oracle Enterprise Linux 6.2) file that I've downloaded from https://edelivery.oracle.com/. But underneath it, that is a message saying - 'Could not detect which operating systems is in this dsic image. You will need to specify which operating system will be installed.'
    3.) Click 'Next'.
    4.) I chose "Linux' under the Guest operating system and chose 'Oracle Enterprise Linux' under the Version drop down.
    5.) Click 'Next'.
    6.) I left the Virtual machine name as 'Oracle Enterprise Linux' and click 'Next'.
    7.) I set the Maximum disk size to 300 GB and have the 'Split virtual disk into multiple files' option selected and click 'Next'.
    8.) I have the 'Power on this virtual machine after creation' checked and click 'Finish'.
    9.) A black screen displayed inside the VMware Player saying:
    'CLIENT MAC ADDR: 00 0C 289 ......
    PXE-E53: No Boot filename received
    PXE-M0F: Exiting Intel PXE ROM.
    Operating System not found
    10.) And the process just hangs there.
    Regards,
    John

  • Question Regarding MIDI and Sample Accuracy

    Hi,
    I have 2 questions regarding MIDI.
    1. MIDI is moved by ticks. In the arrange window however, you can move a region by samples. When doing this, you can move within values of the ticks (which you can see on your position box that pops up) Now, will this MIDI note actually be played back at that specific sample point, or will it round the event to the closest tick? (example, if I have a MIDI note directly on 1.1.1.1, and I move the REGION in the arrange... will that MIDI note now fall on the sample that I have moved the region to, or will it be rounded to the closest tick?)
    2. When making a midi template from an audio region, will the MIDI information land exactly on the sample of the transient, or will it be rounded to the closest tick?
    I've looked through the manual, and couldn't find any specific answer to these questions.
    Thanks!
    Message was edited by: Matthew Usnick

    Ok, I've done some experimenting, and here are my results.
    I believe those numbers ARE samples. I came to this conclusion by counting (for some reason it starts on 11) and cutting a region to be 33 samples long (so, minus 11, is 22 actual samples). I then went to the Audio Bin window, and chose to view region length as samples. And there it said it: 22 samples. So, you can in fact move MIDI regions by samples!
    Second, I wanted to see if the MIDI notes in the region itself would be quantized to the nearest tick. I cut a piece of audio, so it had a 1 sample attack (zoomed in asa far as I could in the sample editor, selected the smallest portion, and faded in, and made the start point, the region start position). I saved the region as a new audio file, and loaded it up in the exs sampler.
    I then made a MIDI region, with and triggered the sample on beat 1 (quantized, on the money). I then went into the arrange window, made a fixed cycle length, and bounced the audio. I then moved the MIDI region by one sample to the right. I did this 22 times (which is the number of samples in a tick, at 120, apparently). After bouncing all of these (cycle position remained fixed, only the MIDI region was moving) I imported all the audio into the arrange on new tracks, and YES!!! The sample start was cascaded by a sample each time!
    SO.
    Not only can you move MIDI regions by sample, but the positions are NOT quantized to Logics ticks!
    This is very good news, and glad I worked this out!
    (if anyone thinks this sounds wrong, please correct me, but I'm pretty sure I proved it, in my test)
    Message was edited by: Matthew Usnick

  • Question regarding homehub and Open reach router -...

    Hi all,
      I had infinity installed earlier this month and am happy with it so far. I do have a few questions regarding the service and hardware though.
      I run both my BT openreach router and BT Home hub from the same power socket. The problem is, if I turn the plug on so both the Homehub and Openreach Router start up at the same time, the home hub will never get an Internet connection from the router. To solve this I have to turn the BT home hub on first and leave it for a minute, then start the router up and it all works fine. I'm just curious if this is the norm or do I have some faulty hardware?
      Secondly, I appreciate the estimated speed BT quote isn't always accurate, I was quoted 49mbits down but received 38mbits down - Which I was happy with. Recently though it has dropped to 30. I am worried this might continue to drop over time. and as of present I am 20mbits down on the estimate . For the record 30mbits is actually fine and probably more than I would ever need. If I could boost it some how though I would be interested to hear from you.
    Thanks, .

    Just a clarification: the two boxes are the HomeHub (router, black) and the modem (white).  The HomeHub has its own power switch, the modem doesn't.
    There is something wrong if the HomeHub needs to be turned on before the modem.  As others have said, in general best to leave the modem on all the time.  You should be able to connect them up in any order, or together.  (For example, I recently tripped the mains cutout, and when I restored power the modem and HomeHub went on together and everything was ok).
    Check if the router can connect/disconnect from the broadband using the web interface.  Leaving the modem and HomeHub on all the time, go to http://192.168.1.254/ on a browser on a connected computer, and see whether the Connect/Disconnect button works.

  • Question regarding IWDTree and context Value Node naming

    Hi,
    I have a question regarding the IWDTree / IWDTreeNodeType components.
    I have a context looking like this:
    Context
      + ResponseNode
        + PersonNode (1..1)
          + PersonAddressNode                    (empty node, placeholder)
          | + AdresNode (0..n)
          + PersonChildNode                      (empty node, placeholder)
          | + PersonNode (0..n)
          |   + PersonAddressNode                (empty node, placeholder)
          |     + AddressNode (0..n)
          + PersonParentsNode                    (empty node, placeholder)
            + PersonNode (0..n)
              + PersonAddressNode                (empty node, placeholder)
                + AddressNode (0..n)
    The context represents a person, a person's address, and a person's children and parents with their respective addresses.
    As a result, on different branches, a PersonNode and AddressNode can appear.
    And for some strange reason, all PersonNodes and AddressNodes link to the same ResponseNode.PersonNode.PersonParentsNode.PersonNode and ResponseNode.PersonNode.PersonParentsNode.PersonNode.PersonAddressNode.AddressNode respectively, irregardless of their branch...
    Is it illegal to have multiple PersonNode and AddressNode node names, and should they be named uniquely?

    Generally, node names need to be unique inside the context, attributes in different nodes can have same names. I wonder if the context structure you described will result in code without compile errors.
    The WD Tree can only be used with recursive context nodes or with a hierarchy of non-singleton child nodes.
    Can you give an example how your tree should look like at runtime?

  • Need Expert Advice regarding oracle and java objects

    In our project, we are submitting data for many screens at a time. Some screens will have a list of records to be submitted. There is also some hierarchy among the data up to 4 levels.
    In such a scenario, we need to know the best way to exchange data between Oracle and Java. Currently java holds the data as objects, where each object may contain an array of next level of objects in it.
    Is it best approach to pass the entire data with hierarchy to Oracle using nested table approach and internally oracle handling the data? Is there any other way to do this?
    Also in some scenarios we need to pass the entire information for all the screens in one shot with the hierarchy. So we need to know a solution for that also. Could you please help us in this regard?

    See Oracle JPublisher technique to map Oracle object types to Java ones:
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96658/toc.htm
    Rgds

  • Question regarding battery and warranty

    Hi all! I have a quick question about how and if my warranty applies to my battery. After about a year and a half of ownership (I have the three-year extended warranty), my battery has gone completely down the toilet. It wasn't a problem before, but this year I have to lug my T61p around a lot for lab work. My battery is now rated at... 39.75Wh when it shipped at 84.24Wh. This is a pretty drastic difference. In any case, I don't think that this is covered by warranty, but figured that I'd ask before I drop $180 on a new battery (ouch). And, speaking of, if my suspicions are correct, does anybody know where I might find a 9-cell battery for the T61p? All I'm seeing on Lenovo's website is the one for the N100... which doesn't... match very well. Yaknow.
    Thanks a lot!
    ThinkPad T61p [June 2008]: 2.5Ghz Penryn Core 2 Duo, 4GB DDR2 RAM, NVidia Quadro FX 570m 256MB, 160GB 7200RPM Fujitsu HDD, 1920x1200 WUXGA Matte LCD, Windows 7 RC1

    Is either of these appropriate? I'm wary of the one on Amazon, as there are other (off-brand) batteries that are advertised as being Lenovo ones (though those generally sell for  a lower price). The other one just looks like I'll have to call up to buy it.
    http://www.amazon.com/Lenovo-43R9255-ThinkPad-Notebook-Battery/dp/B001DX9EKA
    http://affordablepcsupply.com/products/IBM/REF/42T4511.html
    Thoughts?
    ThinkPad T61p [June 2008]: 2.5Ghz Penryn Core 2 Duo, 4GB DDR2 RAM, NVidia Quadro FX 570m 256MB, 160GB 7200RPM Fujitsu HDD, 1920x1200 WUXGA Matte LCD, Windows 7 RC1

  • Question regarding selectOneMenu and PROCESS_VALIDATIONS(3) phase

    Hi im a bit lost regarding selectOneMenu and how validation phase all works together.
    The thing is that i have a simple selectOneMenu
    <h:form id="SearchForm">                                                  
         <h:panelGrid columns="3"  border="0">
              <h:outputLabel id="caseTypeText" value="#{msg.searchCaseCaseType}" for="caseType" />                         
              <h:selectOneMenu id="caseType" value="#{searchCaseBean.caseType}" style="width: 200px;" binding="#{searchCaseBean.caseTypeSelect}">     
                   <f:selectItem itemValue="" itemLabel="#{msg.CommonTextAll}" />                                             
                   <f:selectItems value="#{searchCaseBean.caseTypes}"  />                              
              </h:selectOneMenu>
              <h:message for="caseType" styleClass="errorMessage" />
              <h:panelGroup />
              <h:panelGroup />
              <h:commandButton action="#{searchCaseBean.actionSearch}" value="#{msg.buttonSearch}" />
         </h:panelGrid>
    </h:form>Now when i hit submit button i can see that the bean method searchCaseBean.caseTypes (used in the <f:selectItems> tag) is executed in the PROCESS_VALIDATIONS(3) phase. How come? I dont whant this method to be executed in phase 3, only in phase 6.
    If i add the this in the method if (FacesContext.getCurrentInstance().getRenderResponse())
    public List<SelectItem> getStepStatuses(){
         List<CaseStep> caseSteps = new ArrayList<CaseStep>();
         if (FacesContext.getCurrentInstance().getRenderResponse()) {
              caseSteps = getCaseService().getCaseStep(value);     
         List<SelectItem> selectItems = new ArrayList<SelectItem>(caseSteps.size());
         for(int i=0; i < caseSteps.size(); i++){
              CaseStep step = caseSteps.get(i);               
              String stepStatus = step.getStatus() + "_" + step.getSubStatus();           
              selectItems.add(new SelectItem(stepStatus, step.getShortName()));
         return selectItems;
    } Now i get a validation error (javax.faces.component.UISelectOne.INVALID) for the select field and only phase1, phase2, phase 3 and phase 6 is executed.
    Im lost?

    I see. Many thanxs BalusC. Im using your blog very often, and its very helpfull for me.
    I changed now to use the constructor load method instead. But know im getting problem of calling my service layer (Spring service bean). Its seems they havent been init when jsf bean is calling its constructor.
    Can i init the spring service bean from the faces-config file?
    JSF Bean
        public SearchCaseBean() {
              super();
                    //caseService need to be init
              if(getCaseService() == null){
                   setCaseService((CaseService)getWebApplicationContextBean("caseService"));
              fillCaseTypeSelectItems();
              fillCaseStatusSelectItems();
    .....faces-config
    <managed-bean>
              <managed-bean-name>searchCaseBean</managed-bean-name>
              <managed-bean-class>portal.web.SearchCaseBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>          
              <managed-property>
                   <property-name>caseService</property-name>
                   <value>#{caseService}</value>
              </managed-property>
         </managed-bean>

  • Few questions regarding Training and event management

    Dear All,
    Can you please help me with the following queries regarding Training and Event Management:
    1. How to freeze a completed business event so that no changes to its record (like delete/update attendee details or event detail) is possible?
    2. How to get feedback from attendee/faculty with a predefined format with rating (1-4 scale)
    3. How to maintain department and category wise training man/hrs or training man/days?
    Any help will be appreciated.
    Regards,
    Toa

    Hi Toa,
    1. Run report RHHISTO0 via SA38. Once the business event is flagged as "historical" no further changes can be done.
    3. SM30 - T77S0 - Make the following swtiches active:
    SEMIN AINST
    SEMIN APART
    Then when events are followed up, these training data is recorded to employee 2002 infotype. You can report on it via PT90 (for department-based selection use "Further selections")
    Regards,
    Dilek

Maybe you are looking for

  • How to display data in a table on the screen

    Dear members, I have to display data from the database in a table on my screen when the page loads. I have created the VO and the AM and made the mappings for the columns i want to display but the table on my screen is not fed when the page loads. I

  • Scroll bar arrows in Lion?

    Just curious if anyone knows if there is a way to get up and down arrows back at the bottom of the scroll bars in Lion? I'm using a trackball mouse so it's a little annoying having to click and drag on that tiny little scroll bar... Thanks for any in

  • BBPGETVD - error:backend systems with release 700 are not supported

    Hi, When I am trying to replicate vendor data from EEC to crm 4.0 via BBPGETVD. I get the error message"backend systems with release 700 are not supported" Is anyone have Idea what is wrong? and how can fix it? Thanks, Rachel

  • Within my desktop apps panel all i'm getting is 'Download Error, contact customer support'.

    I've already tried shutting down and re-installing.

  • NEED HELP re: Smart TVS

    I am currently deployed to Afghanistan and will be returning home in a few weeks and the wife and I are in need of a new tv. My question is this. I know I want a smart tv for all the added features and benefits but I need to find out if any of the sm