Viewing 15 posts - 316 through 330 (of 7,466 total)
Add the use of your database to your script. Chances are you are working in context of master database !
CREATE DATABASE dbsubjects;
USE dbsubjects;
CREATE TABLE tblstudent(...
September 26, 2023 at 4:54 pm
Don't start your partitioning adventure in production !
Read this thoroughly : https://www.sqlservercentral.com/forums/topic/partition-large-tables-needed#post-4292250
ref Partitioned tables and indexes
September 26, 2023 at 7:44 am
You can create different filegroups and different files on AzureSQLMI, you just cannot provide it with a filename !
Read Jeff's advice thoroughly!
Then decide...
September 26, 2023 at 6:09 am
Server side trace will have the least impact.
Have look at the included sql file.
It needs a table in your DBA database. ( see script )
It creates 3 SQLAgent job:
September 25, 2023 at 1:35 pm
September 25, 2023 at 12:35 pm
.... SQL DB is on Azure MI, so only one file group is allowed....?
Have you tested that ?
CREATE DATABASE [MyPtDbOnSQLMI]
CONTAINMENT = NONE
GO
ALTER DATABASE [MyPtDbOnSQLMI]...
September 22, 2023 at 1:50 pm
Have you taken a look at this: Configure backups on secondary replicas of an Always On availability group
or this ( and the following ): Understanding backups on AlwaysOn...
September 22, 2023 at 1:43 pm
Did we mention that autogrow should never be in percentages ! ( as the size of the growth gets larger every time it is executed )
If want to enable autogrowth,...
August 31, 2023 at 5:45 am
Is there any connection between instant file initialization set to (Y) and sqlserver autogrowth ?
Does IFI(Y) means faster autogrowth ?
For non-LOG files, IFI causes the grow to be 'instantly'...
August 29, 2023 at 6:48 am
Best is to prevent the autogrow !
Set the file to a size(s) you estimate will be needed to host the data for the next couple of months / years
August 29, 2023 at 6:45 am
Is this on an Azure Managed instance ? You need to put temporal tables in place to have access to job history.
August 28, 2023 at 12:47 pm
August 28, 2023 at 7:52 am
FWIW If you don't need sub second information in datetime2 values, just use datetime2(0) ( and you gain 2bytes storage )
August 25, 2023 at 9:23 am
done.
Now, send me the email 😎
August 25, 2023 at 9:15 am
Viewing 15 posts - 316 through 330 (of 7,466 total)