What can I use Aurora JVM for?

Hi, Oracle 8i Java Development Team!
I have made more accurate tests. I done Java stored procedure and
deployed it on Oracle 8.1.5 Server Enterprise Edition . Here are
Java program and SQL call spec.
Java store procedure I run in two ways: from SQL*PLUS and from
session shell with the same bad results. Then I run this program
on Sun JVM ( JDK 1.1.7 ) and received interesting results ( see
below )
public class TestBench
public static long RunBecnch( long count )
double dig = 76765.78978;
double res;
long start = System.currentTimeMillis();
for ( int j = 0; j < count; j++ )
res = dig / j;
long end = System.currentTimeMillis();
System.out.println( "Time is : " + ( end - start ));
return ( end - start );
public static void main( String[] args )
long cnt = Integer.parseInt( args[ 0 ] );
long res = RunBecnch( cnt );
create or replace function test_bench( cnt number ) return number
as
language java
name 'TestBench.RunBecnch( long ) return long';
declare
res number;
cnt number;
begin
cnt := 10000000;
res := test_bench( cnt );
dbms_output.put_line( 'Result is '

Hello,
Digging a bit in the Oracle 8i docs, I've found why the java
performance is so low in the database VM. Because there is no
support for user native code from Java yet, and it will be
implmented in a subsequent release. So every program you write
is interpreted only.
So the only advantage you can get from Oracle 8i for the
moment is using their nativized libraries (which are DLL's for
the JDK API)
Alexander
Vladimir Borkovkin (guest) wrote:
: Hi, Oracle 8i Java Development Team!
: I have made more accurate tests. I done Java stored procedure
and
: deployed it on Oracle 8.1.5 Server Enterprise Edition . Here
are
: Java program and SQL call spec.
: Java store procedure I run in two ways: from SQL*PLUS and from
: session shell with the same bad results. Then I run this
program
: on Sun JVM ( JDK 1.1.7 ) and received interesting results (
see
: below )
: public class TestBench
: public static long RunBecnch( long count )
: double dig = 76765.78978;
: double res;
: long start = System.currentTimeMillis();
: for ( int j = 0; j < count; j++ )
: res = dig / j;
: long end = System.currentTimeMillis();
: System.out.println( "Time is : " + ( end - start ));
: return ( end - start );
: public static void main( String[] args )
: long cnt = Integer.parseInt( args[ 0 ] );
: long res = RunBecnch( cnt );
: create or replace function test_bench( cnt number ) return
number
: as
: language java
: name 'TestBench.RunBecnch( long ) return long';
: declare
: res number;
: cnt number;
: begin
: cnt := 10000000;
: res := test_bench( cnt );
: dbms_output.put_line( 'Result is '

Similar Messages

  • Hi, what can i use location service for find my lost macbookAir

    hi, what can i use location service for find my lost macbookAir

    If you're an iCloud user and had "Find my Mac" enabled in the System Preferences, then you can go to www.icloud.com, sign in and click Find my iPhone.

  • What can i use Data/Services for?

    I have a datagrid displaying data from my database and i can get access to whichever data item i want.
    What i want to do is use data from the database without creating a data grid, how can i do that?
    e.g displaying a text field from the database in a textbox, how would i do this without calling datagrid.selecteditem...?

    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="windowedapplication1_creationCompleteHandler(event)">
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.events.FlexEvent;
    import mx.rpc.events.ResultEvent;
    [Bindable] private var resultData:ArrayCollection=new ArrayCollection()
    protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
    // TODO Auto-generated method stub
    myHTTPService.send()
    protected function myHTTPService_resultHandler(event:ResultEvent):void
    // TODO Auto-generated method stub
    resultData=event.result as ArrayCollection;
    // resultData=myHTTPService.lastResult as ArrayCollection
    ]]>
    </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <s:HTTPService id="myHTTPService" result="myHTTPService_resultHandler(event)"
       url=""/>
    </fx:Declarations>
    </s:WindowedApplication>
    Hope this helps,
    Balakrishnan V

  • Preview: What can I use to replace it?

    Hi all, I used to really enjoy using Preview for .pdf files and images, but Mavericks has removed the 'hand gesture' tool so I need to find a replacement. I'm now using 'Adobe Reader' for .pdf files, but I need something for images. What can I use?
    Thanks for any help!

    A Magic Trackpad will let you use your own hand.

  • What can I use my Droid Charge for, after I upgrade to the new Samsung Galaxy S2 for VZW on Sept 8?

    what can I use my Droid Charge for, after I upgrade to the new Samsung Galaxy S2 for Verizon on September 8?
    I guess it can run fine on Wi-Fi and become a media player.... or is there a market for 1-month-old Droid Charge phones?
    How much trade-in value can I get from VZW or BestBuy or Amazon?
    Thanks!

    http://www.droid-life.com/2011/08/03/leaked-verizon-roadmap-reveals-potential-launch-dates-for-stratosphere-vigor-bionic-and-more/
    DROID Bionic:  (9/8 launch) – You already know everything about this device, don’t you?
    Samsung Stratosphere:  (9/8 launch) – 4G LTE device running Android 2.3
    HTC Vigor:  (10/6 launch) – Will replace the HTC Thunderbolt
    LG Revolution 2:  (10/20 launch) – Will replace the original Revolution
    Samsung Galaxy Tab P8 (November launch) – Could be the 8.9″ Galaxy Tab?
    Samsung Illusion:  (9/29 launch) – 3G smartphone running Android 2.3
    Samsung Plato:  (January launch) – whatever it is, it was pushed to 2012
    HTC Bliss:  (9/29 launch) – Lower end Android 2.3 device; the chick phone?
    Motorola XOOM 4G LTE:  (9/8 launch) – Assuming this is the date that the 4G LTE upgrade starts. Also when the 4G LTE version will be in stores.

  • What can I use for a low battery warning on a Mac Book OSX10.8?

    What can I use for a low battery warning on a Mac Book OSX10.8?

    What you should see above all your windows when your battery gets to low.

  • What query can we use ...for over 30 days

    select PROPERTY,RELAVANTDATE ,
    sum(NOTICES) over (
    partition by property
    order by RELAVANTDATE
    range between interval '30' day preceding and current row
    ) "SUM"
    from Test_Data
    what query can we use ...for over 30 days
    can i use following or preceding

    SCOTT@soti_9> WITH Test_Data AS (
      2    select 10100 as property, to_date('25-JAN-07') as RelavantDate, 20 as notices from dual union all
      3    select 10100 as property, to_date('25-DEC-07') as RelavantDate, 5 as notices from dual union all
      4    select 10100 as property, to_date('02-JAN-08') as RelavantDate, 10 as notices from dual union all
      5    select 10100 as property, to_date('01-DEC-08') as RelavantDate, 10 as notices from dual union all
      6    select 10100 as property, to_date('02-DEC-08') as RelavantDate, 20 as notices from dual union all
      7    select 10100 as property, to_date('31-DEC-08') as RelavantDate, 20 as notices from dual union all
      8    select 10100 as property, to_date('03-JAN-09') as RelavantDate, 30 as notices from dual union all
      9    select 10100 as property, to_date('25-JAN-09') as RelavantDate, 20 as notices from dual
    10  )
    11  select PROPERTY,RELAVANTDATE ,
    12    sum(NOTICES) over (
    13      partition by property
    14      order by RELAVANTDATE
    15      range between current row and interval '30' day following
    16    ) "SUM"
    17  from Test_Data
    18  ;
      PROPERTY RELAVANTD        SUM
         10100 25-jan-07         20
         10100 25-dec-07         15
         10100 02-jan-08         10
         10100 01-dec-08         50
         10100 02-dec-08         40
         10100 31-dec-08         70
         10100 03-jan-09         50
         10100 25-jan-09         20
    8 rows selected.Regards,
    Dima

  • Appleworks does not work with mountain Lion.  What can I use for drawing and painting?

    Appleworks does not work with mountain Lion.  What can I use for drawing and painting?
    MacBook
    Marian

    Please see this article which examines various possible alternatives to AppleWorks:
    http://rfwilmut.net/aw

  • What can be used for replacing SELECT SINGLE *   ?

    What can be used for replacing SELECT SINGLE *  for improving the performance in the following statements?
    SELECT SINGLE * FROM REGUV
       WHERE LAUFD = G_WLAUFD "RUN DATE ,SY-DATUM
         AND LAUFI = P_LAUFI.  "IDENTICATION NO
    SELECT SINGLE * FROM T100
       INTO CORRESPONDING FIELDS OF G_T100_WA
        WHERE SPRSL = G_T_IALLMESS-MSGSPRA
          AND ARBGB = G_T_IALLMESS-MSGID
          AND MSGNR = G_T_IALLMESS-MSGNR.
    SELECT SINGLE * FROM TBTCO
       INTO CORRESPONDING FIELDS OF TBTCO
        WHERE JOBNAME = FS_JOBNAME.

    If you need all the fields and you know that only one record exists then u need to use select single * only. You can improve the performance by specifying key fields in the where clause of select statements. If the structure of the work area or internal table in which you are fetching the data is same as that of the database table then no need to use corresponding fields clause.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • What can i use instead of microsoft word that has the same capabilities for school work etc

    what can i use instead of microsft word that has the same capabilities so i can do school work etc.

    You could use LibreOffice which is a free open source Office clone. The only downside is that by default it ddoesn't save in Office formats, you have to specifically choose that option. GoogleDocs is another free Office like product.

  • What can I use instead of Adobe flash player for my ipad 2?

    What can I use instead of Adobe flash player on my ipad 2?

    IOS device do not support Flash
    However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability

  • Kisight:- If I Don't Have or Want to Use My iSight What Can I Use ?

    kisight:- If I Don't Have or Want to Use My iSight What Can I Use ?
    Or What Cameras are available for Macs ?
    This question used to come up for Macs that did not have Internal Cameras and the User did not have an External iSight.
    Since the advent of Intel Mac and the Internal iSight and OS 10.4.9 (late Tiger) the question has broadened from "What can I use with iChat ?" to "What cameras can I use with My Mac ?" and from there into the current Question this User Tip plans to answer.
    On the whole it is a case of matching a camera for the type of application you are going to use it most with.
    A web cam can be used in iMovie to create Email or Video Blogs although Camcorders do a better job. Camcorders can be used as web cams.
    Camera Types
    These fall into three main categories that themselves have subsets.
    Your choice is going to be influenced by the Applications you want to use it with.
    1) Firewire Cameras (Plug an Play)
    a) The iSight (External) made by Apple and several other similar cameras have mostly disappeared off the market. (Although iSights seem to be still doing well on Ebay - See Version and Mounts).
    b) Firewire Camcorders. These vary as to which apps that work with dues to the different Signal outputs they can do.
    Apple Article TA26556 Highlights some that have issues due to their proprietary DV Format.
    2) USB 1.1 able Cameras. (Not Plug and Play)
    This includes most cameras pre Vista (more on that later)
    Most of these will need a suitable Mac Driver either from the Manufacturer or from one of two Generic sources (macam and IOXeperts). Some manufacturers will include a Mac Driver on the CD that comes with the camera some will supply it as a download from their Site.
    It is worth while saying at this point that iChat will also need this reasonably cheap iUSBCam Utility as well.
    This Utility was originally designed for getting the External iSight to work on computers less than the G3/600Mghz spec for iChat. Then it included the ability to get USB cameras to work with iChat.
    You will need one of these three options listed so far if you are OS 10.4.8 or below or have only USB 1.1 ports/sockets on your Mac.
    3) USB 2.0 Cameras. (Plug and Play in most cases)
    a) Those that are UVC (USB Video Class) Compliant (Also listed as Vista Certified)
    Apple added a UVC driver to the OS at 10.4.9 but your Mac also has to have an USB 2.0 port that you can plug such a camera into (Some keyboard ports are not USB 2.0). This means that the camera is Plug and Play although it may not have all the features it has on a PC
    b) Those that are USB 2.0 but are not Vista Certified/UVC compliant. (You are going to need Mac Drivers again)
    This site about Apple Compatible cameras may be of some help.
    A Note on quality of Pictures.
    Firewire cameras of either sort are best with Camcorders being the best of all. (Generally more pixels delivered faster to your Computer)
    The Newer USB 2.0 cameras are tending to exceed the 640 X 480 pixels that earlier USB1.1 cameras use with some currently giving 1.3Mp resolutions. It should be noted though that not all applications will use this format.
    Look closely at the maximum Frame rate (fps) a camera can produce. You may not get it is every applications but something that starts with a max of 15fps is going to give you no leeway.
    Applications
    You may get some more insight into what to go for by asking in one of these forums:-
    iSight Discussions,
    iChat AV Discussions for iChat 3 and iChat 2 and Earlier,
    iChat and iChat Sharing (in Leopard)
    and iMovie Discussions
    Please Note:- some of these are Category Links and you have to select a forum within the list at the top of the linked page.
    <hr>
    Versions and Mounts Which Version Am I Buying ?
    First off I will not say so much on Buying a second hand External iSight other than making sure you use a reputable Selling site or an Individual Seller so that you have recourse if the device turns out to be faulty. Try and get to see the camera working if you can, preferably seeing it plugged in and working or by iChat and seeing the Pic it produces (Get the person to show you live Screen shots (or Screen Share in Leopard/iChat 4) of System Preferences > Sound > Input as the iSight will be listed)
    What I will list here is info about the different versions.
    There were three versions before the External iSight was discontinued. There is little outward differences as the main change is the mounts that are included with each version. They all function the same way.
    The versions are distinguished by letters (Revision A, B or C) in addition to the base part number and an added slash (M8817LL/).The Last model included different mounts for Laptops, Desktop Stand, Magnetic mount and one for a Flat Panel iMac (the Lampshade one). See pictures in this PDF on page 6.
    Apple no Longer sell the External iSight or the Apple M9314G/B iSight Accessory Kit either but you may find it at other places as well if the mount you want/need does not come with the camera. Pics of Box and Contents
    It appears that individual iSight mounts and other items can be purchased though this iSight Service FAQ page
    Remember the youngest External iSight is likely to be at least 4 years old. Current anecdotal information suggests the cost of an Apple Repair to a faulty External iSight exceeds the cost of a USB Replacement (Or the value in real terms, of the camera itself - although higher prices seem to be quoted on Ebay and Amazon)
    First Draft
    10:08 PM Sunday; May 17, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

    Thanks Nubz
    I will review further an correct myself.
    The last reads the way I meant as in physically getting to see it.
    I am not sure you are reading it the same way.
    As a consequence your suggestion seems a bit ambiguous to my mind.
    Thanks for the input. I will read a digest context a bit more and see if I can rephrase.
    8:12 PM Thursday; May 21, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to th

    When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to that. Then I received an email from Telus saying I had used my 3G instead of Wi-Fi  using 75% of my data. How can this happen when I'm on Wi-Fi at home? If it switched to 3G for some reason I should have been disconnected and not just transferred to 3G network using up my data. What is the fix for this??

    It doesn't have to be that complicated, Verizon iPhones come unlocked, just tell VZ you're going on Holiday/Traveling and suspend the service, no need to pay for service if you're not going to be using it. Pick up local SIM cards in the countries of your choosing, pop them in, re-activate iMessage and you're set!
    I recommend getting a SIM card from the Three network in England, they have great EU roaming rates and free like-home roaming in Italy.
    Set your phone's region to match the country you're in, it'll save from some headaches when calling local/international numbers.
    To answer your questions,
    1. If you choose not to have a local SIM card, it is good to keep your phone in Airplane mode to save battery.
    2. Make sure the two iPhones have different names to reduce sync/restore issues.
    3. If husband has an iPhone also, you can chat with iMessage/Facetime, just give him heads up about the new number you'll have. Otherwise, use Whatsapp if he's got an Android. You can activate Whatsapp with your American number or the international number if you choose to get a SIM in Europe.
    Also, Get the MagicJack app and/or Google Hangouts, both of those apps provide you with free calling to the USA and Canada using any internet connection. Google Voice is another good way to SMS across the seas.
    Let me know if you need any more tips for iPhoning across the pond.

  • Can i use exfat format for my external western digital harddrive so that i can use in both windows and mac?

    can i use exfat format for my external western digital harddrive so that i can use in both windows and mac?
    thanks in advance.
    <Email Edited by Host>

    Yes you can. OS X version 10.6.6 and later can read/write exFAT. Windows XP SP3 and later can read/write exFAT. As posted by Radiation Mac, you can do it from Windows or from OS X.
    However, I've noticed Windows to be somewhat picky about drives formatted on a Mac. So, if Windows can't read it, try formatting it on the Windows machine, and see how it works on the Mac.
    Posting your email on a public forum isn't a very good idea. It will likely be harvested by spambots and used as the reply-to address for spam it sends out.
    Also, most people are not going to send an email to you for similar reasons. Nobody knows who you are, so sending an email to you could be giving a spammer a valid email address.
    The forum is set up to automatically notify you when there are responses to your questions. When you get one, you would log back into this forum and check to see what the answer was.

  • Can I use "dvt" function for customizing the chart format in OBIEE 11g?

    Hi,
    ".pcxml" file cannot be found in OBIEE11g. However, can I use "dvt" function for customization? If yes, how?
    Reference for dvt function:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12418/tagdoc/dvt_pieGraph.html

    Hello,
    I know it's possible, because i already found some blogs about changing the chart colors and turning off the animated graphs.
    <Graph visualEffects="NONE" animationDuration="0">
    But we want to alter more chart options, like make a bar chart default stacked. In 10G this was possible. I think this is also
    possible in 11G through the dvt-graph-skin.xml, but what i want to know is, is there a document that explains which tags you could use in this file.
    It would be great to get some help on this.

Maybe you are looking for

  • Update with a select statement

    hi experts, I need some help again.. :) I have an insert query here with a select statement.. Juz wondering how to do it in update? insert into newsmail_recipient         (IP_RECIPIENTID,NF_LISTID,NF_STATUSID,D_CREATED,D_MODIFIED,C_NAME,C_EMAIL,USER_

  • Thinking of buying Satellite C855-226 - need more info

    Hi all, This is my 1st msg here :) I am thinking of buying C855-226 for 529 and then Saturn offers C855-2EV for 477, which very cheap and ticks most of the boxes for me which are : price, processor, hd capacity, max ram, the thing that I dont liek is

  • JDBC 4.0 Public Review

    The JDBC 4.0 Public Review Draft specification is now available on the JCP web site. http://jcp.org/aboutJava/communityprocess/pr/jsr221/index.html This is the JDBC spec that will be included in Java 6.0 so this is what you'll be living with for the

  • Migration Mac Book Pro

    I have a Mac Book Pro using Boot Camp and Windows 7 (OS X 10.6.3). Is it possible to migrate the machine with the PC partition as is to a new Mac Book?

  • Solution for my Ipod?!

    With humble request, can anyone please help me in finding my Ipod driver. The model no. is A1137. The main problem with my Ipod is that I cannot copy/download any song from my pc(Windows Vista). I have iTtunes but it could not find my Ipod connection