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

Image may be NSFW.
Clik here to view.

Unable to release Tempdb free space

Hi All,My tempdb drive size is 50 GB. Now it is occupied 43 GB. when i checked sp_spaceused, the result as below.database_name | database_size | unallocate spacetempdb               | 43161.94 MB   |...

View Article


checking cores for sql server

Hi,How to check how many cores on per cpu in sql server orhow many cores our sql server instance is using. I need this for licensing purpose.Thanks

View Article


SQL Audit fail

Hi I see many audit fail for MSSQLSERVER at eventlogand the login is from a remote computer and the login name is"domainname\REMOTESERVERNAME$"But I don't know which login it is referring to . Any hints?

View Article

Can xp_instance_regread be error handled

I have a small script generator which will try to find which folder a backup file needs to be restored to and eventually print the restore script in the messages section in SSMS. During location of the...

View Article

Replication and Clustering

Hi, Is it possible to set up a Publisher-subscriber replication on a SQl cluster that has two nodes? I have never seen this kind of configuration before. Thanks. 

View Article


SQL Server 2008 R2 - Memory Problem - Error: 17803, Severity: 20, State: 13.

Hi, since a few back we been having some memory problems with our sql server, nothing have really change in the enviroment but these issue are kind of new. ANY HELP WOULD BE APPRECIATE THANKS. here is...

View Article

SQL Server 2008 R2 { An Error occured when attaching database(s) }

Hello Guys!I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem.on the day 2, i keep getting this...

View Article

SOLUTION TO MINIMIZE TEMP DB

HI GUYS...We are working on sql server 2005 and the problem is with the temp db,it is frequntly becoming full and forcing us to restart the srever every time when it is full.Can anybody tell me about...

View Article


DBCC_OBJECT_METADATA & DBCC_CHECK_AGGREGATE latch

what does DBCC_OBJECT_METADATA & DBCC_CHECK_AGGREGATElatch wait mean?Manish

View Article


DBCC How Repair_Allow_Data_Loss works actually.

As per the articlehttp://www.sqlskills.com/blogs/paul/corruption-last-resorts-that-people-try-first/Kindly let me know Repair_Allow_Data_Loss will not rectify the logical error $1000. it means data...

View Article

Attachement to adventure database failed

Unable to open the physical file,operating system error 5:failed to retrieve text for this reason:15105(Microsoft SQL error 5120

View Article

SQL transaction log question

I have database which is 800GB big, recovery is set to full and there is also 700GB transaction log file. I need to do something about this log size:). Database and log file is on RAID10 SAS drives. 1)...

View Article

Why decrease MAXDOP?

Hi All,I'm doing research on WHY decreasing MAXDOP for my SQL Server (2 sockets x 6 cores + HT = 24 logical cpus) would benefit my system? According to one of my previous posts here and based on MSFT...

View Article


help to rewrite the query and make it run faster

I have a function but it runs very slow, I think the reason is because it has Order by case statement.Can anyone help to restructure this query , that may runs faster but the same result.The table...

View Article

How to setup SQL Alert on any error in SQL Server

I am looking for any possible ways to setup SQL Server Alerts on any error that occurs in SQL Server, is there a simple way to achieve this? I know, I can configure separate SQL Server Event Alerts...

View Article


calculate the size of tables in bytes

Dear all,Is there any sql function to calculate the size in bytes for each table? Thx a lot.Best regards,Wallace

View Article

Table Partitioning

Hi All,How to check wheather my data is partition created on the table is in use or not. Or Data is storing as per created partitioned.

View Article


Table level, partial data restore.

Hello,I'm trying to solve the following problem. I have a central DB that holds data for many organizational units. Data for every organizational unit spans many tables. The problem is how to process a...

View Article

Select @@Servername shows incorrect entry

Hello,i migrated all databases from a SQL Server 2008r2 Cluster (Name: Cluster01) to a SQL Server 2012 Cluster (Name: Cluster08). After the migration I renamed the 2008r2 Cluster to ClusterOL and the...

View Article

Periodic server crashes on DB server, no cause?

We've got 2 DB servers, connected to a SAN via fiberchannel connection.We've had periodic (1-2) crashes a week off an on, but have become more frequent.The only thing running on the servers is SQL...

View Article
Browsing all 15264 articles
Browse latest View live


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