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

DMV

Hi,Which DMV we use to know CPU usage.

View Article


DMV's and DMF's

Hi,Difference between DMV's and DMF's. Pls list out DMV's and DMF's seperately.

View Article


Backup files

Hi,How do we check the backup files are validated or not.How do we check to know where the backup files are located?

View Article

Tlog file

Hi,After shrinking the Tlog file, the space is not reduced what may be the reason. what we need to do?

View Article

Exchanging data between databases fails in scheduled jobs

In a environment where multiple servers running SQL-Server 2005 support various databases i have to exchanga data and results between two databases running on different servers. The transact-sql...

View Article


SQL 2008 R2 Best Practices for Updating Statistics for a 1.5 TB VLDB

We currently have a ~1.5 TB VLDB (SQL 2008 R2) that services both OLTP and DSS workloads pretty much on a 24x7x365 basis. For many years we have been updating statistics (full scan- 100% sample size)...

View Article

Recover space by deleting images

Hi We have a table in a database which has a column of type image. The database has grown tremendously in size so we wanted to move the data in the image column to disk and we did to part of the...

View Article

Image may be NSFW.
Clik here to view.

Database Access issue

Hi team,when i loged into production sql server after we are facing bellow issue,please send answer ASAP... 

View Article


Filegroups - are different backup/restore strategies possible?

Dear All,We have: Database: X FILEGROUP: PRIMARY    File - Logical Name:X, File Name:x.mdf    Tables: ... FILEGROUP: BIG    File - Logical Name:X_big, File Name:X_big.mdf    Table: LargeTable A backup...

View Article


sql profiler sqltransaction with DatabaseName null

Run a server side profiler trace since I have sleeping spids appearing occasionally on the server. noticed some SqlTransaction events where DatabaseName column shows null . Majority of the...

View Article

undo delete statement...is it possible

I've made a very silly mistake. I was supposed to run this statementdelete table_columnswhere col_id = 1223but instead I mistakenly executed just the 1st line.I have no backups....is there any possible...

View Article

RAISERROR in SQL 2012 since SQL 6.5

Hi everyone,we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:RAISERROR 50001 'Error during execution of task XXXXXX'Obviously, this sintax is not...

View Article

How to shrink database after deleting multiple rows in a table?

Environment: SQL Server 2008 R2 Enterprise Edition and using primary filegroup onlyDon't have enough space to create a new filegroup and move all tables/indexes to the new filegroup.Objective: Reclaim...

View Article


Image may be NSFW.
Clik here to view.

Cardinality estimates on a parallel join are wrong

Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...

View Article

rebuilding catalogs

whenever i create new user,job or course to the database and when i tyry to fetch the records i am unable to search the records,but when i rebuild the catalogs i am able to fetch the same which i was...

View Article


Physical connection is not usable

One of our stores is often getting the following error: "A transport-level error has occurred when sending the request to the server. (provider: Session Provider, error: 19 - Physical connection is not...

View Article

Execution Plan Caching - Zero Cost plans

Hi allI am aware that SQL Server's plan cache eviction policy is: When memory pressure is detected, all Zero-cost plans are removed from the plan cache.By zero-cost, does this mean the cost of...

View Article


TMG memory high

Hi,Server memory: 4GBWe have a server that only runs TMG. The maximum memory is set at 1024 in SQL, but sometimes when I restart the sever the memory is already at 3 or more GB. Then after an hour or...

View Article

Backup of files failed

When I try to back up I get several errors.  This time it said Backup failed. One or mor soorce disks is missing.  What does that mean?

View Article

What are the most common issues faced by a production dba regarding user...

Is there any website, blog or forum where all the database related issues(issues applicable to production environment only) are documented?

View Article
Browsing all 12963 articles
Browse latest View live


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