Viewing 15 posts - 1,801 through 1,815 (of 2,640 total)
why ? Faster wider pipes, better queries that don't return 1000 rows???
Note that data is returned in packets, packet size can help, even if you return a bit it still...
September 28, 2006 at 8:27 am
to be blunt the 2k tool is crap and likely to do more harm than good. I'd suggest using an eval of sql2005 and the tuning advisor which is much...
September 28, 2006 at 8:24 am
get a 64bit dual core server with at least 16gb of ram. Memory will offset most disk subsystem performance problems. make sure at least that o/s+ binaries, tran logs, data...
September 28, 2006 at 8:18 am
you need to profile to see if the delay is between client and server or in the proc execution first.
If the proc execution is the same then you need to...
September 27, 2006 at 1:15 am
From a best practice point of view you should never use select * - unless I guess you want the entire table, but even there it could lead to code...
September 27, 2006 at 1:09 am
It's a shame it writes to the registry, couldn't really use this in a controlled or production environment.. I slightly worry that this may prompt the unwary to start making...
September 27, 2006 at 1:07 am
you can read the job status from the job tables and use the appropriate stored procs to enable or disable them as required.
September 25, 2006 at 8:54 am
your hardware is probably fine, however for large updates/inserts it will always work better if you batch them.
If you can set the database to bulk logged or simple recovery this...
September 25, 2006 at 8:53 am
yeah most seem to miss out dbcc updateusage but it's quite important to run and I never found it did any harm. glad it resolved your problem.
September 25, 2006 at 8:48 am
it's really very easy .. here's an example for sql2k adding a table to transactional replication:-
--
-- add table to publication
--
exec dbo.sp_addarticle 'mypublication' ,@article='mytable',@source_table='mytable',@destination_table='mytable',
@force_invalidate_snapshot=1
go
--
-- refresh the subscription
--
exec dbo.sp_refreshsubscriptions 'mypublication'...
September 25, 2006 at 8:44 am
If you need to assign a variable to the database name you might just as well hardcode it avoid using dynamic sql.
select * from pubs.dbo.testrs
or
declare @string varchar(250),@db varchar(25)
set @db='pubs'
set @string=...
September 25, 2006 at 3:53 am
there's a number of reasons, make sure you do a dbcc updateusage too.
So your shrink worked I assume, so if you rebuild all the indexes, stats and updateusage, it should...
September 21, 2006 at 5:53 am
Be careful when using a copy of a database beacuse you've lost the original hardware and environment which might be the problem. My guess is that when you try the...
September 21, 2006 at 5:45 am
I'd suggest your hardware is insufficient for your needs and if you're actually using a single disk you will be i/o bound without doubt! You might want to consider turning...
September 21, 2006 at 5:40 am
Why do you feel the need to shrink your database - it will cause fragmentation and degrade performance. Leave your database at a size where it has working space to...
September 21, 2006 at 5:33 am
Viewing 15 posts - 1,801 through 1,815 (of 2,640 total)