Reply to Re: Bizarre slow query problem (again)

Your name:

Reply:


Posted by wizofaus on 01/15/07 21:36

JXStern wrote:
> On 13 Jan 2007 18:15:11 -0800, wizofaus@hotmail.com wrote:
>
> >Well I found another solution - reindex the table.
> >
> >I ran
> >
> >dbcc dbreindex('mytable', ' ', 90) on the initial database, and now the
> >problem is gone away. My main concern was that if we did see this
> >problem occuring in productoion databases, how could we fix it, other
> >than changing the code, and at least now I have such a solution, and
> >it's a bit less drastic than exporting and re-importing all the data
> >(which potentially could have taken hours).
>
> How large is your table?

'bout 2 million records, 9 columns.
>
> Maybe a simple "update statistics" would also fix things?
>
Quite possibly - unfortunately I can't re-create the problem now to
test it!
Will be the first thing I try if I see the same problem again, though.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация