SQL 2000: query optimizer does not use parallelism for table variables

The SQL 2000 query optimizer does not use parallelism for queries contain table variables. It is really bad in SMP box. Well, since the SQL 2000 collects statistics for temporary tables, parallelism will be use.

I guess there is no general rule on using temporary tables and table variables.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s