220 likes | 441 Views
Oracle vs. SQL Server. SysTalk, the only Dedicated, ISO 9000 Certified BizTalk Company in Australia. www.systalk.com.au. robl@systalk.com.au. The Lizard = Data. National Human Genome Research Institute ENCODE Project: ENCyclopedia Of DNA Elements Anolis carolinensis (Green anole lizard)
E N D
SysTalk, the only Dedicated, ISO 9000 Certified BizTalk Company in Australia www.systalk.com.au robl@systalk.com.au
The Lizard = Data • National Human Genome Research Institute • ENCODE Project: ENCyclopedia Of DNA Elements • Anolis carolinensis (Green anole lizard) • 35,642,840 (50 byte) contigs • 7,233 Scaffolds • 8,354,004 Repeating Sequences • (1,782,142,000 Individual DNA elements)
Setup Oracle Database 11g SQL Server 2005
Test #1 -Performance • Inserts • Updates • Deletes • Selects
TEST_INSERT • LOOP 100,000 • INSERT Record • COMMIT • END LOOP
TEST_UPDATE • UPDATE • COMMIT
TEST_INSERT_WITH_TRANSACTION • BEGIN TRAN • LOOP 1,000,000 • INSERT Record • END LOOP • COMMIT
TEST_DELETE • DELETE FROM TABLE • COMMIT
TEST_SELECT_COUNT_START_REPEATS • SELECT COUNT(*) FROM REPEATS
TEST_SELECT_COUNT_START_DNA • SELECT COUNT(*) FROM DNA
TEST_SELECT_JOIN_AND_SUM SELECT SUM(R.SCAFFOLD_END) INTO CCOUNT FROM REPEATS R, SCAFFOLDS S WHERE R.SCAFFOLD_NAME = S.SCAFFOLD_NAME AND S.SCAFFOLD_NAME like 'scaffold_1%';
Test #2 -Locking • Row Multiversioning • NOLOCK or READUNCOMMITTED • READPAST • Writers vs Readers • SNAPSHOT_ISOLATION
TEST_SELECT_ACROSS_LOCK BEGIN TRAN UPDATE REPEATS SET SCAFFOLD_END = 0 WHERE ID = 80221
TEST_SELECT_ACROSS_LOCK • ALTER DATABASE SvO • SET ALLOW_SNAPSHOT_ISOLATION ON • ALTER DATABASE SvO • SET READ_COMMITTED_SNAPSHOT ON