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

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.

Related

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 ;)

Meaning of "Query From Hell" [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 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.

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.

restore attach sql database [closed]

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 9 years ago.
Improve this question
My old computer crashed and died a couple of weeks ago(motherboard), and I have been able to copy data from the hard drive over to new computer.
Problem is with sql database, I'm not able to restore or attach as I get the error access is denied
Anybody have an idea as to what I can do.
Thanks
George
After trying to get data via attach/restore, I just went into the data folder and copied and pasted the old db and log files, now works OK.

Oracle 10g keeps on Initializing [closed]

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 am continuously getting Error Code “The ORA-01033: ORACLE initialization or shutdown in progress”
This is happening ever since I physically deleted a couple of .dbf files
I did this meself many years ago, deleting the files from disk before DROPing them from within Oracle. The following link has some steps for getting your database to come up after telling Oracle that the files are no longer there: http://www.mydigitallife.info/how-drop-tablespace-and-recover-oracle-database-when-accidentally-delete-datafile/.
Try Connecting as SYSDBA. Also look at the relevant lines from the alert-log. May be at (%ORACLE_BASE%/diag/rdbms/%ORACLE_SID%/%ORACLE_SID%/trace/alert_%ORACLE_SID%.log).
It is likely that oracle is trying to write to or open one of the .dbf files you deleted. What were the .dbf files?