Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)

  • RE: Bulk inserts in batch

    Still wondering why an insert select is slower than a select into -- why don't they do the same thing? I wish there were a way to turn off...

  • RE: Bulk inserts in batch

    Finally partitioned the table by date. I was hoping it would be faster since the clustered index didn't have the GUID in it but it took slightly longer. ...

  • RE: "Automatic" partitioning

    Jeff Moden (6/18/2015)My partitioning is auto-magic each month. All you have to do is write a relatively simple proc to do it.

    That's what I'm trying to do but so...

  • RE: "Automatic" partitioning

    sgmunson (6/18/2015)I don't know the details of exactly how they work, but isn't this what a "partition function" is for?

    Yes, except as far as I can see you must define...

  • RE: Bulk inserts in batch

    Jeff Moden (6/17/2015)


    That was going to be my next recommendation. Since you mention a "date" column, is this some form of "audit" or "log" table? Also, which Edition...

  • RE: Bulk inserts in batch

    Jeff Moden


    Consider using much larger batches, as well. I would recommend a batch size of 2 million rows and I strongly recommend that the batches be executed in the...

  • RE: Bulk inserts in batch

    I tested trace flag 610 and it runs over 6 times faster than the tablock option. (It was 3 times faster when I still had the tablock option in...

Viewing 7 posts - 16 through 22 (of 22 total)