Search notes:

SQL Server: performance tuning

Intelligent Query Processing (IQP)

IQP Features

IQP features include
  • Batch mode adaptive joins (dynamically select join type at runtime based on input data)
  • approximate count distinct (SQL aggregate function approx_count_distinct)
  • batch mode for row store
  • Interleaved execution for multi-statement table valued functions
  • memory grant feedback (batch mode)
  • memory grant feedback (row mode)
  • scalar UDF inlining
  • table variable deferred compilation

Enable IQP on a database

alter database tq84_db set compatibility_level = 150;

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...', 1738292469, '18.116.38.30', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/administration/performance-tuning/index(49): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78