Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Oracle and Dotnet
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jim Kennedy  
View profile  
 More options Jun 2 2005, 8:45 pm
Newsgroups: comp.databases.oracle.server
From: "Jim Kennedy" <kennedy-downwithspammersfam...@attbi.net>
Date: Thu, 2 Jun 2005 17:45:00 -0700
Subject: Re: Oracle and Dotnet

"Larry" <la...@larry.com> wrote in message

news:vmIne.3966$x96.1744@attbi_s72...

> Hello All:

> I am looking for an "opinion" by Oracle Professionals as to whether
> Oracle server 10G can be expected to perform properly using the ODP.net
> as provided by the Oracle Corporation.

> Our company has contracted out Oracle DBA's.  They have set up a 10G
> development server for me to use.  I am using ODP.net from Oracle and
> Csharp.  I have a single table, with a single field (varchar(20)), no
> indexes at all.

> Running my app from the same machine that the server is located on, I am
> inserting a whopping 35 records per second.

> The exact same program (except for connection string and changing
> 'Oracle' to 'MySQL') gets me an insert rate of 7250 in the MySQL database.

> Obviously, something is wrong.  Oracle didn't become the industry leader
> with that type of performance. Our Oracle DBA's are claiming the problem
> is DOTNET.  I don't buy that, especially since I am using a provider
> directly from the Oracle Corporation.

> I need an opinion on the following....

> SHOULD I EXPECT HIGH PERFORMANCE FROM ODP.NET?????????????

Too many variables to know what the problem is.  Are you using bind
variables? (probably not)  Are you using the array interface? (probably not)
Are you keeping the connection open or closing it with each insert?  Are you
keeping the cursor open and rebinding the bind variables and executing?
(probably not)  You are also probably committing after each insert. (don't
unless the transaction is that)

My guess is that you are constructing a string to do the insert and opening
and closing the connection with each insert. (which would cause a lot of CPU
and really slow things down.)

So I think you can get high performance from odd.net and I think you can get
excellent scalability from odd.net.  However, that assumes the application
is written efficiently and takes advantage of Oracle.

So what is wrong with your example?  Don't know, not enough information.
Try the same thing by using slider.  I bet you will be able to import a lot
more than 35 records a second into that table via sqlloader.  That would
give you an idea of probably how fast odp.net would be if written
effeciently. (estimate of top throughput in your environment.)

Jim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.