pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedWhat does this mean?
4+ messages / 3 participants
[nested] [flat]
* What does this mean?
@ 2008-07-10 13:31 Paul Tomblin <ptomblin@gmail.com>
2008-07-10 13:50 ` Re: What does this mean? Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 4+ messages in thread
From: Paul Tomblin @ 2008-07-10 13:31 UTC (permalink / raw)
To: pgsql-jdbc
What does it mean when your process is stuck in the following:
"AWT-EventQueue-0" prio=10 tid=0x09821400 nid=0x1370 runnable
[0xb51b5000..0xb51b70b0]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
- locked <0x8160ffa8> (a java.io.BufferedInputStream)
at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:256)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1163)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
- locked <0x8160fd50> (a org.postgresql.core.v3.QueryExecutorImpl)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:258)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.postgresql.ds.common.PooledConnectionImpl$StatementHandler.invoke(PooledConnectionImpl.java:474)
at $Proxy1.executeQuery(Unknown Source)
at com.kodak.ei.assetmanager.database.DBVenueID.getVenueID(DBVenueID.java:153)
- locked <0x90309d40> (a java.lang.Class for
com.kodak.ei.assetmanager.database.DBVenueID)
at com.kodak.ei.assetmanager.database.DBPerformance.parseResultSet(DBPerformance.java:161)
at com.kodak.ei.assetmanager.database.DBPerformance.getPerformancesForVenue(DBPerformance.java:346)
- locked <0x90333040> (a java.lang.Class for
com.kodak.ei.assetmanager.database.DBPerformance)
at kodak.dcms.DBShowList.getScheduleDay(DBShowList.java:204)
at kodak.dcms.DBScreenDay.reloadFromDB(DBScreenDay.java:1202)
- locked <0x80140178> (a kodak.dcms.DBScreenDay)
at kodak.dcms.DBScreenDay.<init>(DBScreenDay.java:118)
at kodak.dcms.DBTheatreDayCache.get(DBTheatreDayCache.java:139)
at kodak.cms.scheduler.TheatreDay.getDBScreenDay(TheatreDay.java:1713)
at kodak.cms.scheduler.ScreenDay.loadSchedule(ScreenDay.java:308)
at kodak.cms.scheduler.TheatreDay.loadSchedule(TheatreDay.java:716)
at kodak.cms.scheduler.TheatreDay.dateChanged(TheatreDay.java:685)
at kodak.cms.scheduler.TheatreDay$12.propertyChange(TheatreDay.java:1180)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
--
House: "Because it doesn't hurt here. Because I don't want to be in
pain, I don't want to be miserable."
Amber: "Well...You can't always get what you want."
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: What does this mean?
2008-07-10 13:31 What does this mean? Paul Tomblin <ptomblin@gmail.com>
@ 2008-07-10 13:50 ` Oliver Jowett <oliver@opencloud.com>
2008-07-10 14:13 ` Re: What does this mean? Paul Tomblin <ptomblin@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Oliver Jowett @ 2008-07-10 13:50 UTC (permalink / raw)
To: Paul Tomblin <ptomblin@gmail.com>; +Cc: pgsql-jdbc
Paul Tomblin wrote:
> What does it mean when your process is stuck in the following:
It's waiting for a query result.
-O
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: What does this mean?
2008-07-10 13:31 What does this mean? Paul Tomblin <ptomblin@gmail.com>
2008-07-10 13:50 ` Re: What does this mean? Oliver Jowett <oliver@opencloud.com>
@ 2008-07-10 14:13 ` Paul Tomblin <ptomblin@gmail.com>
2008-07-11 06:35 ` Re: What does this mean? Albe Laurenz <laurenz.albe@wien.gv.at>
0 siblings, 1 reply; 4+ messages in thread
From: Paul Tomblin @ 2008-07-10 14:13 UTC (permalink / raw)
To: pgsql-jdbc
On Thu, Jul 10, 2008 at 9:50 AM, Oliver Jowett <oliver@opencloud.com> wrote:
> Paul Tomblin wrote:
>>
>> What does it mean when your process is stuck in the following:
>
> It's waiting for a query result.
Yeah, but this is a very small query on a very small table. The query
in question is
"SELECT " + columns +
"FROM venue " +
"WHERE venueid = ?");
where the table "venue" has 15 rows in it, and it's indexed on venueid.
Hmmm. Looks like something isn't getting committed before the nightly vacuum.
--
House: "Because it doesn't hurt here. Because I don't want to be in
pain, I don't want to be miserable."
Amber: "Well...You can't always get what you want."
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: What does this mean?
2008-07-10 13:31 What does this mean? Paul Tomblin <ptomblin@gmail.com>
2008-07-10 13:50 ` Re: What does this mean? Oliver Jowett <oliver@opencloud.com>
2008-07-10 14:13 ` Re: What does this mean? Paul Tomblin <ptomblin@gmail.com>
@ 2008-07-11 06:35 ` Albe Laurenz <laurenz.albe@wien.gv.at>
0 siblings, 0 replies; 4+ messages in thread
From: Albe Laurenz @ 2008-07-11 06:35 UTC (permalink / raw)
To: Paul Tomblin *EXTERN* <ptomblin@gmail.com>; pgsql-jdbc
Paul Tomblin wrote:
> >> What does it mean when your process is stuck in the following:
> >
> > It's waiting for a query result.
>
> Yeah, but this is a very small query on a very small table. The query
> in question is
>
> "SELECT " + columns +
> "FROM venue " +
> "WHERE venueid = ?");
>
> where the table "venue" has 15 rows in it, and it's indexed
> on venueid.
>
> Hmmm. Looks like something isn't getting committed before
> the nightly vacuum.
I'd trace on the server to see what's going on.
What happens if you run the query in psql?
If you thing that there is a problem with VACUUM, try to
run "VACUUM VERBOSE venue" in psql and see what it says.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-07-11 06:35 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-07-10 13:31 What does this mean? Paul Tomblin <ptomblin@gmail.com>
2008-07-10 13:50 ` Oliver Jowett <oliver@opencloud.com>
2008-07-10 14:13 ` Paul Tomblin <ptomblin@gmail.com>
2008-07-11 06:35 ` Albe Laurenz <laurenz.albe@wien.gv.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox