production error

production error

am 28.01.2008 18:21:34 von Mark Steben

This is a multi-part message in MIME format.

------=_NextPart_000_0070_01C861A8.52975AB0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi folks, getting this error in production:



unexpected chunk number 0 (expected 1) for toast value 34761



Any ideas on how to approach this?



Two of the tables in the query have toast tables, one does not.



Thanks,



Mark Steben

Senior Database Administrator
@utoRevenueT
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office
413-243-4809 Corporate Fax

msteben @autorevenue.com

Visit our new website at
www.autorevenue.com



IMPORTANT: The information contained in this e-mail message is confidential
and is intended only for the named addressee(s). If the reader of this
e-mail message is not the intended recipient (or the individual responsible
for the delivery of this e-mail message to the intended recipient), please
be advised that any re-use, dissemination, distribution or copying of this
e-mail message is prohibited. If you have received this e-mail message in
error, please reply to the sender that you have received this e-mail message
in error and then delete it. Thank you.

Come Visit Us at NADA! Booth #5735N
February 9th - February 12th
Moscone Center in San Francisco, CA




------=_NextPart_000_0070_01C861A8.52975AB0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">

namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PostalCode"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"State"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"Street"/>
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"address"/>









style=3D'font-size:
12.0pt'>Hi folks, getting this error in =
production:



style=3D'font-size:
12.0pt'> 



style=3D'font-size:
12.0pt'>unexpected chunk number 0 (expected 1) for toast value =
34761



style=3D'font-size:
12.0pt'> 



style=3D'font-size:
12.0pt'>Any ideas on how to approach this?



style=3D'font-size:
12.0pt'> 



style=3D'font-size:
12.0pt'>Two of the tables in the query have toast tables, one does =
not.



style=3D'font-size:
12.0pt'> 



style=3D'font-size:
12.0pt'>Thanks,



style=3D'font-size:
12.0pt'> 





style=3D'font-size:
13.5pt'>Mark Steben



Roman"> style=3D'font-size:13.5pt;color:black'>Senior Database Administrator

style=3D'font-size:18.0pt;
color:maroon'>@utoRevenue™
color=3Dmaroon> style=3D'font-size:15.0pt;color:maroon'>

A Dominion =
Enterprises
Company

480 =
Pleasant Street

Suite =
B200


Lee, w:st=3D"on">MA
01238


413-243-4800 Home Office 

413-243-4809 Corporate Fax





style=3D'font-size:
13.5pt'>msteben
style=3D'font-size:10.5pt'> href=3D"blocked::mailto:name@autorevenue.com"
title=3D"blocked::mailto:name@autorevenue.com"> color=3Dblack
title=3D"blocked::mailto:name@autorevenue.com"> style=3D'font-size:13.5pt;
color:black'> title=3D"blocked::mailto:name@autorevenue.com">@autorevenue. com ont>




Visit our =
new website
at

href=3D"blocked::http://www.autorevenue.com/"
title=3D"blocked::http://www.autorevenue.com/"> color=3Dmaroon
title=3D"blocked::http://www.autorevenue.com/"> style=3D'font-size:13.5pt;
color:maroon'>www.autorevenue.com
:p>









style=3D'font-size:
12.0pt'> 







Roman"> style=3D'font-size:10.0pt;color:maroon'>IMPORTANT: The information =
contained in
this e-mail message is confidential and is intended only for the named
addressee(s). If the reader of this e-mail message is not the intended
recipient (or the individual responsible for the delivery of this e-mail
message to the intended recipient), please be advised that any re-use,
dissemination, distribution or copying of this e-mail message is =
prohibited.
 If you have received this e-mail message in error, please reply to =
the
sender that you have received this e-mail message in error and then =
delete it.
 Thank you.





Roman"> style=3D'font-size:18.0pt;color:maroon'>Come Visit Us at NADA! =
 Booth #5735N


February 9th - February 12th

Moscone Center in San =
Francisco
,
CA
size=3D2
color=3Dmaroon> style=3D'font-size:10.0pt;color:maroon'>







style=3D'font-size:
12.0pt'> 









------=_NextPart_000_0070_01C861A8.52975AB0--

Re: production error

am 28.01.2008 21:43:36 von Tom Lane

"Mark Steben" writes:
> Hi folks, getting this error in production:
> unexpected chunk number 0 (expected 1) for toast value 34761

What PG version is that?

It looks like it might be an index-corruption issue, in which case
reindexing the toast table might help.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match