Meaning of "Query From Hell" [closed] - sql

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm reading Scaling Out SQL Server and came across with this in the article. I googled it and not enough answers. Can anyone enlighten me?

CPU bound query.
A SQL Server instance can process a single query for hours without any effect on the whole system, because there are still 7 other SQL Server instances free to process other queries.
This is not true for IO bound query, since the 8 SQL Server instances are using a shared disk.

From the preceding sentence in that article:
a query that ties up all the database resources for hours.

Related

Is"always" a workable term to describe the uptime of a server? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
since me and my colleagues had a discussion about this, I wanted to ask, if you would use the term "always" to describe the uptime of a server in a requirement.
Example:
The server should be always reachable.
Since, in my opinion, alsways can't be measured, I would rather write the requirement like this:
The uptime of the Server should be >= 99%.
Thanks in advance!
Do not use always, it isn't possible to achieve. Uptime is discussed in terms of nines: https://en.wikipedia.org/wiki/High_availability#%22Nines%22
Amazon S3 for example, offers 4 nines of availability (99.99%).
Look at: https://uptime.is/ to fully understand how much downtime you are allowed for a given sla.

how to know internal mechanism of join in sql [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am curious if one can see the internal mechanism of merge join or any other join sql?
For Oracle have a look at this document: Database SQL Tuning Guide - Joins
If you are thinking about how they work, you can look it up here, it's a great representation of it.
If you are thinking about the code behind it, I think you'll have to work for MS to access it ;)

Does SQL Server allow Multi table clustering? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
My question is simple.
Does SQL Server allow Multi table clustering?
No - SQL Server has the concept of clusters in which two or instances of SQL Server (the program) is running (or is available to run) and if one fails the other instance can very rapidly take over. They work on the same data which is stored in a shared drive. But only one is active at a time.

Always get a System.OutOfMemoryException from SQL Server 2008 R2 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am using SQL Server 2008 R2.
However, it behaving strangely since this morning, that it keeps giving me 'System.OutOfMemoryException' errors, even I am simply running a SELECT 1 command.
I am wondering what could cause such problem?
Many thanks.
OK, I still haven't figure out what is wrong with my environment. However, I dealt with it with a simple reboot.
Hope this is helpful.

sql server - are there any advantages to making a table out a view [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a crystal report connected to a sql server DB that uses complex statistical queries.
What are the disadvantages or advantages, especially in terms of speed, to converting views into tables to run in the reports.
For sql server I know that tables take up more space.
thanks
Disadvantages:
occupies more spaces.
processing time for the table to load time.
Advantages:
faster access