A large table access suddenly got 2x slower
Access to one of our large tables suddenly got slow. We have a table T1 which contains millions of rows. For each row in that table, call an sp which looks up rows in table T2 and then updates T1. T2...
View Articletable space allocation, medium-large database, sp_spaceused
There are several scrips around to identify what allocates space in the database, some use sp_spaceused, some sys.allocation_units. I'm looking at medum-large production database (4TB range), several...
View ArticleSql server service crashes a few times yesterday, however, there is no .MDMP...
hi there: I've experienced several sql server service crashes yesterday, service was brought up after a few secs as we have an autostart feature. Today, I'd like to dig more into the errors and on the...
View ArticleSQL 2012 Memory Usage
Hi,We have a core sql database server, which have 256 GB physical memory ,and give maximum physical memory to sql server 240000 MB, sql server service startup account has locked memory privilege.We...
View Articleturning clustered primary key into heap, vldb
there is a medium-large db, high i/o. several large staging tables (for etl, very wide) were created with clustered pk varchar(40) (different story why, it was a design tool that did that). etl runs...
View ArticleThe SQLAGENT$InstanceName service on ServerName started and then stopped.
SQL Server 2012 on OS 2012The port number of Analysis Services was changed to the same number as the SQL Server Engine and SQL Server Agent. This was done by someone else and not me. What happened...
View ArticleFUll backup is taking 2 days to complete
i have a maintenance plan setup for full backup and the total size of databases is around 4 TB. compress backup option is also enabled.it takes around 2 days to finish every week, what can be the...
View ArticleWhen my sql server service crashed , it did NOT generate SQLDUMPxxxx.MDMP...
hi there: We are going to open a ticket for MSFT support. One of files we want them to investigate is the SQLDUMPxxxx.MDMP.However, when our sql service crashed, it did not generate any of that......
View ArticleArchiving a database
We have the problem of a database growing larger every day which is causing it to slow down. We want to keep old data though. Would a possible solution be to rename the database something like...
View ArticleLogin to SQL Server fails when user connects from another domain through...
Objects in useAlpha.com (NetBIOS name: Alpha) Windows 2003 domainBravo.com (NetBIOS name: Bravo) Windows 2008 R2 domainA two-way forest trust between Alpha and Bravo is establishedA User Alpha\AliceA...
View ArticleFailover Clustering 1069
Hi, We are on windows 2008 R2 running SQL Server 2012. We have two node cluster. My databases are not coming up and when I check through Failover Cluster manager, Network,Disk resources are online but...
View ArticleMinimum RAM available for operating system after SQL instance reservations ...
Hi,we have a Windows 2008 R2 server with 96 GB of RAM, running SQL Server 2008 R2 on it. We have 4 instance, whose memory maximums are (in GB) : 4, 16, 16, 32. Total : 68 GB. My question is : can I...
View Articleoptimize a query on partitioned table
I have a table like the followingsales intperiod_key int store_key intproduct_key int It is partitioned on period_key which is like 20110806, etc, every day is a partition. The query is select...
View ArticleHow should I start, stop or restart SQL services if it is in a cluster?
Hi,For migration purpose I need to stop sql server services in a cluster. I don't want to failover the cluster I just want to stop the sql server services before the windows system admin shutdowns the...
View ArticleModify FILEGROWTH online
Hi, Can the FILEGROWTH be modified whilst the database is online and has active users,? e.g. ALTER DATABASE [DG] MODIFY FILE ( NAME = N'DG', FILEGROWTH = 204800KB )The database is 1TB in size and has...
View ArticleSql Server 2012 slower than 2005
Hi All, i've restored a Sql2005 DB to a new Sql2012 Serverthe Old server was a WServer2003 (32bit) with 4GB of RAM The New one is a WServer2012R2(64 bit) with 64GB of RAM with only a SqlServer instance...
View ArticleConvert Zero-Length String to NULL during INSERT
Hi,I have an app that is not using Stored Procedures (it is using Hibernate) to insert records into tables.It can save <null> into nullable-number fields just fine, but is always inserting a...
View ArticleServer shutdown details not appearing in error log
Hi,The server got stopped suddenly and when checked, the server shutdown details are not found in error log. I manually stopped a test server 3 times from configuration manager and I was able to see...
View ArticleQuestion about resource governor
I have a couple of questions regarding resource governor:1. Do the resource governor settings override the SQL 'max server memory' settings?For example, if I configured OLTP resource pool (0 to 50 %)...
View ArticleMSSQL Server Backup From Zip file (without manual extraction)
Hi Team,I just come into situation where extraction zip file consume drive space and iam not able to restore mssql backup. can we have any native way to perform database restore directly from ZIP...
View Article