Viewing 15 posts - 316 through 330 (of 350 total)
Shrinking always is not good practise check the file why its growing and check the recovery models
and also how was your backup strategy.
October 25, 2010 at 12:21 pm
sql 2008 --right click on database -->tasks-->shrink--> select files--> select file type log simple!
In sql 2000--you need do with the script google it
October 25, 2010 at 12:20 pm
I think you have more number of rows of data in your prod tables than your stage server.
This is what the issue the tables you use in your store proc...
October 22, 2010 at 3:51 pm
try opening through the run
open run--> type in SSMS
Just try!
check in task manager to see any other applications running and stoping your serevr to connect .
Try everything you...
October 22, 2010 at 3:43 pm
did you look at the paging file...
what is your paging file size and what is your physical server?
October 21, 2010 at 3:42 pm
I think he needs find out who or what are doing the deletes not the data what is deleting.
October 19, 2010 at 3:38 pm
give security admin permission it would work on both sides.
October 19, 2010 at 3:34 pm
memory management is controled by sql server
when it requires it gets memory by deleting some plans from the cache
you can still release memory from plan cache by doing...
October 19, 2010 at 3:31 pm
You no need to stop any service while you do rebuild indexes offline.
schedule it when your server is less productive or less no.of connection depends on your business.
October 19, 2010 at 2:51 pm
My select query runs fine when i search with IS NOT NULL criteria and works terrible when i assign a value..Example is mentioned below:
SELECT * FROM myview WHERE column_flag =...
October 19, 2010 at 2:46 pm
Check on database when was the stats last updated
run this script if they are updated long back
USE pubs -- Change desired database name here
GO
SET NOCOUNT ON
GO
DECLARE updatestats CURSOR FOR
SELECT...
October 19, 2010 at 2:43 pm
same results no improvement. It is retrieving from a view and it was working fine until yesterday..
Run both queries and include exec plans and see you will find the difference...
October 19, 2010 at 2:30 pm
first thing never use select * instead write column names because it causes table scan in many cases.
any way use
is_flag like N
and try
October 19, 2010 at 2:18 pm
do
dbcc checkbd
dbcc checkalloc
then sp_update stats.
October 19, 2010 at 2:12 pm
Check the query you are running may be they are using a temp table or temp variable
to load data temporarily.
If is that the case then you should...
October 19, 2010 at 2:10 pm
Viewing 15 posts - 316 through 330 (of 350 total)