Current driver status

Maintained branches:

8.x-1.x: Passes install and is a 1-to-1 port (and kept in sync hopefully) with 7.x-2.x.

7.x-2.x: Many bugfixes, compatibility improvements, and the most important, uses client buffered queries.

For a list of changes/improvements, see:

#2479791: [meta] Changes in the 7.x-2.x driver version

This patch must be applied in order to get past install in using 7.x-2.x:

#2376239: "format" field in table "date_format_locale" should be case sensitive

It must be run along with the Wincache Module in order to leverage the performance boost:

https://www.drupal.org/project/wincachedrupal

About stability and compatiblity of the 7.x-2.x and 8.x-1.x branches: One of the key changes in these branches is the use of client buffered queries, but with that change a can of worms was opened:

  • The change introduced a few bugs - that have been sorted out now - because buffered queries in the PDO driver are buggy.
  • The change severly boosted the minimum required environment software to run the SQL Server driver and you now need:

    Was the introduction of client buffered queries necessary? I am not sure if the introduced bugs and the boosted requirement list was worth the change, but many users in the PHP world have reported masive performance gains when using client buffered queries in PDO drivers in general and the driver's code was simplified.

    Can we make client buffered queries an optional feature? The driver was completely refactored and it could be relatively easy to support switching buffered queries on/off based on a config setting.

Legacy branches

7.x-1.x: 7.x-1.3 and 7.x-dev should be quite stable, the latest dev for this branch solves the 2100 parameter limit issue + duplicate placeholder issue, that have been around for a while:

#1686872: MS-SQL query: 2100 parameters limit

Drupal 8 known issues

D8 has several core SQL Server compatibility issues, that affect basic functionality such as the creation,viewing and edition of nodes:

#1598924: Query with duplicate placeholders throws PDO Exception
#2342377: Non database agnostic expression in SQLContentEntityStorage
#2279395: The PostgreSQL backend does not handle NULL values for serial fields gracefully
#2342699: SqlContentEntityStorage tries to update identity/serial values by default

Comments

david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Anyone giving D8 a try, please report feedback on this critical issue:

#2342377: Non database agnostic expression in SQLContentEntityStorage

Fix it in core even before installing, or you will see tons of errors.

amontero’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

Issue summary: View changes
katannshaw’s picture

@david_garcia: I use the official Microsoft wincache extension on my install (wincache ext 1.3.0), and I noticed that you linked to the sourceforge ext for your recommendation on wincache. Is my version ok with this module/driver update?

david_garcia’s picture

The link you posted is outdated and abandoned.

The official MS wincache binaries are made available through Code Plex on a regular basis by the official Wincache team - you can even get the -dev versions from there.

The more stable builds are pushed to: https://pecl.php.net/package/WinCache

katannshaw’s picture

Very good to know. Thanks for the updated link. Time for an update.

One note: I noticed on the WinCache 1.3.7.4 page @ https://pecl.php.net/package/WinCache/1.3.7.4, the "Homepage - http://www.iis.net/expand/WinCacheForPhp" link redirects back to that MS page I referred to.

katannshaw’s picture

@david_garcia: Do you know how I can get an up-to-date pre-compiled .dll extension? That's what the other prior download gave me and I'd prefer to go that route.

Found it: http://www.iis.net/downloads/microsoft/wincache-extension

Thanks.

david_garcia’s picture

Issue summary: View changes
david_garcia’s picture

david_garcia’s picture

Status: Needs work » Fixed

D8 stable and tested support released!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.