SQL Server 2022 RC0, new features and capabilities. The great improvement of the TRIM function, Integrated acceleration and other features

Hi Guys,


Service news! SQL Server 2002 RC0 (Release candidate) is out and you can download it from: download SQL Server 2022 RC0 

We already spoken about the previous CTP for example here:

What is new in the CTP 2.1 of SQL Server 2022? New T-SQL commands!

Now let's see what improvements are contained in this Release Candidate 0!

Enjoy! 

 

T-SQL Language improvements

The TRIM() function is now able to removes the space character (ascii 32) or other specified characters from the start or end of a string.

Now the syntax follow the ANSI SQL Standard


TRIM ( [ LEADING | TRAILING | BOTH ] [characters FROM ] string )

Where the optional first argument specifies which side of the string to trim:
  • LEADING removes characters specified from the start of a string.
  • TRAILING removes characters specified from the end of a string.
  • BOTH (default positional behavior) removes characters specified from the start and end of a string 
 
Two simple examples
 
 
The following SELECT ...

SELECT TRIM('     test    ')

return the string “test”

 
The following SELECT ...

SELECT TRIM('.,!# ' FROM '     #     test    .')

return the string “test”

...isn't it wonderful?
 

In addition, the presence of the two functions APPROX_PERCENTILE_CONT () and APPROX_PERCENTILE_DISC () we talked about here is confirmed



Degree of parallelism (DOP) improvement

Another improvement that this RC0 has brought us is related to the degree of parallelism (PDO) feedback function.

This feature introduced since the beginning of the 16.x project sees an improved comparison algorithm. However, no more detailed information is currently available.


Integrated acceleration

Another improvement cited by Microsoft is known as integrated acceleration (although the full name is "integrated offloading and acceleration")

We are talking about a framework developed by Microsoft to support Intel’s QuickAssist Technology (QAT) (this framework for SQL Server is available in window only)

Using this framework we are able to offload specific SQL Server workloads to hardware devices such as compressing a backup.

In this way the CPU usage is reduced, as the time of completion of the backup.
 
So, how to use this feature?
 
First you must have an Intel QuickAssist Adapter 8960 or 8970, a PCI card that provides hardware acceleration for intensive computing applications such as encryption.
 
Then you must install the Intel Quick Assist Technology driver. 
But remember that only the enterprise edition (and Developer) version support this technology.



Snapshot backups

Talking about snapshot backup, they are now available not only in Azure but now also in SQL  Server 2022 Preview.



That’all for today!

Remember, if you find an advertisement that genuinely interests you simply click it from on my blog, please. You will help me to contine writing more and more interesting content. It doesn’t cost you anything but it helps me to support and grow this site

 ~Luke


 












 
 
 
 
 
 
If you have one or more disks that you care about and want to try to recover send me a message or an email (lucadrbiondi@gmail.com).
... It’s not a job but a hobby 

 

Comments

I Post più popolari

SQL Server, execution plan and the lazy spool (clearly explained)

SQL Server, datetime vs. datetime2

La clausola NOLOCK. Approfondiamo e facciamo chiarezza!