I want to backup sql server database to Z drive.
I run backup through tasks--->backup
Backup destination is Z:\test.bak
It shows backup job completed successfully but no test.bak is on Z drive.
What's happened? How to fix this problem?
I want to backup sql server database to Z drive.
I run backup through tasks--->backup
Backup destination is Z:\test.bak
It shows backup job completed successfully but no test.bak is on Z drive.
What's happened? How to fix this problem?
Hi all !! there are many read error from my error log :
Attempt to fetch logical page (1:106) in database 6 failed. It belongs to allocation unit 196608 not to 281474980642816.
I read DBCC checkDB.... the it asked me to run dbcc checkcatalog,, however there is no error.
any one has idea ??
If I have below privilege on windows server.Could I restore a database with windows login z-aj1
Because I am not able to execute command create database test;
C:\Users\z-aj1>whoami /all
USER INFORMATION
----------------
User Name SID
============== ===============================================
asi\z-aj1 S-1-5-21-1947469866-3492979747-2349907686-32240
GROUP INFORMATION
-----------------
Group Name Type
SID
Attributes
====================================== ================ ========================
======================== ==================================================
Everyone Well-known group S-1-1-0
Mandatory group, Enabled by default, Enabled group
BUILTIN\Users Alias S-1-5-32-545
Mandatory group, Enabled by default, Enabled group
BUILTIN\Remote Desktop Users Alias S-1-5-32-555
Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\REMOTE INTERACTIVE LOGON Well-known group S-1-5-14
Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\INTERACTIVE Well-known group S-1-5-4
Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\Authenticated Users Well-known group S-1-5-11
Mandatory group, Enabled by default, Enabled group
NT AUTHORITY\This Organization Well-known group S-1-5-15
Mandatory group, Enabled by default, Enabled group
LOCAL Well-known group S-1-2-0
Mandatory group, Enabled by default, Enabled group
ASI\GSGASIINNOI01-GSSCDBAdmin Group S-1-5-21-1947469866-3492
979747-2349907686-32150 Mandatory group, Enabled by default, Enabled group
PAC\GSGPACITTeamAdmin Group S-1-5-21-2199847848-3872
042683-2133798733-22665 Mandatory group, Enabled by default, Enabled group
EUA\USGEUA-GSSCDatabase Group S-1-5-21-2680509306-2404
333407-1988928202-269166 Mandatory group, Enabled by default, Enabled group
PAC\GSGPACDatabaseTeamAdmin Group S-1-5-21-2199847848-3872
042683-2133798733-23040 Mandatory group, Enabled by default, Enabled group
EUA\USGEUA-NDCServerAdministrators Group S-1-5-21-2680509306-2404
333407-1988928202-172994 Mandatory group, Enabled by default, Enabled group
PAC\GSGPACITDashbaord Group S-1-5-21-2199847848-3872
042683-2133798733-42311 Mandatory group, Enabled by default, Enabled group
AME\GSGAMESQLDBA Group S-1-5-21-4188712819-4119
583879-3265529431-66338 Mandatory group, Enabled by default, Enabled group
PAC\GSGPACAUVNCUsers Group S-1-5-21-2199847848-3872
042683-2133798733-1158 Mandatory group, Enabled by default, Enabled group
BVCORP\DCOM Certificate Access Group S-1-5-21-3495070207-2617
21303-3311253519-6101 Mandatory group, Enabled by default, Enabled group
EUA\USGEUA-GSSCSystemTeam Group S-1-5-21-2680509306-2404
333407-1988928202-269164 Mandatory group, Enabled by default, Enabled group
Mandatory Label\Medium Mandatory Level Label S-1-16-8192
Mandatory group, Enabled by default, Enabled group
PRIVILEGES INFORMATION
----------------------
Privilege Name Description State
============================= ============================== ========
SeChangeNotifyPrivilege Bypass traverse checking Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set Disabled
C:\Users\z-aj1>
Thanks
Hi,
I know that , max server memory property is about physical memory limit for buffer pool. But some says that, it is about Vas (virtual adress space) limit for buffer pool. I know that , Vas structure includesphysical memory and virtual memory. Then it means that max server memory is not equal maxphysical memory for buffer pool.
Which one is true?
hello experts
i am looking the best practise considering performance to import a text file to a sql server 2008r2. i have 1,500 files that need to be imported to sql server? thank you as usaual.
We are starting to upgrade to SQL Server 2008 R2 Enterprise, and 1 server has been 100% successful; 2 has had all sorts of issues. All put 1 issue as been resolved. Certificate used for SSL Encryption is not seen when using SQL Server configuration manager. The thumbprint is in the certificate value hklm\software\microsoft\microsoft sql server\MSSQL10_50.MSSQLSERVER\MSSQLServer\SupportSocketNetLib.
How can We re-enable SSL Encryption and or get SQL Server Configuration Manager to see our certificate?
Prior to upgrading to SQL Server 2008 R2 Enterprise x64 we were using SSL Encryption with SQL Server 2005 Enterprise x64.
thanks.
DJ
I need to receive an email when a disk space on a given drive (which has SQL DB files) falls below 3 GB:
- I need to use alerts (I don't want to use a SQL job to run some SP every x mins).
- SQL Server performance condition alert cannot be used, because SQL cannot access non-SQL performance counters
- if you use WMI event alert, please provide a query
- registry cannot be modified (I know what you were thinking)
Seems like a rather common DBA need, and I can't find a solution. Thanks in advance.
Hi
We can test the SQL Server drives IO Performance using SQLIO tool.
The command used is
sqlio -kW -t2 -s120 -dM -o1 -frandom -b64 -BH -LS Testfile.dat
Here the drive used is M for IO Testing,
In our DC we are using SQL Mount points to mount the data, log and backup drives. so it has only one drive
In this how we can test the specific sql drive for IO testing
I have tried using the below cmd for sql drive by placing the testfile.dat in M:\Backup folder .. its showing error
sqlio -kW -t2 -s120 -dM \backup -o1 -frandom -b64 -BH -LS Testfile.dat
and
sqlio -kW -t2 -s120 -dM:\backup -o1 -frandom -b64 -BH -LS Testfile.dat
can you confirm what is the exact syntax to be used for doing IO test on Mounted SAN drives
Regards
Rajesh
Raj
Hi All,
Is it possible to convert the existing snapshot replication to transactional replication?
Thanks in advance,
Hi
I got the below error when I try to start SQLServerAgent
==================================
Unable to start service SQLSERVERAGENT on server(####) (mscorlib)
------------------------------
Program Location:
Server stack trace:
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceActionHandler.EndInvoke(IAsyncResult result)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceControlProgress.ActionCompletedHandler(IAsyncResult result)
Any one know how to resolve this ?
Thanks
Priya
Server A and server B
one .bak file on server B
I need to restore database on server A from that .bak file on server B
I Server A has C,D and E drive
Server A: Create Z drive as network drive mapped to that .bak file on server B
When I run restore database on server A
I cannot browse network drive Z from via Sql server management studio to restore
I want to browse that network drive Z drive and pick up .bak file. Find .mdf,.ndf and .ldf file listed and then put .mdf,.ndf and .ldf on right drive with right name.
how to fix this issue?
I run EXEC
sp_configure
'xp_cmdshell'
, 1
Message is"....change from 1 to 1 "
Then
EXEC
XP_CMDSHELL
'Dir N:'
cannot find store procedure xp_cmdshell
I check master database.
No dbo.xp_cmdshell under store procedure.
How to fix it? I need run command
EXEC
XP_CMDSHELL
'Dir N:'
Thanks
Is it possible to send the email from sql server 2012 developer edition..?
Thanks,
Hi
I have a webapplication connected to SQL Server 2012 Web Edition.
As soon as the webserver is down I start a second webserver, which needs to have the same content, also on SQL DB level.
That’s why I take a backup of the SQL Server on the first server recovering it to the second server. This works fine.
The database name as well as the database user name are the same on both SQL servers. This database user has owner rights on database level. The configuration does not change, during recovery process on the target server, which overwrites the earlier content state of the db.
For any reason the webapplication cannot connect to the database afterwards. Of course the contents of the html files in the IIS webfolders are identical on both servers.
The application connects via IP address 127.0.0.1 (not server name), database name, database user and password, all these parts have also been initially set on both servers in the same way.
It seems, that the two databases still have a slight difference.
Your input is welcome.
Patrick
hi experts,
backup executing..on db... which is having 70GB size..while executing it is blocked...
tried to kil session but it is terminating ...!
there is any solution..pls share your ideas..!
Thanks in Advance.
Hi,
How can I find how often does checkdb run?
REgards
Bilal
Hello ,
I have collected all my SQL Server counters to check the performance as below image shows , but actually I don't know what is the next step should I start analysis figures or I have to do something else before submit the final report
Hi
My req is to update a table which is linked to a table of another database in same server. I am new to this and I read about sp_addlinkedserver and Synonym. Now i am not sure which 1 to use in my SQL2012 . Please help.
Hi,
I have two tables in SQL Server 2008 R2, Parent and Child Table.
Parent has date time, and it is partitioned monthly, there is a Child table which just refer the Parent table using Foreign key relation.
is there any problem the non-partitioned child table referring to a partitioned parent table?
Thanks,
Areef