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

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


Missing SQL WMI Class

Hello, our new monitoring tool is using the following to get SQL statistics: Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases The problem is this class is not present when we try and query with WMI...

View Article


DBCC CHECKDB Job Failed

Hi All,I have a SSIS Package Maintenance plan to execute DBCC checkDB for UserDB on my server.The Job as suddenly failed now.Executing the query "dbcc checkdb('MYD?Name') with no_infomsgs" failed with...

View Article

How do you troubleshoot a slow running query?

Hi guys, I got asked a question in an interview.  They asked me, if one of your users came to you and told you that a query that use to run 2 seconds, now takes a few minutes to run, how would you go...

View Article

Bulk Insert row terminator

HiI am trying to insert a .CSV file with sectional division of data in it. i am unable to insert the row, which i want to pick and insert as the row numbers are not taken as in the .CSV filePlease...

View Article


Disk performance of SQL Server On Hyper-V machine

HiWhat is the best way to measure the performance of virtual hdd. Can be use the same counters that used for normal HDDVTPlease mark answered if I've answered your question and vote for it as helpful...

View Article

Service broker - Space usage issue

Hi,Our service broker applications DB is growing alarmingly in size.1. the system tables created by sql server for service broker and sql dependency grows very big during their usage.sys.sysconvgroup...

View Article

Bulk Insert picking wrong rows

HiI need to insert a csv file with number of sections of data within it. when i give the row numbers to pick the data, it picks the data from some other row numbers. dont know how it is calculating the...

View Article


SQL Server 2000 high cpu, low io.

Hi! AllI have a box with cpu higher than 80% and low IO (logical page reads low).I have a trace runing to capture queries with cpu higher than 1000 ms.Selected classes are : RPC Compteted,...

View Article


Scripted SQL Agent Job - Max number of Steps

Hi thereI have a scripted SQL agent Job that has 33 steps in it that was scripted out.  When Trying to recreate the job on another instance it is failing with the following error message:Msg 14266,...

View Article

sql server scale out with distributed partitioned views

Hi. Our company manages an online auction and shopping website(something like ebay), and I have questions regarding to scaling out solutions. we are running Sql Server 2008 R2 Enterprise edition(which...

View Article

MDW Data Collector doesn't work, meaning the custom_Snapshot table isn't...

I think the issue is with a long query in XML. Please, how to make this work?Here are the definitions I used:STEP 1 --- Find Collecter TYPE ID fromSELECT collector_type_uid ,* FROM...

View Article

SqlBulkCopy error following failed SQL Server Upgrade - permissions in...

Wondering if anyone has run into this before and might have suggestions about what to do about it:We have a system that has SQL 2008 Standard Edition on it.  A few weeks back, the hosting provider...

View Article


"cntr_value" returned by dm_os_performance_counters

We have a 3rd party tool that constantly complain about Sql Page reads/sec as being "critical". When I ranselect object_name, counter_name, cntr_value from sys.dm_os_performance_counters where...

View Article

PLEASE REP ME

HI TO ALL,1. We have 2 log files in one database need to take backup of that database and restore in other server with one log file how can we do?2. How you will trouble shoot failed job?3. How to...

View Article


SQL Logshipping alert from LSAlert_Secondary issue

Hello all,I am facing a strange issue with Log Shipping. Currently I have logshipping setup between primary and secondary database servers. The Backup job runs once every hour and I set the alert to...

View Article

How to avoid an expensive SORT after a JOIN?

I have an query with an expensive SORT after the join: use tempdb drop table tempdb..t1 drop table tempdb..t2 drop table tempdb..t3 create table t1(c1 int, c2 int, c3 int, c4 int, c5 int) create table...

View Article


PLEASE REPLY ME

HI TO ALL,1. WHAT IS MEAN BY SYSTEM OBJECTS IN RESOURCE DB?2. HOW U WILL REBUILD MASTER DB? HOW TO RESTORE MASTER DB?3. WHAT IMPACT WILL BE THERE WHEN MSDB & MODEL DB IS CRASHED?4. HOW MANY DATA...

View Article

MSDB AND MODELDB

HI TO ALL,1. WHEN MSDB & MODEL DB CRASHED BEFORE TAKING BACKUP WHAT ACTION SHOULD BE TAKEN IN PRODUCTION LEVEL?2. HOW MANY DATA FILES AND LOG FILES CAN BE CREATED FOR 1 SERVER / 1 DATABASE IN...

View Article

how to identify the table level locks

please inform me how to identify

View Article
Browsing all 12554 articles
Browse latest View live


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