Subject | Re: Slow execution of first query |
---|---|
Author | Nico Callewaert |
Post date | 2005-11-24T10:56:31Z |
Thanks to everybody for the replies !
Nico
--- In firebird-support@yahoogroups.com, John vd Waeter <john@j...>
wrote:
pport&w3=Compaq+computer+technical+support&w4=Compaq+technical+support
&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c
=6&s=196&.sig=-XIO8GxY6hqd3NaD5WSEyw>
hnical+support&w3=Compaq+computer+technical+support&w4=Compaq+technica
l+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+
support&c=6&s=196&.sig=B29J78SYXnNTjjMFBMznqA>
ter+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+t
echnical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+tec
hnical+support&c=6&s=196&.sig=7_je1A94xs82CFXUjEqA6g>
ical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+
support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+su
pport&c=6&s=196&.sig=2zMAuRCo5cJrVBr1Bxa3_w>
ter+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+t
echnical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+tec
hnical+support&c=6&s=196&.sig=_ytYU7aXb57AVaeUfmvLcA>
chnical+support&w3=Compaq+computer+technical+support&w4=Compaq+technic
al+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical
+support&c=6&s=196&.sig=4hRo6NXYavRAbTkaYec5Lw>
Nico
--- In firebird-support@yahoogroups.com, John vd Waeter <john@j...>
wrote:
>read a
> Hi,
>
> Had the same thing using IBObjects. It turned out the connetion
> lot of metadata from the server the first time the applicationstarted.
>on
> IBObjects can use a cachedir to cache the meta-data. Switching it
> really improved startup speed, but you have to be aware to refreshthat
> cache as soon as metadata changes....using
>
> Don't know if FIBPlus can cache metadata...
>
> hth!
> John
>
> Nico Callewaert wrote:
> > Hi,
> >
> > Thanks for the info. The Firebird build is 1.5.2.4731. It is
> > running local on a Windows XP machine. DB connectivity is done
> > FIBPlus. The extension is FDB and no shadowing.opened.
> > The delay is happening only when the first time the form is
> > The connection to the database is established already at thatpoint.
> > I will try the hyperthreading. Anything I can check still ?wrote:
> >
> > Thanks a lot,
> >
> > Nico
> >
> > --- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...>
> > >computer
> > > --- In firebird-support@yahoogroups.com, "Nico Callewaert"
> > <ncw@p...>
> > > wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I'm having a performance problem. After powering up the
> > and Iseconds
> > > > execute a certain query the first time, it takes about 30
> > toonly
> > > > have the result set. When I open the query again, it takes
> > 3this
> > > > seconds. After searching the newsgroups, I've found that
> > > > performance issue is related to loading of metadata,triggers,
> > SP,and OS
> > > > etc...
> > >
> > > Hmmm, some information on the Firebird version, server type
> > > version may come in handy.so,
> > >
> > > Now, here are a couple of things to check.
> > >
> > > Assuming windows OS of some breed.
> > >
> > > 1. Does your database have a .gdb extension? If so this is your
> > > problem. Rename it to .fdb.
> > >
> > > 2. Do you have volume shadowing enabled on Win2003 server? If
> > youshadowed.
> > > will need to move the database to a volume that is not
> > >not
> > > 3. There was at one stage an issue with Hyperthreading. I am
> > surelong
> > > when or if it was resolved, but I haven't come across it in a
> > > time so I suspect it has. But if all else fails, switch offload
> > > hyperthreading.
> > >
> > > The first time a query is executed, obviously it will need to
> > > various pieces of information that it may not need to do inthe
> > subsequent
> > > queries, but this will not take 30 seconds, maybe 1 or 2 for
> > firstit
> > > connection.
> > >
> > > When is the delay? Is it really running the first query, or is
> > > establishing the first connection or transaction etc.way I
> > >
> > > Adam
> > >
> > > > This problem only occurs after rebooting. So, is there a
> > cant=ms&k=Technical+support&w1=Technical+support&w2=Computer+technical+su
> > > > force to load all of that stuff at startup time of the
> > application ?
> > > > So, I can have a good speed all the time.
> > > >
> > > > Thanks a lot in advance,
> > > >
> > > > Nico Callewaert
> > > >
> > >
> >
> >
> >
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://firebird.sourceforge.net and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> >
> >
> >
> > SPONSORED LINKS
> > Technical support
> > <http://groups.yahoo.com/gads?
pport&w3=Compaq+computer+technical+support&w4=Compaq+technical+support
&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c
=6&s=196&.sig=-XIO8GxY6hqd3NaD5WSEyw>
> > Computer technical supportt=ms&k=Computer+technical+support&w1=Technical+support&w2=Computer+tec
> > <http://groups.yahoo.com/gads?
hnical+support&w3=Compaq+computer+technical+support&w4=Compaq+technica
l+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+
support&c=6&s=196&.sig=B29J78SYXnNTjjMFBMznqA>
> > Compaq computer technical supportt=ms&k=Compaq+computer+technical+support&w1=Technical+support&w2=Compu
> > <http://groups.yahoo.com/gads?
ter+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+t
echnical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+tec
hnical+support&c=6&s=196&.sig=7_je1A94xs82CFXUjEqA6g>
> >t=ms&k=Compaq+technical+support&w1=Technical+support&w2=Computer+techn
> > Compaq technical support
> > <http://groups.yahoo.com/gads?
ical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+
support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+su
pport&c=6&s=196&.sig=2zMAuRCo5cJrVBr1Bxa3_w>
> > Hewlett packard technical supportt=ms&k=Hewlett+packard+technical+support&w1=Technical+support&w2=Compu
> > <http://groups.yahoo.com/gads?
ter+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+t
echnical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+tec
hnical+support&c=6&s=196&.sig=_ytYU7aXb57AVaeUfmvLcA>
> > Microsoft technical supportt=ms&k=Microsoft+technical+support&w1=Technical+support&w2=Computer+te
> > <http://groups.yahoo.com/gads?
chnical+support&w3=Compaq+computer+technical+support&w4=Compaq+technic
al+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical
+support&c=6&s=196&.sig=4hRo6NXYavRAbTkaYec5Lw>
> >------
> >
> >
> > ------------------------------------------------------------------
> > YAHOO! GROUPS LINKSweb.
> >
> > * Visit your group "firebird-support
> > <http://groups.yahoo.com/group/firebird-support>" on the
> >subject=Unsubscribe>
> > * To unsubscribe from this group, send an email to:
> > firebird-support-unsubscribe@yahoogroups.com
> > <mailto:firebird-support-unsubscribe@yahoogroups.com?
> >------
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------------------------------------------
> >
>