Warning: Constant WP_TEMP_DIR already defined in /var/www/html/blogs/joe/wp-config.php on line 93

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/blogs/joe/wp-config.php:93) in /var/www/html/blogs/joe/wp-includes/feed-rss2-comments.php on line 8
Comments on: Hash Partitioning with SQL Server 2012’s SEQUENCE object and CYCLE argument https://www.sqlskills.com/blogs/joe/hash-partitioning-with-sql-server-2012s-sequence-object-and-cycle-argument/ SQL Server Performance Tuning, High Availability and Disaster Recovery Blog Fri, 20 Sep 2013 10:51:16 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Joseph Sack https://www.sqlskills.com/blogs/joe/hash-partitioning-with-sql-server-2012s-sequence-object-and-cycle-argument/#comment-3164 Fri, 20 Sep 2013 10:51:16 +0000 /blogs/joe/post/Hash-Partitioning-with-SQL-Server-2012e28099s-SEQUENCE-object-and-CYCLE-argument.aspx#comment-3164 In reply to Pedro Lopes.

Thank you Pedro, I’ll check that post out!

]]>
By: Pedro Lopes https://www.sqlskills.com/blogs/joe/hash-partitioning-with-sql-server-2012s-sequence-object-and-cycle-argument/#comment-3162 Fri, 20 Sep 2013 07:22:28 +0000 /blogs/joe/post/Hash-Partitioning-with-SQL-Server-2012e28099s-SEQUENCE-object-and-CYCLE-argument.aspx#comment-3162 Hi Joe,
Came across this post when searching for a related matter, and thought you would like to check another cool scenario using sequences, using bit reversal instead of partitioning to tackle with latch contention. It’s in the second half of the post http://blogs.msdn.com/b/blogdoezequiel/archive/2013/05/23/pagelatch-ex-waits-and-heavy-inserts.aspx
Cheers!

]]>
By: Joe Sack https://www.sqlskills.com/blogs/joe/hash-partitioning-with-sql-server-2012s-sequence-object-and-cycle-argument/#comment-637 Wed, 25 Jan 2012 04:56:50 +0000 /blogs/joe/post/Hash-Partitioning-with-SQL-Server-2012e28099s-SEQUENCE-object-and-CYCLE-argument.aspx#comment-637 Good questions Eric! I haven’t tried that technique before. I’d be interested in the CPU overhead of that versus this technique (and also would like to compare execution plans).

One thing I’m also wondering is if the "cache" option of the sequence will provide a benefit for large data loads. It would definitely be interesting to test several options. I was also curious to compare it to a UDF (T-SQL and CLR). We’ll see if I can get to that.

If you have time to validate, let me know and share here if you can.

Thanks!

]]>
By: Eric Humphrey https://www.sqlskills.com/blogs/joe/hash-partitioning-with-sql-server-2012s-sequence-object-and-cycle-argument/#comment-636 Wed, 25 Jan 2012 04:51:01 +0000 /blogs/joe/post/Hash-Partitioning-with-SQL-Server-2012e28099s-SEQUENCE-object-and-CYCLE-argument.aspx#comment-636 Can’t you do something similar just using an identity, the modulus operator, and a computed column? Does this gain you anything over that approach?

Thanks,

]]>