Search notes:

SQL Server: In-Memory OLTP

TODO

Memory optimized table:
create table mem_opt (
  id  int identity primary key nonclustered,
  txt nvarchar(max)
)
with (memory_optimized=on);
Non durable table:
create table non_dur(
  id  int identity primary key nonclustered,
  txt nvarchar(max)
)
with (
   memory_optimized=on,
   durability=schema_only
);
Memory-optimized table type:
create type dbo.tt_table1 as table (
   id           int identity,
   txt          nvarchar(max),
   is_transient bit not null default (0),
   index ix_c1 hash (c1) with (bucket_count=1024)
)
with (memory_optimized=on)

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199276, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/architecture/In-Memory-OLTP/index(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78