how server can establish a query plan for a view as soon as the view is saved.?
based on the following MSDN ,it is say"A database server can establish a query plan for a view as soon as the view is saved.""Query plan generation A query plan is an internal strategy by which a...
View ArticleThe performance is worse in Production server
Local laptop 8 core, 8G Memory, a procedure run 17 minutes Production server 12 cores, 32G memory, the procedure run over 50 minutes.I restored the database backup from production, the same procedure...
View ArticleSQL Server 2008 Developer Edition still available?
I need to do some development for customers with 2008 Enterprise, so I do NOT want to get into 2012 edition in case there are some backwards compatibility issues. Is it still possible to purchase and...
View ArticleTables with more than milions of rows by months
SQL Server 2008it is planned to create a table with some columns that will be populates by around 600 millions of rows per months.How to mangage a large table taht should grow 600 milions of row per...
View ArticleSingle User Mode in SQL LocalDb 2012
Hi,Is it possible to run SQL LocalDB in single user environment to restore master database? I have access only to sqlCmd tool.I tried following from DOS window."C:\Program Files\Microsoft SQL...
View ArticleData warehouse File groups and Table partition designing
Hi Experts,Project: Datawarehouse migration from Oracle to SQL Server 2012 In Oracle Number of Schemas in Oracle - 6 Tables: Each Schema has 3 partitioned tables and three unpartitioned tables Every...
View Articleset maxdop > # logical processors?
Is there a way to set maxdop to a value greater than the number of schedulers on the system? I've got a VM with 4 vCPU that has a fairly low user concurrency but the queries that are run require lots...
View Articleapplication connection to db problem
Hi, we have an application that tries to connect to backend SQL server database, but the applicaiton got error:Login failed for userdomain\myuser. domain\myuser is an application account used to...
View ArticleSQL Server 2012 Update installation fails
Windows 7 64 bit - I had SQL Server 2008 and SQL Server 2008 R2. I uninstalled SS 2008 and tried to uninstall SS 2008 R2. The SS2008 uninstalled fine. The R2 said it uninstalled, but was still...
View ArticleBackup Maintainence implementation in multiple instances
Hi All,We have backup maintenece plan to implement in multiple instances(around 30 to 35 instance).Backup StratergyFull backup - Every Friday Evening 7 PMDiff -- Every day onceTlog - every 6 hrs...
View ArticleHow to get execute user information from "sys.dm_exec_sql_text"
Hello,Some day ago, my database lose data. Somebody delete rows in table by "Microsoft SQL Manager tools" so i can't trace what they do.I using SQL, get history of statement executed. But how to know :...
View ArticleIs there any Microsoft product for In-Memory Database?
Hello AllIs there any Microsoft product for In-Memory Database System like Oracle's TimesTen database?I have searched and found something called xVelocity,,Whether it is equivqlent to TimesTen...
View ArticleCardinality 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 ArticleWhy restore of database.bak fails?
I have clean SQL Server 2012 and restored database from bak file created in another server. Restore was succesful.Now I made new restore for the just created database from same bak file. It fails.It...
View ArticleComputed Column in the include of a Non Clustered Index not working as expected
Hello,I have a table with a text field containing up to 30k characters. Since I cannot use this field in the include of my indexes I have created a persisted computed column that cuts down to total...
View Articlecall powershell with parameter in SQl agent job
I use SQL server agent job to call a powershell script. I am using Type operating system(Cmdexec)In the job command window, I type:powershell.exe "D:\PowershellScripts\Write-VolToDb.ps1...
View ArticleSQL 2012 SP1 - SSIS Server Maintenance Job poor performance.
I'm using SSIS 2012 on SQL 2012 SP1 and the performance of the SSIS Server Maintenance Job is abysmal. It's been running for 10 days and has still not completed. Worse still it is blocking the other...
View ArticleNew DBA features of 2008R2 & 2012
Hi all,what are the new DBA Features in ms sql server 2008 r2 and ms sql server 20212...?
View ArticleTable level; backup and restore the same into some other instance?
Hi All,<o:p></o:p>As apps tem requested to take table level backups from the database and same restore into the some other instance.. since 4 tables size is 430GB..can anyone help on...
View Article