Quantcast
Channel: SQL Server Database Engine forum
Viewing all 15264 articles
Browse latest View live

Login failed for user 'bobjim'. Reason: Password did not match that for the login provided. [CLIENT: ]

$
0
0

This error is generated when the db.open command in the dll that attempts to connect is run from a service created as a vb.net service project.  It does not occur when the same dll is called from a Windows form.  The dll works perfectly when called from the Windows form.   It appears that the password is being changed or dropped.  It may be that the logon is being attempted with LocalSystem as the user.  The error message is ambiguous - what does  [CLIENT: <local machine>] imply?  Why doesn't it read [CLIENT: bobjim]?

According to the Windows application log, the service starts and stops successfully.

What am I missing?  Is there a setting required for LocalSystem?  Does LocalSystem have to be added to the list of users for the SQL Server?

One other symptom is that when the service starts, the dll can create a log file, but apparently cannot write to it.  In conjunction with the above symptom this makes me suspect that there is a permissions issue.

Here is the connection string with the password obfuscated.

data source=Jim4;initial catalog=ShastaTest;persist security info=true;user id='bobjim';password='xxxxxxxxx';workstation id=JIM4;packet size=4096

The database is on an sql 2012 server configured for mixed mode authentication.  Access to the database with SMC works properly logged on as user bobjim with the same password.

The manifest for the service project was compiled with each of the following with no difference in results.

        <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />

The service was installed using srvman.  Here is the properties dialog for the service.

This is the OnStart code in SweepCalREDIEService project

    Protected Overrides Sub OnStart(ByVal args() As String)
        ' Insert code here to define processing.
        SweepCalREDIE.SweepCalRedie.SweepCalREDIE_Start()
    End Sub

Any suggestions would be appreciated.  It is not good practice to require a user to stay logged on to keep the application running for a large enterprise.  The application needs to run as a service and be set up for automatic start to ride through power outages or other interruptions.



How to capture the date and time when a db changed to single user

$
0
0

Hi Everyone,

I have a requirement to track the sqlserver when any DB changed from multiuser to singleuser.

I want to capture the date and time when anyone change any db from multiuser to single user and save this information in one text or csv file.

How can we do this using powershell?

Please suggest me if there is any other way to do it.

Thanks

sudeep 

TEMPDB - DBCC SHRINKFILE Does not free disk space (SQL SERVER 2008)

$
0
0

After a sudden growth of the TEMPDB data file to approximately 66 GB on production environment i have followed the second method available on MS KB (Method 2: Use the DBCC SHRINKDATABASE command) :

https://support.microsoft.com/en-us/kb/307487

However, after issuing the below script to shrink the file it didn't work and the file remains not shrink with the same 66 GB although the used space of the file now is  220 MB and free space is about 65 GB:

use tempdb
   go

   dbcc shrinkfile (tempdev, 'target size in MB')
   go
   -- this command shrinks the primary data file

   dbcc shrinkfile (templog, 'target size in MB')
   go
 

Is there any required actions to be applied prior to running the DBCC SHRINKFILE script ?

Update  :

When we try the SHRINKDATABASE option , one of the temp db files got shrink while the other showed the following message:

DBCC SHRINKDATABASE: Page 1:8477818 could not be moved because it is a work table page.

Regards


Login local server failed after update Windows 8.1 to Windows 10

$
0
0

Yesterday I updated my PC system from Windows 8.1 to Windows 10. I cannot login my local SQL server 2012. But I can work normally remote SQL Server with Microsoft SQL Server Management Studio. The local server information is :

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)

No Description - Modify Backup Maintenance Plan failes to save.

$
0
0

Hello,

 

SS2k5 - 9.00.3050 (x64) - Most current SP

 

I've created a backup maintenance plan 'All User Databases'.  Plan saved and executes.

 

Modify plan to add new subplan step to remove old backup files, save fails with a Studio Dialog encapsulating the message  ->  No Description

 

Cannot save the Maintenance Plan.

 

Any ideas about how to save the Plan?

 

Thank You...  Covi

 

How to send mails from SQL Server - stored procedures?

$
0
0

Hi,

I want to know the equivalent of the followingbbwhich is Informix stored procedure :

MAILX -S 'TXIX STORED PROCEDURE FAILED' CSENDEM YEEW MARKM";

in MSSQL server .

How do we send the mail with this message  from MSSQL server stored procedure?

Regards,

What is wait type UCS_SESSION_REGISTRATION?

$
0
0

On one of my SQL 2012 servers I see this wait type is responsible for very high waits - often as high as 60% of the wall clock time. What exactly does it represent? I can find no documentation on it anywhere.

Full SQL version is 11.0.3513. That's 2012 SP1 with security KB 3045317 applied.


Chuck

Issue with linked server

$
0
0

HI All,

We are configure linked server between SQL server 2005 to SQL server 2008.

I execute select * from command for some table its working fine and some table its giving below error.

Kindly help me how to resolve this issue.

Question
You cannot vote on your own post
0

OLE DB provider "SQLNCLI" for linked server "servername" returned message "Invalid character value for cast specification".

OLE DB provider "SQLNCLI" for linked server "servername" returned message "Invalid character value for cast specification".

Msg 7330, Level 16, State 2, Line 1

Cannot fetch a row from OLE DB provider "SQLNCLI" for linked server "servername".


CDC confusion - operation sequence of 3,4,1,2 returned as 1,4 by net changes function

$
0
0
I'm struggling to understand what I'm seeing in CDC's returned data and I wonder if anyone can tell me whether they can make sense of it.

I am seeing the following output from a query directly against the change table for a given primary key value - An update followed by a delete and then an insert, (but the delete and insert have the same start lsn)
__$start_lsn                           __$seqval              __$operation    __$update_mask
-------------------------             ----------------------  ------------ ---------------------------------------------
0x00BE03A8000457990085  0x00BE03A800045799001E  3            0x000000000000000000000000000000001000000000
0x00BE03A8000457990085  0x00BE03A800045799001E  4            0x000000000000000000000000000000001000000000
0x00BE04EA00005BC40059  0x00BE04EA00005B030173  1            0x01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
0x00BE04EA00005BC40059  0x00BE04EA00005B030173  2            0x01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 



If I execute a call to get net changes with the arguments 0x00BE03A8000457990085, 0x00BE04EA00005BC40059, 'all', I get the follwing:

__$start_lsn             __$operation    __$update_mask
----------------------   ------------    ------------------
0x00BE04EA00005BC40059  1               NULL
0x00BE04EA00005BC40059  4               NULL        



I'm not entirely sure about this, but I would expect to see just a single update (4) row from the get net changes function, given that the start and end lsn passed as the arguments specify an interval wherein the row existed at both the start and end of the interval. But I'm also confused about the "delete followed by insert" recorded in the change table, especially since both rows have not only the same (natural) primary key value, but also the same surrogate (identity column) value.

My best guess is that something in the system code might be doing weird stuff with identity insert and reusing the same natural key, and that this is confusing CDC. Can anyone clarify what I'm seeing here?

CDC error;

$
0
0

We have a database enabled for CDC and last few days we encountered this error multiple times
 The Log-Scan Process failed to construct a replicated command from log sequence number (LSN) 
{0026bfad:00073eaa:002d}. Back up the publication database and contact Customer Support Services. [SQLSTATE 42000] (Error 18805)  Log Scan process failed in processing log records. Refer to previous errors in the current session to identify the cause and correct any associated problems. [SQLSTATE 42000] (Error 22859)  The statement has been terminated. [SQLSTATE 01000] (Error 3621)

Checking the sys.dm_cdc_errors we notice this "Violation of PRIMARY KEY constraint 'lsn_time_mapping_clustered_idx'. Cannot insert duplicate key in object 'cdc.lsn_time_mapping'. The duplicate key value 
is (0x0026bfad00073eaa002c)." So we go and cleanup from cdc.lsn_time_mapping and the CDC process continues. But we cannot find the reason why its happening . Also see a connect item from sometime ago.

http://connect.microsoft.com/SQLServer/feedback/details/334459/msit-mso-cdc-capture-job-fails-with-pk-violation-error

But Our server is running sql 2008 sp3 cu2(10.0.5768) . So anyone know if we can still hit that issue? 

note:Also this database has been enabled for CDC for several years and we have started encountering this issue recently.

 


tail log backup error on IsHeaderWritable

$
0
0

hi all,

steps to reproduce:
a. Restore with recovery to my box(Windows 8.1) or windows server(Windows 2012 R2 Std)
restore database [TestDB]
 
b. Backup normal log
backup log [TestDB]
to disk = 'd:\Backups\TestDB.trn'
 
c. Backup tail log
backup log [TestDB]
to disk = 'd:\Backups\TestDB_tail.trn' with norecovery
 
Then I got following error:
 
Processed 6 pages for database 'TestDB', file 'Odyssey_SD001_Log' on file 1.
Location:     container.cpp:6448
Expression:   IsHeaderWritable ()
SPID:         55
Process ID:   2808
Msg 3013, Level 16, State 1, Line 5
BACKUP LOG is terminating abnormally.
Msg 3624, Level 20, State 1, Line 5
A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a Hotfix from Technical Support.
 
 
d. Run DBCC CHECKDB
There is no error, I am wondering if either the restore or the dbcc has a bug.
 
 
DBCC results for 'TestDB'.
Service Broker Msg 9675, State 1: Message Types analyzed: 14.
Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.
Service Broker Msg 9667, State 1: Services analyzed: 3.
Service Broker Msg 9668, State 1: Service Queues analyzed: 3.
Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.
Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.
Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.
Service Broker Msg 9605, State 1: Conversation Priorities analyzed: 0.
DBCC results for 'sys.sysrscols'.
There are 1121 rows in 13 pages for object "sys.sysrscols".
DBCC results for 'sys.sysrowsets'.
There are 153 rows in 2 pages for object "sys.sysrowsets".
DBCC results for 'sys.sysclones'.
There are 0 rows in 0 pages for object "sys.sysclones".
DBCC results for 'sys.sysallocunits'.
There are 178 rows in 2 pages for object "sys.sysallocunits".
DBCC results for 'sys.sysfiles1'.
There are 2 rows in 1 pages for object "sys.sysfiles1".
DBCC results for 'sys.sysseobjvalues'.
There are 0 rows in 0 pages for object "sys.sysseobjvalues".
DBCC results for 'sys.syspriorities'.
There are 0 rows in 0 pages for object "sys.syspriorities".
DBCC results for 'sys.sysdbfrag'.
There are 0 rows in 0 pages for object "sys.sysdbfrag".
DBCC results for 'sys.sysfgfrag'.
There are 0 rows in 1 pages for object "sys.sysfgfrag".
DBCC results for 'sys.sysdbfiles'.
There are 2 rows in 1 pages for object "sys.sysdbfiles".
DBCC results for 'sys.syspru'.
There are 0 rows in 0 pages for object "sys.syspru".
DBCC results for 'sys.sysbrickfiles'.
There are 0 rows in 0 pages for object "sys.sysbrickfiles".
DBCC results for 'sys.sysphfg'.
There are 1 rows in 1 pages for object "sys.sysphfg".
DBCC results for 'sys.sysprufiles'.
There are 2 rows in 1 pages for object "sys.sysprufiles".
DBCC results for 'sys.sysftinds'.
There are 0 rows in 0 pages for object "sys.sysftinds".
DBCC results for 'sys.sysowners'.
There are 19 rows in 1 pages for object "sys.sysowners".
DBCC results for 'sys.sysdbreg'.
There are 0 rows in 0 pages for object "sys.sysdbreg".
DBCC results for 'sys.sysprivs'.
There are 146 rows in 1 pages for object "sys.sysprivs".
DBCC results for 'sys.sysschobjs'.
There are 2285 rows in 33 pages for object "sys.sysschobjs".
DBCC results for 'sys.syscsrowgroups'.
There are 0 rows in 0 pages for object "sys.syscsrowgroups".
DBCC results for 'sys.sysexttables'.
There are 0 rows in 0 pages for object "sys.sysexttables".
DBCC results for 'sys.syscolpars'.
There are 920 rows in 14 pages for object "sys.syscolpars".
DBCC results for 'sys.sysxlgns'.
There are 0 rows in 0 pages for object "sys.sysxlgns".
DBCC results for 'sys.sysxsrvs'.
There are 0 rows in 0 pages for object "sys.sysxsrvs".
DBCC results for 'sys.sysnsobjs'.
There are 1 rows in 1 pages for object "sys.sysnsobjs".
DBCC results for 'sys.sysusermsgs'.
There are 0 rows in 0 pages for object "sys.sysusermsgs".
DBCC results for 'sys.syscerts'.
There are 0 rows in 0 pages for object "sys.syscerts".
DBCC results for 'sys.sysrmtlgns'.
There are 0 rows in 0 pages for object "sys.sysrmtlgns".
DBCC results for 'sys.syslnklgns'.
There are 0 rows in 0 pages for object "sys.syslnklgns".
DBCC results for 'sys.sysxprops'.
There are 0 rows in 1 pages for object "sys.sysxprops".
DBCC results for 'sys.sysscalartypes'.
There are 34 rows in 1 pages for object "sys.sysscalartypes".
DBCC results for 'sys.systypedsubobjs'.
There are 0 rows in 0 pages for object "sys.systypedsubobjs".
DBCC results for 'sys.sysidxstats'.
There are 258 rows in 6 pages for object "sys.sysidxstats".
DBCC results for 'sys.sysiscols'.
There are 450 rows in 2 pages for object "sys.sysiscols".
DBCC results for 'sys.sysendpts'.
There are 0 rows in 0 pages for object "sys.sysendpts".
DBCC results for 'sys.syswebmethods'.
There are 0 rows in 0 pages for object "sys.syswebmethods".
DBCC results for 'sys.sysbinobjs'.
There are 23 rows in 1 pages for object "sys.sysbinobjs".
DBCC results for 'sys.sysaudacts'.
There are 0 rows in 0 pages for object "sys.sysaudacts".
DBCC results for 'sys.sysobjvalues'.
There are 277 rows in 40 pages for object "sys.sysobjvalues".
DBCC results for 'sys.syscscolsegments'.
There are 0 rows in 0 pages for object "sys.syscscolsegments".
DBCC results for 'sys.syscsdictionaries'.
There are 0 rows in 0 pages for object "sys.syscsdictionaries".
DBCC results for 'sys.sysclsobjs'.
There are 16 rows in 1 pages for object "sys.sysclsobjs".
DBCC results for 'sys.sysrowsetrefs'.
There are 0 rows in 0 pages for object "sys.sysrowsetrefs".
DBCC results for 'sys.sysremsvcbinds'.
There are 0 rows in 0 pages for object "sys.sysremsvcbinds".
DBCC results for 'sys.sysxmitqueue'.
There are 0 rows in 0 pages for object "sys.sysxmitqueue".
DBCC results for 'sys.sysrts'.
There are 1 rows in 1 pages for object "sys.sysrts".
DBCC results for 'sys.sysconvgroup'.
There are 0 rows in 0 pages for object "sys.sysconvgroup".
DBCC results for 'sys.sysdesend'.
There are 0 rows in 0 pages for object "sys.sysdesend".
DBCC results for 'sys.sysdercv'.
There are 0 rows in 0 pages for object "sys.sysdercv".
DBCC results for 'sys.syssingleobjrefs'.
There are 174 rows in 1 pages for object "sys.syssingleobjrefs".
DBCC results for 'sys.sysmultiobjrefs'.
There are 124 rows in 1 pages for object "sys.sysmultiobjrefs".
DBCC results for 'sys.sysguidrefs'.
There are 0 rows in 0 pages for object "sys.sysguidrefs".
DBCC results for 'sys.sysfoqueues'.
There are 0 rows in 0 pages for object "sys.sysfoqueues".
DBCC results for 'sys.syschildinsts'.
There are 0 rows in 0 pages for object "sys.syschildinsts".
DBCC results for 'sys.syscompfragments'.
There are 0 rows in 0 pages for object "sys.syscompfragments".
DBCC results for 'sys.sysftsemanticsdb'.
There are 0 rows in 0 pages for object "sys.sysftsemanticsdb".
DBCC results for 'sys.sysftstops'.
There are 0 rows in 0 pages for object "sys.sysftstops".
DBCC results for 'sys.sysftproperties'.
There are 0 rows in 0 pages for object "sys.sysftproperties".
DBCC results for 'sys.sysxmitbody'.
There are 0 rows in 0 pages for object "sys.sysxmitbody".
DBCC results for 'sys.sysfos'.
There are 0 rows in 0 pages for object "sys.sysfos".
DBCC results for 'sys.sysqnames'.
There are 99 rows in 1 pages for object "sys.sysqnames".
DBCC results for 'sys.sysxmlcomponent'.
There are 100 rows in 1 pages for object "sys.sysxmlcomponent".
DBCC results for 'sys.sysxmlfacet'.
There are 112 rows in 1 pages for object "sys.sysxmlfacet".
DBCC results for 'sys.sysxmlplacement'.
There are 19 rows in 1 pages for object "sys.sysxmlplacement".
DBCC results for 'sys.sysobjkeycrypts'.
There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".
DBCC results for 'sys.sysasymkeys'.
There are 0 rows in 0 pages for object "sys.sysasymkeys".
DBCC results for 'sys.syssqlguides'.
There are 0 rows in 0 pages for object "sys.syssqlguides".
DBCC results for 'sys.sysbinsubobjs'.
There are 3 rows in 1 pages for object "sys.sysbinsubobjs".
DBCC results for 'sys.syssoftobjrefs'.
There are 4 rows in 1 pages for object "sys.syssoftobjrefs".
DBCC results for 'sys.filestream_tombstone_133575514'.
There are 0 rows in 0 pages for object "sys.filestream_tombstone_133575514".
DBCC results for 'sys.syscommittab'.
There are 0 rows in 0 pages for object "sys.syscommittab".
DBCC results for 'sys.filetable_updates_261575970'.
There are 0 rows in 0 pages for object "sys.filetable_updates_261575970".
DBCC results for 'sys.plan_persist_query_text'.
There are 0 rows in 0 pages for object "sys.plan_persist_query_text".
DBCC results for 'sys.plan_persist_query'.
There are 0 rows in 0 pages for object "sys.plan_persist_query".
DBCC results for 'sys.plan_persist_plan'.
There are 0 rows in 0 pages for object "sys.plan_persist_plan".
DBCC results for 'sys.plan_persist_runtime_stats'.
There are 0 rows in 0 pages for object "sys.plan_persist_runtime_stats".
DBCC results for 'sys.plan_persist_runtime_stats_interval'.
There are 0 rows in 0 pages for object "sys.plan_persist_runtime_stats_interval".
DBCC results for 'sys.plan_persist_context_settings'.
There are 0 rows in 0 pages for object "sys.plan_persist_context_settings".
DBCC results for 'sys.sqlagent_jobs'.
There are 0 rows in 0 pages for object "sys.sqlagent_jobs".
DBCC results for 'sys.sqlagent_jobsteps'.
There are 0 rows in 0 pages for object "sys.sqlagent_jobsteps".
DBCC results for 'sys.sqlagent_job_history'.
There are 0 rows in 0 pages for object "sys.sqlagent_job_history".
DBCC results for 'sys.sqlagent_jobsteps_logs'.
There are 0 rows in 0 pages for object "sys.sqlagent_jobsteps_logs".
DBCC results for 'sys.queue_messages_1977058079'.
There are 0 rows in 0 pages for object "sys.queue_messages_1977058079".
DBCC results for 'sys.queue_messages_2009058193'.
There are 0 rows in 0 pages for object "sys.queue_messages_2009058193".
DBCC results for 'sys.queue_messages_2041058307'.
There are 0 rows in 0 pages for object "sys.queue_messages_2041058307".
DBCC results for 'StorageDocs'.
There are 132000 rows in 7122 pages for object "StorageDocs".
CHECKDB found 0 allocation errors and 0 consistency errors in database 'TestDB'.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
 
 Microsoft support has identified that is_media_read_only of sys.master_file is set to 1 which is the root cause, we have to either copy data to new database or login as single user and DAC mode to hack the value as below:
select @@servername
GO
use master
GO
sp_configure 'allow updates', 1
GO
reconfigure with override
GO
update sys.sysbrickfiles set status=544 where dbid=?
 
We have hundreds of databases running on the sql box, there is no read only media, just wondering how could this happen, only 3 of us have access to the sql server none of us would hack the database to like this.

chunklets and autogrow

$
0
0

Hello,

I've a discussion with a administrator about the autogrow option or setting a large database file in order to minimize fragmentation. I said that he should reserve diskspace by setting the initial database to a certain amount of GB's.. He responded that"he has HP 3PAR and that works with Chunklets. This are pieces distributed over a number of disks and is not comparable with conventional SAN's".

Now, I've no experience with Chunklets and I would like to know does he has a point?

Regards,

Hennie

Rebuilding Index Online Blocks and Causes Resource Consumption Spikes

$
0
0

I have a large terabyte database with about three tables north of 25 GB in size. The database has an extremely high amount of write transactions happening throughout the day. The tables are heavily fragmented. When I attempt an online index rebuild, there is enough intermittent blocking to cause an outage of the associated application. In addition, the machine's CPU and disk latency skyrockets.

Anyone have any suggestions in how to approach?


Adam

Unable to Query Linked Server in SQl Server Agent

$
0
0

Hi Greetings to All,

I have been created a Linked Server which working fine in Query Editor when Executing Manually it is working fine without any errors. But when i am scheduling  same query in the SQl Server Agent as Job it is giving below error. Pls help on this.

Executed as user: ***\Administrator. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ACTUALCALLHISTORY". [SQLSTATE 42000] (Error 7303)  OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ACTUALCALLHISTORY" returned message "The Microsoft Access database engine cannot open or write to the file '\\*******\database\dbescape.mdb'. It is already opened exclusively by another user, or you need permission to view and write its data.". [SQLSTATE 01000] (Error 7412).  The step failed.


RehaanKhan. M

Trace Flags 1117 and 1118 are no more enabled after the server got rebooted

$
0
0

During a newly set up on one of our SQL server 2012:

We had enable the trace flags 1117 and 1118 as a good practice using DBCC TRACEON(1117,-1) and similar for 1118.

We have been base lining the server and it came to notice that trace flags are no more enabled.

Property                           Value                                                                       CaptureDate
DBCC_TRACESTATUS TF 1117: Status = 1, Global = 1, Session = 0            2015-10-20 00:00:00
DBCC_TRACESTATUS        TF 1118: Status = 1, Global = 1, Session = 0                2015-10-20 00:00:00

After reboot:

Property                              Value                                                                        CaptureDate
DBCC_TRACESTATUS         No trace flags enabled                                             2015-10-21 00:00:02.340

What can be the reason? What can be done to turn them on permanently, if its actually a good bet in enabling so

Please suggest, thanks!


windows 10 no internet

$
0
0
Non tech here thousands of different answers to this problem out there. Took laptop to seller who just installed new windows 10 my backup files pics etc are on D but can not find straightforward answer as to how to simply restore them to the newly installed windows 10 on C. Simple language would help me. I have been trying to find an intelligable answer for near enough 12 hours now.

Moving Central Management Servers (Registered Servers)

$
0
0

Hi, 

We have all our SQL servers registered in "Central Management Servers" (CMS) in an instance that is due to be decommissioned.   What would the simplest way of moving this CMS to a new instance, is there any way of doing this so that users are unaware and don't have to do anything? It took a while to get people using this central repository and any "inconvenience" and they will be back using their own registered servers. 

Also, as I understand it users need to be members of the ServerGroupReaderRole (msdb) role in order to access this CMS.  This is a bit of a pain and I would like anyone who has SSMS installed to have this role/right by default, what's the simplest way to do this? 

Any suggestions? 

Thanks 

SQL Server Windows NT 64 bit - very high memory usage - Have to restart server every 18 hours - please help.

$
0
0

Hi there,

On our newly configured SQL Server Windows NT 64 bit - very high memory usage show up.
We have to reboot it to get it to normal (like to 10% RAM) - RAM usage grows continuously - and in about 18 hours it reaches 95% and our website slows down by a great margin. We reboot the server to get it back to normal and so on.

During such outage I ran ---- Select * from sys.dm_exec_requests ----- and result is here.

If I can provide any more information please let me know.

Thanks so much for help.

Performance issues after upgrading to 2014

$
0
0

Hello,

We upgraded a dev database from sql server 2012 sp2 to 2014 (o/s is Windows 2008r2 sp1).  We are seeing bazillions of recompiles which kill our memory, and the related semaphore waits.  Apparently something changed with regard to variables in 2014?  Is there a fix for this?


Dianne

Why does INSERT hang on S mode (shared) locks?

$
0
0

I thought INSERTs used "X"  mode (exclusive) locks. Does it also acquire "S mode (shared) locks?

Here's why I ask. I'm capturing extended events for lock_acquisition > 1 second and see lots of waits in the range of about 5 seconds (5000000 µS), always for the same INSERT on the same table, and the mode is always "S". 


Chuck

Viewing all 15264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>