Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm seeking for a solution to monitor (with graphs) the status of my MSSQL instances during a periode of time (day or night) and get or make reports for that monitoring.
Does any one have or know any known simple solutions to do so please ?
Thank you for your help.
Depends on what you want to monitor. There are vendor products that will do it. Idera has Diagnostic Manager and RedGate has SQL Monitor to name just a few. Or if you don't want to spend any money SQL Server has several monitoring options including alerts, policy based management and data collection. These won't be as pretty and may not cover as much not to mention you will be writing some code on your own, but they are free (with SQL Server of course, depending on edition).
Related, though you'll want to edit the scripts for getting information is Ola Hallengren's maintenance solutions http://ola.hallengren.com/. There are useful scripts for maintenance, but depending on what information you're trying to obtain, you can build on these scripts to get information. From there, you can use the results of these queries in SSRS to populate graphs, or even use a tool like Excel.
Again, Ola Hallengren provides maintenance solutions, so these will need to be adjusted for monitoring (depending on what you're monitoring), but they are totally free and you can edit the scripts, as well as see where the information comes from so that you can determine what you need to monitor.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I like SSIS, I already created packages but I don't have SQL Server license.
Can I run the package and get scheduler in server?
Nope.
You have a developer license which is quite clear what constitutes development (development tasks only - you touch prod, you're engaged in production work)
Using hacks to run devenv.exe and launch packages are clear intent to circumvent licensing. Carefully copying assemblies and patching a box to support "bad" actions is even more egregious license violation.
What happens when your organization is audited by Microsoft? There's the "oh, we noticed these license violations. Let's get those fixed, please. Maybe you should buy some azure credit to offset the penalty." Harm determined, minor penance required.
Then there's "Oh, you were malicious about breaking the rules. We have more lawyers and accountants than you can imagine." Harm determined and hell is coming with us.
It's not you that will be hauled to court, it's your organization and you can bankrupt them (if you use Enterprise Edition parts that can be a hefty bill).
You either pay for what you use or spend your time rolling your own implementation. Some of it's not hard (copy data from one table to another). Others are far more devilish.
Integrating David Browne's excellent comment on pricing for SSIS in ADF vs VM
Prices for SSIS in Azure Data Factory start from under 0.60USD/hour. And you can start/stop the SSIS runtime from an ADF pipeline. Pricing for SQL Server Standard Edition on an Azure VM is similar.
https://azure.microsoft.com/pricing/details/data-factory/ssis
https://learn.microsoft.com/azure/data-factory/how-to-schedule-azure-ssis-integration-runtime
https://azure.microsoft.com/en-us/pricing/calculator
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
If someone asks me to check the database health in a particular SQL Server database, which has been running for couple of years, what are the possible areas that I need to check? Do we have any tools to support for that?
Kindly provide some recommended links also to refer.
You need to do two things (at a bare minimum):
Make sure that backups are being taken on a regular basis and that at least once a full restore was done from the backups and that the restore was verified to contain valid, up to date, data.
https://msdn.microsoft.com/en-us/library/ms187510.aspx
Run 'DBCC checkdb' on the instance. It will take a while and can be a resource hog (you may want to run it at night or over a weekend.) Be very careful in reading the results and figuring out what to do if it detects errors.
https://msdn.microsoft.com/en-us/library/ms176064.aspx
http://www.sqlskills.com/blogs/paul/category/checkdb-from-every-angle/
If you do the above you may be held responsible for any, and all, issues that will ever occur to SQL Server including data entry errors.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am working on quite a large database system and was wondering if there is a tool to evaluate a database design. Essentially I need something that would run through a database, point out slow downs and issue areas. Even better would be if the tool could look at statistics on already running databases and offer suggestions.
If you are using SQL Server, you will benefit from the Database Engine Tuning Advisor. Quoted directly from TechNet, here are the capabilities:
Recommend the best mix of indexes for databases by using the query
optimizer to analyze queries in a workload.
Recommend aligned or non-aligned partitions for databases referenced
in a workload.
Recommend indexed views for databases referenced in a workload.
Analyze the effects of the proposed changes, including index usage,
query distribution among tables, and query performance in the
workload.
Recommend ways to tune the database for a small set of problem
queries.
Allow you to customize the recommendation by specifying advanced
options such as disk space constraints.
Provide reports that summarize the effects of implementing the
recommendations for a given workload.
Consider alternatives in which you supply possible design choices in
the form of hypothetical configurations for Database Engine Tuning
Advisor to evaluate.
I am not sure what database you are using, but of course a good first start in MySQL is often to use the EXPLAIN command:
http://dev.mysql.com/doc/refman/5.0/en/using-explain.html
There are a collection of third party applications that assist with database tuning with MySQL. such as MONyog.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any 3rd party tool which works like another layer on top of SQL Server, which can analyze the behaviour of the database and make recommendations based on that?
Thanks
Qure from DBSophic does a great job at what you describe. You can also bundle it with our tools (for a much more cost effective offering), SQL Sentry Event Manager and Performance Advisor, which provide general around the clock performance monitoring and alerting (these tools are mostly for use by DBAs, and don't provide automatic optimizations the way Qure can).
http://www.dbsophic.com/
http://www.sqlsentry.net/
https://sqlblog.org/2011/04/21/using-qure-workload-optimizer-for-sql-sentry
Late answer but can be helpful to other readers, I hope
In addition the solutions already mentioned, I can recommend ApexSQL Monitor
This tool will allow you to define custom metrics you want to track (in addition to numerous predefined metrics for the System, SQL Server and Database).
ApexSQL Monitor can also show the slowest queries executing on the SQL Server. It stores individual wait statistics for the single query, and by analyzing waits, you can detect the reasons of slow performing queries. It can also show the query execution plan at the time of execution, which will provide you even more info about slow executing queries.
If its more generic monitoring your after, such as current load, flagging jobs that take longer than usual etc, there are some pretty decent 3rd party tools, Red Gates SQL Monitor is pretty cool, demo here: http://monitor.red-gate.com/
You can use SQL Server Profiler (not 3rd party) to see queries/procedures/etc and how slow/heavy they are. It won't give you any recommendations but you can take further actions once you see where the problems lie.
In lieu of a DBA SQL Server ships with a Database Engine Tuning Advisor.
... After analyzing a workload, Database Engine Tuning Advisor can
recommend that you add, remove, or modify physical design structures
in your databases. The advisor can also recommend ...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Which free database would you use for a relatively small datawarehouse system?
Are there any 'special' databases e.g. multidimensional databases freely available?
Which of the free relational databases is best suited for the job?
By datawarehouse system I mean a system that will receive some inserts, few updates, next to no deletes and plenty of complex selects. Structured in star schemas (if the database is relational).
By small I mean about 100.000 records in the main fact table, maybe 10 dimensions, the largest containing 5.000 records.
Be free I mean free of charge of internal commercial use.
Edit: Since so far I mostly only got a list of free databases, let me specify some features that would be interesting / needed:
outer joins (must)
inlineviews / subselects (almost must)
materialized views (nice)
smart query optimizer (the smarter the better)
support for dimensions, roll up, cube queries (nice)
analytic functions (that's the name in oracle, don't know how they are named in other databases)(nice)
We have had very good results with Firebird. It's free, open source, runs on all major platforms and has support for all important database functions.
There are excellent tools available to manage the databases, like IB-Expert which has a free (limited, but good enough) version.
SQLite
HSQLDB
MySQL
PostgreSQL
What about SQL Server Express?
If the total amount of data < 4 gigabyte you can use Oracle XE.
Edit: Jens Schauder came with new 'demands'. I believe that ProgeSQL, MySQL and SQLite don't support analytics.
If the purpose of the data warehouse is not to improve the finances of the company in some way then you should save the effort and forget about wasting your time.
If the data warehouse is actually going to make money for the company in some way then it spending a few bucks on a real system is probably not unreasonable.