January 10, 2024 at 12:00 am
Comments posted to this topic are about the item An In-Depth Look at MIXED_PAGE_ALLOCATION and Changes in Page Allocation
January 10, 2024 at 7:50 am
I suspect that you wanted to describe something else with your article but not the benefits of MIXED vs. UNIFORM extents.
Sorry, but in my opinion that's far-fetched.
My conclusion: MIXED extents have always been counterproductive and will continue to be so. In particular, the system database TEMPDB suffered extremely from the use of TEMPDB (latch contention!). In principle, MIXED extents should not be used - neither for system nor user databases.
Microsoft Certified Master: SQL Server 2008
MVP - Data Platform (2013 - ...)
my blog: http://www.sqlmaster.de (german only!)
January 10, 2024 at 7:54 am
Thank you for your insights.
Maybe I am confused.
I thought the difference between Mixed and Uniform Extents was that
Uniform: All pages from the same object
Mixed: Pages from different objects
Your definition is
Uniform: Extent contains either data or index pages.
Mixed: Can be data & index pages.
Am I mistaken?
January 10, 2024 at 8:51 am
In my opinion this article was written by ChatGPT or another KI tool with no real knowlegde. Besides the errors mentioned by Uwe Ricken it is not more than a endless repeating text which does not really say anything and has no "red string" / focus / real information.
God is real, unless declared integer.
January 10, 2024 at 10:20 am
Hi,
As per the MS documentation (The highlighting is mine).
<mixed_page_allocation_option> ::=
Applies to: SQL Server (Starting with SQL Server 2016 (13.x))
Controls whether the database can create initial pages using a mixed extent for the first eight pages of a table or index.
MIXED_PAGE_ALLOCATION { OFF | ON }
OFF
The database always creates initial pages using uniform extents. OFF is the default value.
ON
The database can create initial pages using mixed extents.
This setting is ON for all system databases. The tempdb system database is the only system database that supports OFF.
So what does this mean? If we then take a look a this article by Bob Dorr, we can see that it replaces the requirement for, in previous versions using TF1118. The behaviour change in 2016 also defaults to -TF1118 being applied by setting MIXED_PAGE_ALLOCATION off.
As explained in this article,
SQL Server has two types of extents:
Uniform extents are owned by a single object; all eight pages in the extent can only be used by the owning object.
Mixed extents are shared by up to eight objects. Each of the eight pages in the extent can be owned by a different object.
It is this behaviour which is controlled by the mixed_page_allocation setting.
January 10, 2024 at 3:57 pm
I thought the same thing as Thomas Franz. This article is clearly written by AI.
Be still, and know that I am God - Psalm 46:10
January 10, 2024 at 4:02 pm
This was removed by the editor as SPAM
January 10, 2024 at 4:08 pm
Parthprajapati wrote:
Appreciate the feedback! While MIXED extents have limitations, they can still offer performance & storage benefits in specific cases like TEMPDB management. I'm open to further discussion & exploring alternative perspectives.
Okay, how and why? And why, when some of the basic understandings / assumations of MIXED_PAGE_ALLOCATION in the article were wrong?
And please no KI answer...
God is real, unless declared integer.
January 10, 2024 at 9:41 pm
thank you for the article, but it is really misleading and not providing much useful information.
January 10, 2024 at 9:46 pm
definitely, oh well...
there are too many chitters lately.
it would be great to remove this article not to create confusions.
January 11, 2024 at 12:51 am
Rule number 1: Claims of efficiency and/or performance MUST be accompanied by demonstrable code to prove it.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2024 at 10:20 pm
Defintley looks like this was ChatGpt assisted at the least. Very non specific and lacking use cases.
----------------------------------------------------
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply