patternsqlMinor
Why is my database using Partitioning? ( I know it's not )
Viewed 0 times
whyknowdatabaseusingnotpartitioning
Problem
Running this query:
Shows me that I'm using Partitioning:
I'm pretty sure that I'm not using partitioning, since this database is only mine, and it's for consulting. There are 3 tables that I created using simple "create table" statements. There's no index on tables too. So, why is SQL Server saying that this database is using Partitioning?
select * from sys.dm_db_persisted_sku_featuresShows me that I'm using Partitioning:
| feature_name | feature_id |
|--------------|------------|
| Partitioning | 200 |I'm pretty sure that I'm not using partitioning, since this database is only mine, and it's for consulting. There are 3 tables that I created using simple "create table" statements. There's no index on tables too. So, why is SQL Server saying that this database is using Partitioning?
Solution
According to this documentation, this will return a value if the database has any of the following:
So check for and remove any partition schemes or functions, even if they aren't in use. You can do this in the SSMS UI (Database > Storage > Partition Schemes/Functions), or by querying the following system views:
- Partitioned tables
- Partitioned indexes
- Partition schemes
- Partition functions
So check for and remove any partition schemes or functions, even if they aren't in use. You can do this in the SSMS UI (Database > Storage > Partition Schemes/Functions), or by querying the following system views:
sys.partition_schemes
sys.partition_functions
Context
StackExchange Database Administrators Q#200002, answer score: 9
Revisions (0)
No revisions yet.