Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Why is 9i pausing?

 
   Database Forums (Home) -> Oracle RSS
Next:  NS API Question  
Author Message
Tarby777

External


Since: Jul 22, 2005
Posts: 8



(Msg. 1) Posted: Fri Aug 05, 2005 6:53 am
Post subject: Why is 9i pausing?
Archived from groups: comp>databases>oracle>misc (more info?)

Hi all,

I'm experiencing an intermittent performance problem reading and
writing a 9i database from Sqlplus. I'm running Sqlplus on my laptop
and the DB is on a Sun box in the same office. It seems that if my
connection to the DB is inactive for a period of time, there is usually
a really bad lag when next I try to read or write the DB. If I do a few
things in quick succession, they all seem to execute reasonably
quickly. Whether a period of inactivity forces Oracle to go through
some sort of extended handshaking when activity picks up again, I don't
know, but that's what it feels like to me.

In my read tests, the data - once it starts to stream - comes back at a
decent rate, but there's sometimes a delay of upto a minute before it
starts to send. I got a similar result with write tests: I created 1000
rows in next to no time but when I tried it a second time, there was a
pause of about a minute before it started, then it created the 1000
rows pretty quickly.

FWIW the Sun box has 1.5GB memory, is serving a total of three 9i
databases, and is inactive apart from the tests I'm doing. My database
is running on default instance parameters (it was created as a "new
database" in DBCA, and I just accepted all the defaults).

I'm stuck! Any ideas what is causing the pause?

TIA
Tarby

 >> Stay informed about: Why is 9i pausing? 
Back to top
Login to vote
Tarby777

External


Since: Jul 22, 2005
Posts: 8



(Msg. 2) Posted: Fri Aug 05, 2005 7:44 am
Post subject: Re: Why is 9i pausing? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sybrand,

Fine - I'm sure that someone else will be prepared to at least give me
some pointers. I'm not planning paying any consultants to look at the
problem, so folks needn't feel guilty about helping me out...

For anyone who *is* willing to offer advice: according to Enterprise
Mgr Console, the total SGA size is 130MB in each DB, so perhaps the
swapping isn't that big an issue. There is some swapping, sure, but the
Sun box isn't permanently on it's knees - the problem is intermittent
and SAR reports that the box is pretty much idle. Sometimes data is
written & read at a perfectly acceptable speed, other times there's the
pause I referred to before Oracle does anything, and this pause often
comes when I execute a statement after a period of inactivity.

TIA
Tarby

 >> Stay informed about: Why is 9i pausing? 
Back to top
Login to vote
Sybrand Bakker

External


Since: Feb 16, 2005
Posts: 199



(Msg. 3) Posted: Fri Aug 05, 2005 10:55 am
Post subject: Re: Why is 9i pausing? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 5 Aug 2005 06:53:47 -0700, "Tarby777"
wrote:

>Hi all,
>
>I'm experiencing an intermittent performance problem reading and
>writing a 9i database from Sqlplus. I'm running Sqlplus on my laptop
>and the DB is on a Sun box in the same office. It seems that if my
>connection to the DB is inactive for a period of time, there is usually
>a really bad lag when next I try to read or write the DB. If I do a few
>things in quick succession, they all seem to execute reasonably
>quickly. Whether a period of inactivity forces Oracle to go through
>some sort of extended handshaking when activity picks up again, I don't
>know, but that's what it feels like to me.
>
>In my read tests, the data - once it starts to stream - comes back at a
>decent rate, but there's sometimes a delay of upto a minute before it
>starts to send. I got a similar result with write tests: I created 1000
>rows in next to no time but when I tried it a second time, there was a
>pause of about a minute before it started, then it created the 1000
>rows pretty quickly.
>
>FWIW the Sun box has 1.5GB memory, is serving a total of three 9i
>databases, and is inactive apart from the tests I'm doing. My database
>is running on default instance parameters (it was created as a "new
>database" in DBCA, and I just accepted all the defaults).
>
>I'm stuck! Any ideas what is causing the pause?
>
>TIA
>Tarby

3 instances with default parameters on a system with only 1.5G RAM,
where the default SGA is some 300 to 400 M probably means a system
swapping like hell.
Then no parameters have been tuned, and the acting DBA (you) has
absolutely zero Oracle experience.
Frankly this question is too broad, and too vague, and it requires
investigation, that you can't do because you have no Oracle
experience. So someone here would need to take you by the hand etc,
etc, etc
At the end of it, that person has spent way too much time for free,
and at the same time he has ruined the consultancy market, by doing
this for free.


--
Sybrand Bakker, Senior Oracle DBA
 >> Stay informed about: Why is 9i pausing? 
Back to top
Login to vote
Tarby777

External


Since: Jul 22, 2005
Posts: 8



(Msg. 4) Posted: Thu Aug 11, 2005 7:35 am
Post subject: Re: Why is 9i pausing? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi all,

Thanks for your advice, and sorry for the delay in replying. I've been
unable to reproduce the problem since the database server box had some
extra memory fitted, so it looks like that was the problem. TOP is
reporting that it has nearly 200MB free real memory now and is not
using all its swap space.

Thanks again for the advice...

Tarby
 >> Stay informed about: Why is 9i pausing? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Oracle view question - Hi, The source table has a column which is varchar2(100). If I create a view new_view on the column as select substr(column_name, 1, 20) new_col from table, then "desc new_view" command shows size of new_col as 60 i.e. 3 times the intended siz...

Trigger Problem updating same table - I have a trigger which I want to update certain colums of the row being updated based on data entered into the first column. The table is being updated from an external datasource using HS. Here is my trigger: CREATE OR REPLACE TRIGGER..

Q:Converting Forms to J2EE - Hi' Have anyone tried to use any of the conversion utilities on the market? - would you like to share your experiences? Rgds, Henrik

how: 3 blocks (1:many:many) using only 1 database source - Hi everyone! I'm working on this Forms program with the following properties: + it has 3 blocks, all using the same database table with this relationship: 1 block - 2 block : 1 is to many 2 block to 3 block : many is to many. What is the..

Oracle groups - Hi all, could You pls help me with one select? I can't find how to get select of all groups for specific user with specify are following roles Defoult or not for example: Role1 Default Role2 Default Role3 Non default... I can't find which table contain...
   Database Forums (Home) -> Oracle All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]