Production server slow as compared to TEST server
Hello ,We are facing weird issue, where Production server which is far better in terms of memory CPU physical storage etc, compared to TEST server and yet responds slow, when a query is executed or...
View ArticleThere is insufficient system memory in resource pool 'internal' to run this...
HiWe have a dev environment of SQL 2012 that has 18GB assigned to it. The server has 48GB total and has 2 other instances. For one particular instance, let's call it E1, have a database restored to...
View ArticleHow to Manage Large Tables in sql server 2012
Hi All,I've table processed raw data where every minute 5 lac data received from listener or processor.now we get performance problem. how to manage it. can any one have idea.
View ArticleExcessive Log File VLF's (Transaction Log Backups go from (30mins - 1hr) to...
My Transaction Log Backups have gone from (30mins - 1hr) to 5+ hours and I've noticed that several databases have inactive VLF's in excess of 1500.Truncating the log file does not remove the inactive...
View ArticleUpdates and readon only partitions in sql2005
Hi all I have a partitioned table in SQL2005 database based on the year Years prior to 2007 are read only When I execute the following statement I get the error Msg 652, Level 16, State 1, Line...
View ArticleHow to get the collation name from a collation ID?
Hi, I am using SQL Server 2008. In ServerProperty function, there are two properties called “Collation” and “CollationID”. In some cases, I will only know the CollationID. Is it possible get the...
View ArticleThere is insufficient system memory in resource pool 'internal' to run this...
HiWe have a dev environment of SQL 2012 that has 18GB assigned to it. The server has 48GB total and has 2 other instances. For one particular instance, let's call it E1, have a database restored to...
View Articlecan't connect to my server
TITLE: Connect to Server ------------------------------ Cannot connect to servername ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while...
View ArticleDifference between DTA and DMVs
Hi All,I am writing a query that is fetching data from Adventureworks database table,i.e Person.Address.I do not have any nonclustered index on stateprovinceid but other coulmns do have nonclustered...
View ArticleAttach a SQL 2008 R2 database to SQL 2012 instance
After attaching a SQL 2008 R2 database to a SQL 2012 server. I did not see messages in SQL Server logs that indicate the upgrade. I assume I should see some upgrade messages in the log like...
View Articlesp_cycle_errorlog
Hi,Do I have to execute sp_cycle_errorlog everytime I want to start new log? or it can be set to true or false. How can i check its existing value?Thanks
View ArticleReplication distribution database issue
HI TeamUnfortunately I deleted the distribution database, again while I am trying to configure the distribution database getting below error.Note: distribution database physical files are I deleted,...
View Articlewhat is the difference between DatabaseProperty() functions and...
How do I get the difference between DatabaseProperty() function and DatabasePropertyEx() Functions and how to get list of parameter that uses DatabaseProeprty() and DatabasePropertyEx() Functions.As in...
View ArticleLogical backup/restore method?
Hello Masters,Is it possible to backup/restore sql server databases in a logical way like oracle(exp/imp, expdp,impdp, can export/import tables/users etc)?my case, I have a database which has many data...
View ArticleSQL Table transaction history
Hi, i have a table and i would like to know what are the queries that were executed referring to that table in the past 5 days. is it possible?
View ArticleCannot obtain the required interface ("IID_IDBSchemaRowset")
I hope some oone can help with this.I have a sql 2005 32 bit sp3 STD Edi running on Windows 2003 sp2 Std EdiI am using a domain account and am local admin on the box. The SQL and the SQL agent are both...
View ArticleFragmentation % of indexes remain same after reorg
Hi expert,I have an issue with fragmentation SQl server 2012 .I monitored indexes using sys.dm_db_index_physical_stats. fragmented % is still remain after re-organized the index.what would be the...
View Articledatabase in single user mode
Hi,I put the database in emergency mode, then I executed Checkdb, it shows no errors. the database status is still EMERGENCY and when I try to bring it online, it says he database is in single-user...
View ArticleRestore backups with different recovery_fork_guid
Hello everyone.Does anyone knows how to restore database backups with different recovery fork. I have 1-full backup 2-diff backups and 10-tran backups. My prod database in mirror, so after error,...
View ArticleRoles getting unassigned on SQL server 2008R2
Hi,We had a strange issue for past couple of months where a user ( member of windows AD group) has his login created on one of the SQL servers, getting his permissions vanished after few weeks.That is,...
View Article