I keep getting this alert, but the backups are working.
BACKUP failed to complete the command BACKUP LOG CustomerSupport. Check the backup application log for detailed messages.
Any ideas?
I keep getting this alert, but the backups are working.
BACKUP failed to complete the command BACKUP LOG CustomerSupport. Check the backup application log for detailed messages.
Any ideas?
Hello Everyone,
Am planning to migrate my domain from a single label domain CONTOSO to FQDN CONTOSO.COM, I would your advise on the impact of this change to my SQL services and the application using the SQL instances. Will all the services resume as normal once all machines pick the same new domain? Are there things you would recommend I take care of before and after rename?
Thanks in Advance.
Meshack
Hello,
I have a job that fails with the following error if exectued via the SQL Server Agent but not if executed manually.
The error is:
Error: 2014-03-31 21:30:14.89 Code: 0xC002F210 Source: Maintenance Cleanup Task Execute SQL Task Description: Executing the query "EXECUTE master.dbo.xp_delete_file 0,N'\\erpfiles\b..." failed with the following error: "xp_delete_file() returned error 2, 'The system cannot find the file specified.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error
I have checked and the user configured to run the SQL Agent has all needed accesses to the folder \\erpfiles\b....
Have you an idea to help me go further in my troubleshooting ? Or have you an idea to solve my problem ?
Thanks in advance
I see that support for Office 2003 disappears next April. Is it possible to upgrade the Office 2003 Web Components with Office 2010 or 2013?
Thanks
Chris
Hello everybody.
Today I realize that new SQL 2014 changed my existing folder permissions (NTFS). This folder was shared for domain users and had set NTFS permissions for domain users and local administrators.
In setup of SQL I set backup directory to this shared folder and continued with setup. After finisting setup I realize that this folder is not accesible via network. Finally I realized that setup changed permissions - it added his MSSQL$INSTANCENAME account into Security Tab and added all permissions to it. Other permissions was erased!
What the hell MS is wrong with you?
I must retake ownership to this folder and subfolder to fix it.
This is not funny and I think it is a BUG! I think that older SQL servers do not have begavior like this new one 2014.
Maybe it will be helpfully for somebody.
Maybe Microsoft found his lost saying - This is NOT a BUG, it is a FEATURE!
Have a nice day and keep calm.
Jarda Nechvatal
One database name abc,
when I connect via ssms to see all listed database
I find abc(in recovery)
What's happened? How to fix it?
Hi,
I have a task to drop all the objects(Views,Functions,Procedures and Triggers) which are directly dependent on 200 tables.
Using SSMS, i have got the "View Dependencies" script which gives me the complete N-Level of dependency list.
But i would like to get only the direct dependent objects of those 200 tables.
Can anyone help me plz.
Hello,
I run the following script to reorganize an index, but then the next day the database shows 26% fragmentation again.
USE [database];
GO
ALTER INDEX [IDX_INDEX] ON [COLUMN] REORGANIZE;
GO
I after I run the script SQL Server shows 0% fragmentation, but then the very next day it shows 26%. I have SQL Server 2008 R2. I am running a nightly maintenance plan that includes rebuilding indexes, full backups, updating statistics, cleaning up history.
Any ideas on what could be going on?
Thanks.
Paul
I have a sql2012 server running on server 2012. It has 48gb of RAM (max sql mem set at 39) and I keep getting this error at around 3 AM on random days.
A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds. Working set (KB): 17697520, committed (KB): 38618464, memory utilization: 45%%.
The 7 application servers which rely on this server lose their connection and the application involved fails.
I've seen a bunch of articles suggesting hotfixes, but they're all related to server 2003. Suggestions?
Thanks!
Hi,
I have this table with over 20 GB of unused space
captured by exec sp_spaceused tablename
how can i resolve this one
Please assist
k
Here are detail logs--What is the issue?How to fix it? one log is from job history and the other is log generated by job(send text words to log file)
Date 4/5/2014 9:10:04 AM
Log Job History (DbccAll)
Step ID 2
Server test11\abc
Job Name DbccAll
Step Name run dbcc
Duration 00:46:40
Sql Severity 21
Sql Message ID 9001
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 3
Message
Executed as user: abc\user11. ... have been terminated by the server. [SQLSTATE HY000] (Error 0) A database snapshot cannot be created because it failed to start. [SQLSTATE 42000] (Error 1823) A database snapshot cannot be created because it failed
to start. [SQLSTATE 42000] (Error 1823) Write to sparse file 'd:\mssql\Data\test1_FG8888_Data.ndf:MSSQL_DBCC17' failed due to lack of disk space. [SQLSTATE 42000] (Error 5128) The database snapshot for online checks could not be created. Either
the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive access to run checks offline. [SQLSTATE 42000] (Error 7928) The log for database 'test1' is not available.
Check the event log for related error messages. Resolve any errors and restart the database. [SQLSTATE HY000] (Error 9001) During redoing of a logged operation in database 'test1', an error occurred at lo... The step failed.
Job 'DbccAll' : Step 2, 'run dbcc' : Began Executing 2014-04-05 7:00:02
Msg 0, Sev 0, State 1: Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000]
Msg 1823, Sev 16, State 1, Line 1 : A database snapshot cannot be created because it failed to start. [SQLSTATE 42000]
Msg 1823, Sev 16, State 1, Line 1 : A database snapshot cannot be created because it failed to start. [SQLSTATE 42000]
Msg 5128, Sev 17, State 2, Line 1 : Write to sparse file 'd:\mssql\Data\test1_FG8888_Data.ndf:MSSQL_DBCC17' failed due to lack of disk space. [SQLSTATE 42000]
Msg 7928, Sev 17, State 1, Line 1 : The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive
access to run checks offline. [SQLSTATE 42000]
Msg 9001, Sev 21, State 7, Line 1 : The log for database 'test1' is not available. Check the event log for related error messages. Resolve any errors and restart the database. [SQLSTATE HY000]
Msg 3313, Sev 21, State 1, Line 1 : During redoing of a logged operation in database 'test1', an error occurred at log record ID (412500:38522:403). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the
database from a full backup, or repair the database. [SQLSTATE HY000]
Msg 9001, Sev 21, State 1, Line 1 : The log for database 'test1' is not available. Check the event log for related error messages. Resolve any errors and restart the database. [SQLSTATE HY000]
Hello all!
I've recently installed MS SQL2008 R2 server, created two maintenance plans, one operator with my correct email and configured Database email.
I am concerned Database email, I configured maintenance jobs that when the job completes, send an email to operator, but the sql server does not send it :( I see the logs, that it even didn't tried to send.
Test emails works correctly.
Can anybody advice me, how to get emails work?
We have an instance of SQL Server 2005 which we are about to upgrade to SQL Server 2008R2.
The Upgrade adviser has informed us that we must deal with the Full-Text search before we upgrade.
Full-Text Search is installed but disabled. So, it would be best for us not to have it at all.
My question is this.. How do I uninstall it?
The OS is Windows Server 2008 R2 Standard.
Thanks,
Les
Hi,
I have the following SQL Server Memory related questions. Shedding light on the same highly appreciated.
1. The Maximum Memory Configuration applies only to BufferPool Memory Usage.
2. BufferPool & Plan Cache Memory usages are different and Plan Cache Memory usage is not restricted by Maximum Memory Setting.
3. I am using Process Explorer at on server on which the Maximum Memory configuration is set to 18 Gigs whereas the total SQL Server is showing as 19+ Gigs, the Physical Memory on this server is 24 Gigs. I understand there some non-bufferpool usages, Is the non-bufferpool usage could be the only content.
4. What are the major memory usage blocks that is showing with Process explorer like, Bufferpool, Plan Cache, Non-bufferpool memory usages, is there any other memory usage items ?
5.On a 2008 64-bit instance, Maximum Memory is configured with 18 Gigs and the Process Explorer is showing the memory usage as 19+ Gigs, As per task manager the memory usage is more than 95 % of the total memory 24 Gigs. To get rid of the alert, If I forcefully issue the following queries, I am able to get rid of the memory critical alerts, i.e using Maximum Memory configuration the maximum limit is reduced to 4 Gigs and increasing it again to 18 Gigs, is this an recommended way of doing ? If not, what could be the impact,
EXEC sp_configure‘max server memory (MB)’,4096;EXEC sp_configure‘max server memory (MB)’,18432;
GO
RECONFIGURE;
GO
6. I have issued DBCC FREEPROCCACHE on the SQL Server instance, and the memory usage on Process Explorer is not getting reduced. (Before issuing this query check that the total plan cache usage memory is more than 3 Gigs, the following query is used to check the plan cache memory usage :
SELECT SUM(cast(size_in_bytes AS BIGINT))/1024/1024 AS 'Size (MB)'I am new with SQL and has been giving an assignment to make backup of our database with stored procedures.
How do I do that?
HI, all
We meet a strange problem for a execution plan. First, we have a StoreProc, it runs around less than 20 secs. One day, it runs more than 5 mins (Execution plan 1). I checked all the index (fragmentation is low and Scan density is high), and re-run the update statistics, but the performance still have no any improvement.
This is very strange for me, why the query becomes slow suddenly on one day (we will know the performance immedidately because it is a daily function, user will report to us if the performance is low, we only got complain today.)?
Finally, we tested in two ways.
1. We run the below update statistic command with one index - "update statistics dbo.PCMS_CARD_TRANS MGM_IDX_PCMS_TRANS_TIME_PROCESSING"
Result: It runs under 20 secs.
2. We create a new index - "MGM_IDX_Test_TRANS_TIME"
Result: It runs around 1 second, but I checked the execution plan (Execution plan 2) didn't change and the new index is not use for it...we feel strange again on it......
All information was included in below:
Table - PCMS_CARD_TRANS, PCMS_CARD_PROFILE.
VIEW - PCMS_V_CR_CARD_STOCK
StoreProc: PCMS_CardRoom_GetProcessedCardStock
Index: All zipped.
I have a SQL Server 2008 R2 on Windows Server 2008 R2, on 64-bit virtual machine, dual processors dual quad core , and 32 GB RAM.
If I restart the server, and after all the processes and services start running, the used memory is not more than 4 ~ 6 GB (I don't remember exactly, but small compared to the overall 32 GB). Every day the used memory increases for 2~3 GB!, till it reaches 97% of the physical memory (31 GB), 29 GB of them for the SQL Server:
My question is how can I know what SQL Server processes or queries causes those increases in the memory? and if it is a process or query, why the used memory is not released after that process or query finishes ?!
Honestly, there is no complain about the performance of the server, but the weird thing is that as much as I give the server RAM as much as the SQL Server takes! The server was 8 GB and I increased it to 16 then 32 GB, but the SQL Server keeps eating more and more!