Viewing 15 posts - 211 through 225 (of 230 total)
I agree with Robert Davis, once mirroring is suspended, it is not started automatically, you have to issue "ALTER DATABASE DBName SET PARTNER RESUME", then only the mirroring will start...
April 12, 2013 at 1:00 pm
Use Batch insert/update/ delete instead of doing it in one big batch.
April 12, 2013 at 7:55 am
Increase default value of the ReadBatchSize in Log reader agent & CommitBatchSize in Distribution Agent.
If the table is out of sync because of load, this may help.
April 12, 2013 at 7:46 am
I think that any how some rows form Subscriber were deleted/modified. Are there any trigger defined on subscriber?
You can change the distribution Agent property for "Continue on Data Consistency...
April 12, 2013 at 7:40 am
Use this sql.
SELECT
B.name AS TableName
, C.name AS IndexName
, C.fill_factor AS IndexFillFactor
, D.rows AS RowsCount
, A.avg_fragmentation_in_percent
, A.page_count
FROM sys.dm_db_index_physical_stats(DB_ID(),NULL,NULL,NULL,NULL) A
INNER JOIN sys.objects B
ON A.object_id = B.object_id
INNER JOIN sys.indexes...
April 12, 2013 at 6:44 am
Open office works best for me..the only exception is when I am dealing with the production issue. In that case I wish that nobody should disturb me.
April 12, 2013 at 6:31 am
Also increase default value of the ReadBatchSize in Log reader agent & CommitBatchSize in Distribution Agent.
April 11, 2013 at 7:24 am
Look for the line breaks in the export. That will cause the difference in count.
April 11, 2013 at 7:00 am
You have to use 3 commands in sequence
1) exec sp_repldone @xactid = NULL, @xact_seqno = NULL, @numtrans = 0, @time = 0, @reset = 1
2) Truncate the Transaction log
3)sp_replflush
April 10, 2013 at 7:26 am
and I used second one.. which was more specific.
April 9, 2013 at 3:12 pm
At least not for me.
Its giving 6, 1 & 3 respectively.
April 9, 2013 at 3:05 pm
Phil & Sean both are right but you can use something like this..
Insert into Table2 (col3)
Select col1 + ' ' + col2 from table1
April 9, 2013 at 3:00 pm
May be we both are working on different data set.
Here is mine.
create table playground.sale (email varchar(255), quantityint);
insert into sale values ('email1', 1);
insert into sale values ('email1', 2);
insert into sale...
April 9, 2013 at 2:37 pm
No, min or max would produce a different result that what he is expecting. Min will produce 1 and max will produce 3.
April 9, 2013 at 1:45 pm
Viewing 15 posts - 211 through 225 (of 230 total)