Viewing 15 posts - 41,881 through 41,895 (of 49,571 total)
The first thing I would suggest is you try to split that up into smaller procedures. First, it'll make it more likely for the thing to get an optimal plan,...
January 9, 2009 at 1:03 am
langsoo (1/8/2009)
How should I go about optimizing to get rid of the deadlocks?
Please post the deadlock graph that traceflag 1222 produces.
January 9, 2009 at 12:38 am
foxjazz (1/8/2009)
yea, sorry I guess I meant lowest unused.if 1,2,4,5 are used, then 3 would be a result.
So you want the lowest unused value from an identity column? Not a...
January 8, 2009 at 3:17 pm
Can you describe your scenario in more detail please? Are you restoring a backup, trying to attach a database, something else?
Do you have a clean, uncorrupted backup of this database?
January 8, 2009 at 3:08 pm
Can you be more specific? Primary keys don't have to be sequential, so the concept of 'highest unused' isn't something that applies to all primary keys.
January 8, 2009 at 3:06 pm
kwoznica (1/8/2009)
WITH MOVE 'NAV5LIVE_DATA.MDF' TO 'E:\COPYDB\NAV5LIVE08_DATA.MDF',MOVE 'NAV5LIVE_1_DATA.NDF' TO 'E:\COPYDB\NAV5LIVE08_1_DATA.NDF',
MOVE 'NAV5LIVE_LOG.LDF' TO 'E:\COPYDB\NAV5LIVE08_LOG.LDF',
RECOVERY,
STATS = 5;
I believe the highlighted name should be the logical file names, not the...
January 8, 2009 at 2:57 pm
Ron Kunce (1/8/2009)
My options are to increase the .net timeout values or best to get the server upgrade made a top priority.
How about optimising the database query? That will...
January 8, 2009 at 2:49 pm
murrayd (1/8/2009)
Reorganize Indexes,
That'll do it.
If you're rebuilding all indexes on all tables than you are 'changing' every row in the database. Index rebuilds are fully logged in full...
January 8, 2009 at 2:28 pm
Ron Kunce (1/8/2009)
This leads me think that option may have deprecated some time ago as the user guide is from manuals.sybase.com/onlinebooks/. . ..
Sybase and SQL split...
January 8, 2009 at 11:56 am
winston Smith (1/8/2009)
January 8, 2009 at 11:30 am
Why are you storing and modifying large pieces of xml in a database? Why are these claims not in their own table?
January 8, 2009 at 11:22 am
When's the last log backup from before the full? Full backups don't truncate the log, so you have to look at the activity from the last tran log.
Full recovery? Bulk...
January 8, 2009 at 11:15 am
pcreddy9 (1/7/2009)
ok
Please don't edit your questions away. It just makes it confusing for everyone who reads it afterwards.
It's also polite to let us know if the solutions worked or not.
January 8, 2009 at 11:06 am
crfenix (1/8/2009)
January 8, 2009 at 10:48 am
winston Smith (1/8/2009)
I was told, in an sql course that when indexing for AND queries, always try to use an index on the most selective column.
I hate it...
January 8, 2009 at 10:12 am
Viewing 15 posts - 41,881 through 41,895 (of 49,571 total)