Viewing 15 posts - 2,881 through 2,895 (of 5,841 total)
Perry Whittle (6/24/2012)
whichever way you look at it your disk config is limiting, as is the RAM capacity.
Agreed Perry.
Personally with that config I would go with 2-disk RAID1 for C...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 25, 2012 at 7:33 am
Sean Lange (6/22/2012)
TheSQLGuru (6/22/2012)
Eugene Elutin (6/21/2012)
I cannot understand why would you need dynamic sql for statements there.
Why not to have the same stored procedures in every database and call them...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 22, 2012 at 12:06 pm
seems kinda unusual to me to have a large "fact table" used so heavily for "singleton lookups", but as others have suggested proper indexing is what is needed here. ...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 22, 2012 at 8:59 am
Eugene Elutin (6/21/2012)
I cannot understand why would you need dynamic sql for statements there.
Why not to have the same stored procedures in every database and call them dynamic sql. For...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 22, 2012 at 8:54 am
DLathrop (6/20/2012)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2012 at 9:06 pm
Seems many of the posters here are missing a key phrase in the OP: "constantly refreshed table". SELECT-only solutions are thus pointless from what I understand. There...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2012 at 12:40 pm
rarara (6/19/2012)
If this is my table:
ID Date Description
--------------------------------
221 1/11/12 09:00 Note1
222 1/11/12 09:02 Note2
225 1/11/12 09:08 Note3
678 1/11/12 10:00 Note4
898 1/11/12 10:33 Note5
How do I cross-reference...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2012 at 7:57 am
You bring up a good point Jeff: if you are profiling UDF-using queries, make sure SET STATISTICS IO is OFF as well as SHOW ACTUAL EXECUTION PLAN to avoid seeing...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 8:52 pm
I wasn't aware that this bug hits on a restart of a non-AlwaysOn sql server! I wonder what happens if the ~1000 bump up blows you past a datatype...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 1:58 pm
chris-320654 (6/19/2012)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 1:19 pm
do you have always on in play here?
what is exact table definition?
are you doing any rollbacks?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 12:58 pm
Sachin Nandanwar (6/19/2012)
TheSQLGuru (6/19/2012)
We cannot tell you which of these is best for your environment. LOTS of things come into play such as memory usage, latching, locking, CPU use,...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 10:28 am
The official guidance is to be found in the document here, Table 2. It is basically size-of-index-plus-a-bit operation for the sort, no matter if it is in the database...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 10:23 am
GilaMonster (6/19/2012)
TheSQLGuru (6/19/2012)
GilaMonster (6/18/2012)
No. It's roughly 20%, but you'll need to test on your largest tables to see exactly.
Hey Gail - do you have a reference for that number you...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 7:59 am
Indianrock (1/19/2010)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2012 at 7:48 am
Viewing 15 posts - 2,881 through 2,895 (of 5,841 total)