Hi!
Does anyone know if there is a link to download SQL Server 2014 developer edition?
I need to repair an instance but we no longer have a copy of the media..
Thanks,
Zoe
Hi!
Does anyone know if there is a link to download SQL Server 2014 developer edition?
I need to repair an instance but we no longer have a copy of the media..
Thanks,
Zoe
Hi Folks,
I am getting below error for one of my job:
Could not allocate space for object 'dbo.DEF' in database 'XYZ' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding ... The package execution fa... The step failed.
We have Primary File group and secondary file group, I am not able to understand why data is not going in secondary data file.
Below are the settings and properties for database; kindly put some light where I am wrong??
I have a rather large query with a UNION ALL that runs at different customer sites all over the country. Last week the query became painfully slow at one site. Analyzing the "actual" query plan with Plan Explorer shows that when it scans the Clustered Index of a table with just over 1 million rows it shows estimated rows at over 390 million and actual rows at 48 million.
Today when I run the exact query (copy/paste command text), it runs as expected and the actual rows returns 0. (Estimated rows 381 million). Comparing the two query plans shows the one "bad?" clustered index scan as the only difference.
My question is what would cause that type of issue? Could the index or table have been corrupted? Weekend database maintenance would have rebuilt all indexes, so I'm wondering if that was the cause.
I need to report to the customer what happened, but I'm at a loss of what to tell them.
Hi, I am facing issue while installing sql server 2016 developer edition on windows server 2016
log details from details.txt file .. any help
(01) 2019-08-21 11:58:20 SQLEngine: : File versions : ['C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Install\sqlscriptdowngrade.dll':2015.2015.5026.0], ['C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlscriptdowngrade.dll':(non-existing)].Hi,
I don't have the servers to test this currently, so posting here.
So future config plan is to have read only routing on readable secondaries with connection strings having application intent set to read_only.
Above should suffice normally, but i am looking into a failsafe, so that the app can't login for reads by even a mistake to the primary.
I was under the impression that disabling those logins on primary would be a simple workaround?
my confusion arises from
https://blogs.msdn.microsoft.com/mattn/2012/04/25/calculating-read_only_routing_url-for-alwayson/
Where i see that any connection goes to the primary 1st -> My question is if the login there is disabled, will the connection still be routed as explained in the link to secondary or will it get failed?
Please let me know, thanks.
D
For example, we can get CPU, Reads, Duration in Profiler. and can get total_elapsed_time, total_worker_time and total_logical_reads from dm_exec_query_stats. But their values are quite different.
Then how can I convert the values gotten by DMV to the values gotten by Profiler?
Hi Experts,
I have a doubt on Always on Availability groups. While trying to add(i.e. JOIN only) a database to AG. It was throwing below error.
I tried to check the backup history of that database. There were 10 log backups taken to a network share since last FULL backup. Full backup was already restored with no recovery on secondary.
Now, instead of copying those 10 log backups , I took a fresh local differential backup and tried to restore it with no recovery option. restore was successful. However, when I tried to add the database to AG from Primary replica , it again throws the same
above error message. I took another differential backup, and tried restoring with no recovery and it back to AG. Still same error message.. yes I do agree there are some incoming connections to the database on Primary (even before adding to AG). Finally,
I tried to take a fresh log backup on primary, restored with no recovery on secondary. now performed the JOIN only to AG. This way, I was able to add the database AG.
Now, my question is, Is there any difference in restoring Differential and log backup in this scenario ?
I just went for differential to avoid copying/restoring so many log backups. I have observed this in more than 2 times in our environment and that is the main reason why I want to know more about this. LOG BACKUP restore always worked.
Thank you
Sam
Hi Team,
One of the batch it is failing due to the below error by always on one of the tables while inserting,we are helping with dbcc cleantable(reindex/reorg-no luck)-they are not ready to change design-so how this can be fixed.
Error messages
Error has occurred Cannot create a row of size 8069 which is greater than the allowable maximum row size of 8060.
Table structer(I removed the column names and other columns).
IS_NULLABLE | DATA_TYPE |
YES | datetime |
YES | nvarchar |
YES | int |
YES | nvarchar |
YES | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
NO | int |
YES | nvarchar |
NO | nvarchar |
YES | nvarchar |
NO | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | nvarchar |
YES | real |
YES | nvarchar |
YES | nvarchar |
YES | ntext |
YES | nvarchar |
YES | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | int |
YES | nvarchar |
YES | real |
YES | real |
YES | money |
YES | money |
YES | int |
YES | float |
YES | real |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | nvarchar |
YES | nvarchar |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | real |
YES | real |
YES | real |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | money |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | float |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | real |
YES | int |
YES | nvarchar |
YES | nvarchar |
YES | ntext |
YES | real |
YES | nvarchar |
YES | real |
YES | real |
YES | nvarchar |
YES | datetime |
YES | datetime |
YES | datetime |
YES | datetime |
YES | datetime |
YES | datetime |
YES | datetime |
YES | datetime |
YES | nvarchar |
YES | nvarchar |
YES | real |
YES | real |
YES | real |
YES | nvarchar |
YES | datetime |
YES | datetime |
YES | int |
YES | nvarchar |
NO | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | nvarchar |
YES | nvarchar |
NO | int |
YES | int |
YES | int |
YES | int |
YES | int |
YES | nvarchar |
YES | int |
YES | nvarchar |
YES | nvarchar |
YES | nvarchar |
Regards, S_NO "_"
Hello!
Thisdocument says:
"The SQL Server Audit feature enables you to audit server-level and database-level groups of events and individual events."
...and it does contain the list of atomic events but only for the database-level audit (Database-Level AuditActions) - for server-level audit there's only the list of action GROUPS (Server-Level Audit ActionGroups) and the audit server operation event classes are given for each audit group instead, for example:
SERVER_OPERATION_GROUP This event is raised when Security Audit operations such as altering settings, resources, external access, or authorization are used. Equivalent to theAudit Server Operation Event Class.
Anyway I don't seem to understand how the class description corresponds to the contents of the audit events being registered (event 33205) so
Q1: Is there a way to audit server-level actions instead of action groups?
Q2: Does any documentation on how to parse the audit event 33205 exist ?
Thank you in advance,Could someone please help me understand the different between below 2 shrink operations.
- shrink database with truncate only option.
- shrink file command passed on log file.
DBCC SHRINKDATABASE(N'DB1', 20, TRUNCATEONLY)
DBCC SHRINKFILE (DB1_log,10)
hi,
while running below query , that eating database log files (grow ). is this select statement increase log file grow?
select id,mpn,last_confirmed_asin from fn_get_asin_by_itemid(@idvalue)
Func script:
CREATE function fn_get_asin_by_itemid(@itemid int) RETURNS TABLE
AS
RETURN select pd.id, pd.mpn, last_confirmed_asin from
(select item_id as item_id,last_confirmed_asin from amztm(nolock) where item_id=@itemid and disable=0 and item_condition is null) ai
inner join (select id,mpn from proddet(nolock) where id=@itemid) pd on ai.item_id=pd.id
what's the difference between two ?Plan Guide vs PLan freezing
and what't the limitation of Plan Guide ??
in sql query compilation . there are few steps, like parse,binding, normalize
sometime I see terms like algebrized tree/normalize tree/ query graph . what's their different and how they look like ?
I am testing the ability of In-memory table variables and set up the below test. Then I have the error message like this:
The statement has been terminated.
Msg 701, Level 17, State 103, Line 80
There is insufficient system memory in resource pool 'default' to run this query.
** An error was encountered during execution of batch. Continuing.
The error happens a little bit randomly. When I put a smaller number into the in-memory table variable, Sometimes the error shows up, other times the batches went through smoothly. By the way, I am using SQL Server 2016 developer edition, so there should not be a memory limit what so ever. And in fact, I think my computer at least has 4 GB RAM left when this error happened.
I am not familiar with the "resource pool", could anyone explain to me why this happens? And how can I avoid this issue or maybe know the edge limit of in-memory table variables?
PS: Not sure this information should help but I <g class="gr_ gr_22 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="22" id="22">checked </g>perfmon
<g
class="gr_ gr_22 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Style multiReplace" data-gr-id="22" id="22"> and</g> found for most of the time,IOPagePool64K
Total Allocated
drops down to 1 <g class="gr_ gr_23 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="23" id="23">and </g>IOPagePool64K
Free List Count
<g class="gr_ gr_23 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Style multiReplace" data-gr-id="23" id="23"> has</g> value 0 when I get the error. So if I have to guess, for
a certain time period, the allocated memory somehow get released or cleaned up? Even though it will allocate back to it later, but at the time it gets released, allocated memory will be insufficient since the allocated memory is 0? Can someone confirm that?
Thank you in advance!
CREATE TYPE dbo.GEN_UDT_INT_mem ASTABLE(
Id INT NOTNULLindex i1 NONCLUSTERED(Id))WITH( MEMORY_OPTIMIZED =ON);
GOCREATEPROCEDURE dbo.ASelectFunctionUsingTVP (@Filter dbo.GEN_UDT_INT_mem READONLY,@Result INT OUTPUT)ASBEGINSELECT@Result = t.IdFROM dbo.TABLEA tINNERJOIN@Filter f ON t.Id= f.Id;END;
GODECLARE@Vmem dbo.GEN_UDT_INT_mem ,@rst INT;INSERTINTO@VmemSELECT IdFROM#Temp -- Contain 510000 recordsEXEC dbo.ASelectFunctionUsingTVP @Vmem,@rst OUTPUT;
GO 1000
I want to know how to check how many CPU used in the parallelism in the query plan ?
And what's gather streams/repartition streams ?
Each month Microsoft TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance to be announced as MICROSOFT TECHNOLOGY GURU OF THE MONTH!
One winner in each category will be selected each month for glory and adoration by the MSDN/TechNet Ninjas and community as a whole. Winners will be announced in dedicated official post, a tweet fromMicrosoft Wiki Ninjas Twitter account, links will be published atMicrosoft TNWiki group on Facebook, and other acknowledgement from the community will follow.
Some of our biggest community voices and many MVPs have passed through these halls on their way to fame and fortune.
If you have already made a contribution in the forums or gallery or you published a nice blog, then you can simply convert it into a shared wiki article, reference the original post, and register the article for the TechNet Guru Competition. The articles must be written in Sep 2019 and must be in English. However, the original blog or forum content can be from beforeSep 2019.
Come and see who is making waves in all your favorite technologies. Maybe it will be you!
Anyone who has basic knowledge and the desire to share the knowledge is welcome. Articles can appeal to beginners or discuss advanced topics. All you have to do is to add your article to TechNet Wiki from your own specialty category.
Feel free to ask any questions below, or Join us at the official MicrosoftTechNet Wiki groups on facebook. Read More about TechNet Guru Awards.
If you win, people will sing your praises online and your name will be raised as Guru of the Month.
PS: Above top banner came from Ronen Ariely.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
----------------------------
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page
Hello. On one of our SQL servers, we have SQL Server 2008 Express installed. Whenever is the "SQL Server VSS Driver" service running, backing up the computer with Windows Server Backup will always fail. If I stop SQL VSS writer service, then it the backup will finish successfully, although apparently backup of the SQL DBs is not consistent.
Details:
- backup is executed with "wbadmin start backup -allcritical -backuptarget:d: -vssfull -quiet"
- root of the SQL Server instance (and all DBs, trans. logs etc) are located on a volume E:
- once the backup command is executed, it's stuck on the creating volume shadow copies operation for several minutes, failing afterwards
- SQL VSS Writer has status 8 (failed), last error is "non-retryable"
- eventlog contains myriad of messages since the backup is started (SQL server has hundreds of DBs on it), with variations of these 3 repeating:
a) SQLVDI: Loc=TriggerAbort. Desc=invoked. ErrorCode=(0). Process=1304. Thread=15788. Server. Instance=SQLEXPRESS. VD=Global\{A4C1E365-459A-4D41-B3D0-1A76DB8E56F6}517_SQLVDIMemoryName_0. Source: SQLVDI, EventID: 1. This is repeated numerous times, where thread id varies and number (517 in this case) in the VD identifier
b) BACKUP failed to complete the command BACKUP DATABASE <dbname>. Check the backup application log for detailed messages. (I removed the actual DB name, substed with <dbname>). This is repeated numerous times (I guess for every DB on the server)
c) event with missing description, here's the error content:
ICommandText::Execute
0x80040e14
SQLSTATE: 42000, Native Error: 3013
Error state: 1, Severity: 16
Source: Microsoft SQL Server Native Client 10.0
Error message: BACKUP DATABASE is terminating abnormally.
SQLSTATE: 42000, Native Error: 3224
Error state: 1, Severity: 16
Source: Microsoft SQL Server Native Client 10.0
Error message: Cannot create worker thread.
It's event with source SQLWRITER, eventid: 24583. This event is also repeated numerous times.
Note: the system already has default 100MB System reserved volume (active, system, primary) and the system volume (C:) (boot, page file, system state, primary), so hints as to mark the C: drive volume active are irrelevant.
System details: virtual machine - Windows 2008 R2 Standard, SQL Server 2008 Express with Advanced services SP1, updated
Already tried updating SQL to CU6 and also CU7. Also tried upgrading to SQL 2008 R2 Express. None of this helped.
Thanks in advance for any help.