Viewing 15 posts - 316 through 330 (of 7,472 total)
It depends!
It would be more helpfull if you posted DDL for all involved objects.
October 5, 2023 at 6:34 am
... convert( desired_date_type, DATABASEPROPERTYEX(DB_NAME(), "LastGoodCheckDbTime")) ...
I've modified your script a little bit to be more informative :
CREATE TABLE #lastcheckdb
(
DbName sysname,
Updateability...
October 5, 2023 at 5:59 am
Maybe not the most performant solution but as a next step import the full file and process it
$FullfileData = import-csv -Path $fullfile ;
$RecCounter = 0;
$TargetFileNo = 1;
$TargetFiletemplate...
September 29, 2023 at 6:49 pm
As stated by the previous repliers, you must size your tempdb file(s) to be able to cope with your systems consumptions!
Things that may help out :
- grant your service account...
September 28, 2023 at 7:27 am
There are some red fags over here, especially with "just implementing partitioning in production"!
You need to prepare for this all !! As jeff statted, it...
September 27, 2023 at 5:29 am
Have a look at Grants page on the topic: Why You Should Change the Cost Threshold for Parallelism
September 26, 2023 at 6:29 pm
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
Viewing 15 posts - 316 through 330 (of 7,472 total)