dbTalk Databases Forums  

[Info-Ingres] slow terminal monitor startup

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] slow terminal monitor startup in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin Bowes
 
Posts: n/a

Default [Info-Ingres] slow terminal monitor startup - 03-21-2011 , 09:25 AM






I have an installation in which terminal monitor has a distinct pause of about 12seconds between starting and displaying a prompt.

I have run a sysmod on iidbdb.

I have confirmed there is no page overflow on iiprotect or iiqrytext.

strace -f sql iidbdb stalls at the poll...

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(50677), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 2147483607) = 1
getpeername(3, {sa_family=AF_INET, sin_port=htons(50677), sin_addr=inet_addr("127.0.0.1")}, [5761845549825261584]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 2147483597) = 1
write(3, "\0\0\0\0l\0\0\0l\0\0\0QRCG\0\0\0\0atlantic.cts".. ., 116) = 116
write(3, "\0\0\0\0\210\0\0\0<\0\0\0\6\0\0\0PACG\0\0\0\0C\0\ 0\0\0"..., 144) = 144
poll(

Does anyone know what its polling for and why it may be waiting?

Martin Bowes

Reply With Quote
  #2  
Old   
Ingres Forums
 
Posts: n/a

Default Re: [Info-Ingres] slow terminal monitor startup - 03-29-2011 , 06:51 AM






Do you have set trace point qe90?

I had to switch that off on our Ingres 10 testing because of slowness.


--
jruffer

Reply With Quote
  #3  
Old   
Roy Hann
 
Posts: n/a

Default Re: [Info-Ingres] slow terminal monitor startup - 03-29-2011 , 07:29 AM



Ingres Forums wrote:

Quote:
Do you have set trace point qe90?

I had to switch that off on our Ingres 10 testing because of slowness.
QE90 is known to slow queries; you shouldn't expect to use it in
production unless you have power to burn.

I'd use something like trace point SC930 to discover where the
performance problems are, then maybe look at the query plans, and then
depending on those, use QE90 to see if the actual costs diverge
wildly from the estimates.

--
Roy

UK Ingres User Association Conference 2011 will be on Tuesday June 7 2011.
Register at http://www.regonline.co.uk/ukiua2011

Reply With Quote
  #4  
Old   
Karl Schendel
 
Posts: n/a

Default Re: [Info-Ingres] slow terminal monitor startup - 03-29-2011 , 07:53 AM



On Mar 29, 2011, at 8:29 AM, Roy Hann wrote:

Quote:
Ingres Forums wrote:

Do you have set trace point qe90?

I had to switch that off on our Ingres 10 testing because of slowness.

QE90 is known to slow queries; you shouldn't expect to use it in
production unless you have power to burn.

Indeed. QE90 has to call the OS for the cpu time at entry and
exit of every query plan node, for every row. It's very expensive.

I've long meant to do a QE90 variant that only tracks rowcounts
(and maybe DIO) without doing the full time accounting. Sounds
like another sprint project!

Karl

Reply With Quote
  #5  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] slow terminal monitor startup - 03-29-2011 , 07:59 AM



Hi J,

No, I only use qe90 for specific query analysis.

In the end we simply stopped and restarted the installation and for whatever reason the problem has dissapeared.

Marty

-----Original Message-----
From: Ingres Forums [mailto:info-ingres (AT) kettleriverconsulting (DOT) com]
Sent: 29 March 2011 12:52
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: Re: [Info-Ingres] slow terminal monitor startup


Do you have set trace point qe90?

I had to switch that off on our Ingres 10 testing because of slowness.


--
jruffer


_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.