I have a partition function and a partition schema by date that I'm already using on a big table on my DDBB. As I have several big tables in my database that share this common pattern of having a date column, I wonder if it's OK to reuse this partition function & schema among them or if otherwise it's better to create a separate pair of partition function & schema for each table to be partitioned on the database.
Is it a good practice to reuse partition functions and schemas on SQL Server Azure between different tables?
535 Views Asked by Oscar At
1
There are 1 best solutions below
Related Questions in SQL-SERVER
- SQL server not returning all rows
- Big data with spatial queries/indexing
- Conditional null constraint on Null
- SQL Query - Order by String (which contains number and chars)
- Optimising a slow running SQL Server Stored procedure ordered by calculated fields to return a closest match
- Dynamics CRM Publishing Customizations - Multi Developers
- Is there anyway to set the relationship of many tables from Model?
- Implementation of Rank and Dense Rank in MySQL
- ORM Code First versa Database First in Production
- MVC : Insert data to two tables
- Data streams in case of Merge
- table with multiple IDs but seperate notes need sorting (Tried SQL code to make a union query)
- SQL table Partitioning by Year with ColumnStore index implemented on the table
- Defining which network to use for SQL Server 2012 Management Studio
- Fill a week days in a table with preceding Sundays value
Related Questions in DATABASE-DESIGN
- Big data with spatial queries/indexing
- Unique hash/index for time interval
- Best practices for creating a huge SQL table
- Database Design: How should I store user's news preferences in MySQL database?
- Is it recommended to use Node.js for an online room booking web application?
- Storing multiple item settings in database
- Which column type for storing the year field in a table with rows of yearly data
- Best way to setup a i8n in a database
- Database normalization for electricity monitoring system
- Database Design: Unique Billing Assocation
- Is it always a bad practice to have circular relationships in your database design
- One column maps to mutiple columns from different table
- Replicating tables within the database
- mysql one translates table vs multiple translate table
- Nosql database design for complex querying
Related Questions in AZURE-SQL-DATABASE
- Data execution plan ended with error on DB restore
- Azure Data Factory: LinkedService for AzureSql in failed state
- Data streams in case of Merge
- How to get sql data bases instances in azure using java api
- How can I deploy an app using Identity Model to Production on Azure?
- Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs
- How do you get the Id field for a newly inserted item using the .NET client for Azure Mobile
- SqlCommandBuilder() creates insert/update for underlying tables instead for a view
- Bulk insert using code first migrations for azure
- Cannot enable Full-Text search on Azure SQL Database V12
- Azure data sync not syncing sql database data properly as expected
- Using MVC App to run CRUD operations on Existing Azure Database
- Sql Server Data Tools Data Comparison fails when connecting to Azure
- ShardMapManager.TryGetRangeShardMap wont retrieve the RangeShardMap
- Always Get 1 record from Table 2 based on some condition
Related Questions in TABLE-PARTITIONING
- How to composite creation partitioning in rails by created_at and app_id using postgres
- How to get an element by id in a LIST partitioned table on postgres without scanning all tables for the index?
- How to split this partition table using values less than and not get ORA-00906
- MySQL RANGE table partitioning by months for 2 years records
- Storing table as one row per key vs partitioned files of records
- Why does Spark shuffle the data while joining two partitioned & bucketed tables
- Increment by 1 in sequence numbering and dynamically partitioned tables
- Is it a good practice to reuse partition functions and schemas on SQL Server Azure between different tables?
- How to drop rows from partitioned hive table?
- SERIAL works with NULL, GENERATED ALWAYS AS IDENTITY not
- sql server partition table not performance in big tables?
- Odoo Table Partition
- Postgresql - Optimize ordering of columns in table range partitioning with multiple columns range
- Partitioning existing table doesn't work, why?
- How to move Indexes into another TableSpace
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Like all things SQL Server, "it depends".
Sharing partition functions/schemes among different objects is ok when partition maintenance for all referencing objects is performed on the same cycle and planned accordingly. In cases where partitioning is leveraged to efficiently purge/load data by date, those processes need to be coordinated to avoid conflicts.
I usually create a separate function/scheme for each object except in cases where maintenance will be always be performed in tandem, such as related tables of a single application.