Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can you please help me with a script inorder to do the health check of the DB using SQL server 2008.
Thanks.
Use following command :
dbcc checkdb
There's no silver bullet or golden rule here. First you ill need to define what's a health DB. Second what do you need to check? Indexes, deadlocks, FKs, etc. Third what do you do to keep the DB healthy, reindex, clear log, check DB growth? Last, are you doing backups? Do you have disaster recovery plan? Ill that backup restore the DB for a healthy state? How much ill be lost?
As you see you make a question over a extensive topics. I suggest you head for SQL Server Central a great source for DBAs and hit the books. You ill find a lot of checkdb scripts but you ill see you need more than a plan script. You ill need to know what to do if that script prints a error message.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm searching for a good solution to build a large databased-full-text-index. Currently i'm using a Sybase iAnywhere Database for my full-text-index, but with a growing database it seems to be slow. Now i'm not sure, if this is a problem with relational databases or only sybase/my fault.
I searched also for nosql-solutions, but i can't decide which is the best one (MongoDB/CouchDB).
Now i have two question, is there a reason(technical) why sql or nosql databases are better for build large full-text-index?
Does anyone know a good nosql database for building a large full-text-index?
Maybe some one has experiances with them.
Thank you!
Apache Solr and Sphinx Search are much more feature-rich and high-performance solutions for fulltext search.
FWIW, CouchDB is integrated with Lucene, the same engine at the core of Apache Solr.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm running a LoadRunner script which generates "Missing IN or OUT parameter at Index:: 1". I think this may come from a sql statement. So I want to get the SQL requests in real-time between my Tomcat server and the Oracle database. I tried to seach on Oracle Enterprise Manager, but didn't get anything useful (I'm not familliar with this tool). So I wonder if there are something that can display the SQL requests(statements) and in what time they have been executed. I don't care about the performence, things like how much time they take, how many percentage of CPU they use, ect..
Is there some tools can do this job? Thanks a lot in advance.
Looks at your tomcat log and your database transaction logs if you are looking for a time context for when a particular event occurs. If you are looking at frequency, performance, top talkers on your DB then you want to invoke whatever profiler you have your your particular database solution.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any free tools providing snippets and syntax checking similar to Refactor in Visual Studio 2003/05/08/10?
#edit: To MSSQL, any version..
Take a look at this:
SSMS Tools
It offers snippets, basic formatting and a bunch of other features.
The only tool I know about is RedGate SQL Refactor. I have tried it a number of times, but I always end up uninstalling because it's not good enough to my liking.
You can try out free SSMS and VS add-in, ApexSQL Complete
ApexSQL Complete provides snippets and syntax checking and a lot of other features (aliases, the Insert procedure parameters automatically option , the Insert full INSERT statement option and so on)
Disclaimer: I work for ApexSQL as a Support Engineer
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a refactoring tool available for SQL (TSQL in particular). Is there any tool that can do automatic simplification of SQL?
I have a set of views where only the top two are used, and I'd like to refactor this into only two views, hence 10+ queries into two queries.
Try ApexSQL Refactor
ApexSQL Refactor is a FREE SSMS and VS add-in, for formatting SQL statements using nearly 200 formatting options and 11 code refactors. It expands wildcards, qualifies object names, renames SQL database objects and parameters without breaking dependencies, encapsulates code as a stored procedure, scalar function, table function, and view, add surrogate keys and more
Disclaimer: I work for ApexSQL as a Support Engineer
Red-Gate Software has a tool called SQL Refactor which should do what you're looking for.
Update. as BlueRaja correctly states - SQL Refactor has been discontinued as a separate product, and its functionality is now integrated into SQL Prompt (which is a great tool in itself, and well worth the money for its license!)
+1 to marc_s which I suspect is what you're after. Just to add, the only other tool I know of that automatically refactors SQL is Toad for SQL Server by Quest Software. Feature list is here.
I've never used it, so don't exactly know what it does but thought it worth a mention.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I forgot the name of that application tool. anyone here remembers it?
It let's me log-in to my remote SQL database and I can create scripts of the schema and procedures and even data.
Are you looking for SQL Server Database Publishing Wizard?
It's pretty simple to do this with SQL Server Management Studio 2005/2008.
To script database schema - right click the specific database in the Object Explorer, select Tasks->Generate Scripts and follow the wizard.
Try DBSourceTools. http://dbsourcetools.codeplex.com
Its open source, and specifically designed to script an entire database - tables, views, procs and data to disk, and then re-create that database through a deployment target.