I try to unterstand In-Memory...
I got the CTP1 and tried In-Memory. The Whitepaper describes the Syntax for In-memory tables. I wrote some queries to find out the performance gain.
A normal table with 1 million entries take the same time as a memory-optimized table??
Only a insert, delete and update is much faster...
I tried it with native_compilation procedures too, but noway, same time.
How can i reach a lower latency with queries? How have the queries look like to gain performance with select?
create table dbo.Ord (
OrdNo integer not null primary key
nonclustered hash with (bucket_count=1000000),
OrdDate datetime not null,
CustCode nvarchar(5) not null
)
with (memory_optimized=on)
go
This table filled with 1 Mio entries. And a normal table
create table dbo.Ordnormal (
OrdNo integer not null primary key nonclustered ,
OrdDate datetime not null,
CustCode nvarchar(5) not null
)
go
this table too.
Select with the first table takes the same time as the second. Measuring it with set statistics Time on.