Questions tagged [standard-edition]
The standard-edition tag has no usage guidance.
68 questions
0
votes
1
answer
141
views
Error "No catalog entry found for partition ID ..."
When trying to delete disabled index or enable the same disabled index on one heavily utilised table, I am getting an error:
No catalog entry found for partition ID 72057594967228416 in database 6. ...
4
votes
1
answer
127
views
Why does adding an empty columnstore index to my tables consistently make execution plans ignore bitmaps?
Problem
I am using a Standard Edition SQL Server 2019 box. Given the edition, compatibility levels should not be relevant (the level-dependent batch mode features are disallowed on Standard). On this ...
3
votes
1
answer
547
views
Can we downgrade edition from SQL Server 2016 Enterprise to Standard when we have compression feature enabled?
I have a production database running on SQL Server 2016 Enterprise. I ran the below query to check the edition-specific feature and see the compression feature in use. Can we still downgrade the ...
0
votes
1
answer
196
views
SQL Server Standard and Enterprise editions in AlwaysOn Availability Groups
Can two different versions of SQL Servers participate in AlwaysOn Availability Groups?
I am specifically talking about SQL Server 2019 Standard and SQL Server 2019 Enterprise.
-1
votes
1
answer
127
views
How is basic availability group able to auto failover without a cluster?
I have recently learnt that the SQL server standard edition's basic availability group doesn't require a windows cluster.
Basic AG is considered equivalant to the deprecated mirroring technology. Like ...
0
votes
1
answer
90
views
What happens when you try to use more than 32 GB of memory-optimized data in a database on Standard Edition?
In SQL Server 2019, you cannot put more than 32 GB of memory-optimized data in a database on Standard Edition. What happens if you try anyway?
I'd try it myself, but I don't want to risk discovering ...
7
votes
4
answers
1k
views
Is my queue table implementation race condition safe?
Hello people smarter than me! I've created a sort-of-a-queue table system, but it seems too simple to be safe from race conditions. Am I missing something or is the following race condition safe?
The ...
0
votes
0
answers
23
views
Running DBCC on NON-READABLE replica
Since the system databases are not duplicated in a AG environment, I want to be able to run DBCC on them on a weekly basis and I would also like to be able to run DBCC on any databases where the AG ...
23
votes
1
answer
5k
views
Is "+" slower than "CONCAT" for large strings?
I have always thought that CONCAT function is actually a wrapper over the + (String Concatenation) with some additional checks in order to make our life more easier.
I have not found any internal ...
3
votes
2
answers
298
views
How to sum up the distinct Total Time of an Event ignoring duplicate overlaps in Times?
I have the following EventTimes table:
DROP TABLE IF EXISTS dbo.EventTimes;
CREATE TABLE dbo.EventTimes
(
EventTimeKeyId INT IDENTITY(1,1) PRIMARY KEY,
EventId INT NOT NULL,
StartTime TIME NOT ...
0
votes
1
answer
382
views
Wait time on server replies is sometimes very long when running the query over and over
As seen in this screen shot, I'm running the same query over and over again, comes back with 0 rows (as expected). For some reason I'm seeing very large wait times on server replies while running this ...
0
votes
2
answers
182
views
On update: Login failed for SQL Server authenticated sysadm
I run into a weird bug?
User complained to me that he cannot anymore update certain tables in database. He had owner rights in database and the login was window login (ad-login). I tried elevating him ...
12
votes
1
answer
817
views
Is there a reliable way to check if a trigger being fired was the result of a DML action from another *specific* trigger?
Is there any way to tell from within a trigger, when it gets fired, that it is being fired as the result of a DML action that occurred within another specific trigger?
Any chance any information about ...
0
votes
1
answer
109
views
Unable to force a query store sql plan in Principal DB
I have a SQL 2017 mirroring setup and found a query has 2 plans in query store and I wanted to force the good plan which runs much faster. But when i force the query plan I get below error. Same error ...
0
votes
3
answers
134
views
Poorly Performing Query with Massive Misestimates
I have been looking at this statement for the last day but I've been unable to work out the best way to improve it. So, I thought I would reach out to the wider community for some advise.
SELECT [FLD6]...
-1
votes
1
answer
180
views
When DML and DDL changes occur on a Temporal Table do the correlating changes in the History table get logged in the Transaction Log as well?
When DML and DDL queries are executed against a Temporal Table, those changes are appropriately propagated to the correlating History table. E.g. an UPDATE to the Temporal Table results in a new ...
1
vote
2
answers
755
views
Replicate one database in one server to 2 other servers SQL2008
In product
ion, we have a transactional replication between 2 servers with data from one database going from server A to Server B. We now want to add another server C for the short period of time ...
0
votes
0
answers
283
views
MSSQL Server Resource Governance alternative
I've been looking into solutions for managing CPU sharing over multiple apps accessing the same SQL server database engine.I found that Resource Governance is one perfect way for me to define those ...
4
votes
0
answers
864
views
How to debug the cause of my suddenly extremely slow running backup maintenance plan? [closed]
Alexander and the Terrible, Horrible, No Good, Very Bad...backups.
The Setup:
I have an on-premise SQL Server 2016 Standard Edition instance running on a virtual machine from VMWare.
@@Version:
...
0
votes
0
answers
297
views
Is it safe to run DBCC CLEANTABLE on a production database?
I recently changed an application from storing images in a varbinary(max) column to cloud storage and migrated the data and removed the column. These images accounted for about 350GB of space in the ...
0
votes
1
answer
1k
views
What happens to a SQL Server 2019 Standard instance with an Annual Subscription Licence when it expires?
We have 3 production SQL Server 2019 standard instances which we have licenced through a third party supplier on an annual subscription basis. In our use case this works out cheaper if you only ...
0
votes
2
answers
199
views
SQL Server Standard Edition CPU + Tempdb Configuration
I have SQL 2014 sp3 (Standard) With below CPU Details according to 8 CPU we have configured 8 Tempdb datafiles.
Based on my configuration could you please suggest what should be the CPU & Tempdb ...
1
vote
1
answer
62
views
Is it possible to have something like Union-FS for Oracle databases?
I wonder if it is possible to have something like what Union-FS is for filesystems also for databases?
Usecase
You have a webapp (with Oracle as database in the backend) with several instances: One ...
0
votes
1
answer
68
views
Can't help the engine to choose the correct execution plan
The stuff are pretty complex to share the original code (a lot of routines, a lot of tables), so I will try to summarize.
Environment:
SQL Server 2016
standard edition
Objects:
wide table with ...
0
votes
2
answers
80
views
Configure Always On to use secondary site as DR
I have two SQL Server 2017 Standard Edition clusters, each in a different datacenter, only a pair of servers each.
I was able to configure and test the Windows Cluster, Quorum for it, AG, including ...
4
votes
1
answer
183
views
Distributed AG on SQL Server 2017 Standard Edition?
Can I configure Distributed AG with SQL Server 2017 Standard Edition?
1
vote
2
answers
3k
views
Failed to create appdomain "master.sys[runtime].2"
I am getting this error in SQL Server log:
Failed to create appdomain "master.sys[runtime].2"
Could not load file or assembly System.Data.
Not enough storage is available to process this ...
3
votes
1
answer
683
views
SQL Server secondary replica snapshot with Basic Availability Group
I have the following scenario:
I created an HA group of two nodes in SQL Server 2016 Standard (which is limited to two nodes, one database per group and a non readable secondary replica).
I tried to ...
3
votes
2
answers
17k
views
Developer Edition vs Standard Edition
Is it dangerous to have dev environment with a Developer Edition and Live with Standard Edition, are the binaries different ?
0
votes
4
answers
2k
views
SQL Server 2017 Express faster than Standard Edition [closed]
What could explain SQL Server Express Edition being much faster than Web / Standard Edition?
These are multiple VMs in cloud hosting. They all experience the same problem. Some are on SQL Server 2012,...
3
votes
1
answer
167
views
SQL Server 2008 R2 Edition Upgrade Process
I have several SQL Server 2008 R2 Standard Edition instances that we need to upgrade to SQL Server 2008 R2 Enterprise Edition.
If I have valid SQL Server 2017 Enterprise Edition (with SA) PIDs, do I ...
2
votes
1
answer
1k
views
Only SQL Server Enterprise Edition supports compression - how to work around that?
I have a script that needs to create a temp table and in that temp table I create an index.
I noticed in some of my servers, the script would go on forever, and when checking from a different session ...
3
votes
1
answer
2k
views
SQL Server 2016 with high tempdb usage and low RAM usage
I've got a small instance of SQL Server Standard that I'm running HammerDB TPC-H (1 GB) benchmarks on. It's got some configuration issue though where it's writing everything into tempdb on disk, and ...
2
votes
3
answers
2k
views
Initial Database Size Too Big
I have a clustered SQL 2016 standard database. It is set up in a virtual environment with a total of 250 GB of storage. However, my developer set the initial size of the databases to be 100 GB. There ...
1
vote
1
answer
215
views
Log shipping from SQL Server 2014 Enterprise db to SQL Server 2017 Standard with partitioning
I wish to implement log shipping from my current primary which is a SQL Server 2014 Enterprise database to a SQL Server 2017 Standard edition database. I also wish to implement table partitioning on ...
2
votes
3
answers
2k
views
Backup Performance best practices
I'm in the process of re-writing our maintenance plans and at the moment the focus is backups. Whilst preparing this plan, I'd like to try and ensure that procedures are in place to ensure that backup ...
1
vote
1
answer
255
views
SQL Server 2014 Edition Downgrade
I have a SQL Server 2014 Standard Edition used by my devs to test their applications pointing to a common instance. Lately I've been informed that for this purpose I can use Developer Edition, that it ...
7
votes
2
answers
11k
views
SQL Server 2017 Enterprise vs Standard - Online Indexing and Online Schema Change
I read through Microsoft's "Editions and supported features of SQL Server 2017" doc to compare the feature differences between Enterprise and Standard edition.
Two things not available in Standard ...
4
votes
2
answers
1k
views
Can anyone recommend an encryption method for ALL user dbs using SQL Server 2016 STANDARD edition?
Our clients are insisting that we now encrypt ALL their SQL Server data at rest, which must include tempdb. I think I have the following options available –
Bitlocker entire drive(s)
TDE (but the ...
1
vote
2
answers
259
views
Decision concerning RAM limit
What steps would you do to be sure that STANDARD edition with its 128GB RAM limit is enough for your production?
My subjective feeling is that we are somehow on the edge and I am looking for strong ...
3
votes
1
answer
3k
views
Microsoft SQL Server 2016 Service Pack 1 (SP1) support for TDE (transparent data encryption)
Does Microsoft SQL Server 2016 Service Pack 1 add support for TDE (Transparent Data Encryption) to Standard Edition as well?
As per What's new in Database Engine - SQL Server 2016 and A Big Deal : ...
0
votes
1
answer
984
views
Can I Configure Enterprise Manager Cloud Control on Standard Edition
Is it possible to configure enterprise manager cloud control on Oracle 12c Standard edition?
Will it administer multiple databases (Non-CDB)?
What about administering databases on different servers?
1
vote
2
answers
4k
views
SQL Server Standard Basic Availability Group - only 10 Listeners limit?
Is there a limit to the number of listeners that can be created using SQL Server Standard?
I'm working with a DBA who has set up a 2017 Standard server, with CU3. We have 12 databases, and he was ...
6
votes
3
answers
3k
views
Deleting data from a table containing LOBs did not reduce the amount of data reported INTERNALLY by the table or database
Running SQL Server 2012 standard, using both replication data and log shipping. Transaction log backups are created every few minutes.
This question is NOT about the amount of space reported by the ...
2
votes
1
answer
2k
views
How to Store Text Reports in a Database [duplicate]
I have dozens of text reports that come in every day and I need to store them. I cannot just zip them and put them on the hard drive because the users aren't sophisticated enough to figure that out. I ...
1
vote
2
answers
5k
views
SQL Server Editions: Backup restore of Enterprise Edition 2014 on Standard Edition 2017
I know, this kind of question has already been answered some times but I don't find some current answers and wonder if SQL Server Standard Edition 2016 SP1 has changed something in the matter as it ...
0
votes
1
answer
289
views
Why my indexes monitoring status change to 'no'?
On one of my production Oracle database 11g Standard Edition I have a lot (a very lot of) indexes. Some of them (majority) are created by the application installer, others are created by me when I ...
0
votes
1
answer
158
views
Optimal data type for storing numbers in SQL Server [closed]
Similar to varchar that stores strings of varying length, is there an alternative for numbers of varying length that allocates space depending on the size of the number?
I have a large table with 50 ...
0
votes
1
answer
883
views
Unable to start the SQL Server Agent
I am unable to start then SQL Server Agent. I am getting the below error message when I tried to start the agent:
The SQL Server Agent service (DB_NN) on local machine was started and then stopped....
1
vote
1
answer
14k
views
How to capture all user's query on Oracle database
I have an Oracle Database installed over Unix system. On this single instance database I have a lot of sessions opened from an application pool (application is installed on another server). Every ...