Sally Ann is the £700 a day SQLguru, come on SA fix it for him
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Quick Question for the Experts: How to check the size of the Temp tablespace Oracle
Collapse
X
-
The court heard Darren Upton had written a letter to Judge Sally Cahill QC saying he wasn’t “a typical inmate of prison”.
But the judge said: “That simply demonstrates your arrogance continues. You are typical. Inmates of prison are people who are dishonest. You are a thoroughly dishonestly man motivated by your own selfish greed.” -
-
Data Files:
SELECT file_name "File",
tablespace_name "Tablespace",
bytes "Bytes",
bytes/1024 "KBytes",
(bytes/1024)/1024 "MBytes",
((bytes/1024)/1024)/1024 "GBytes"
FROM dba_DATA_files
ORDER BY tablespace_name,file_name;
Temp Files:
SELECT file_name "File",
tablespace_name "Tablespace",
bytes "Bytes",
bytes/1024 "KBytes",
(bytes/1024)/1024 "MBytes",
((bytes/1024)/1024)/1024 "GBytes"
FROM dba_TEMP_files
ORDER BY tablespace_name,file_name;
An aside: get a DBA.Comment
-
good work Richard, worked first time.
in the .Net area we don't use dba's or the oracle teams infact we stay well away from them because .Net uses databases in a way which goes against the way they have been taught to use databases
Milan.Comment
-
You have at least one Oracle DB you're interested in. Find out NOW who looks after it. Buy 'em a tea and tell them you need their invaluable help, etc. We DBAs are, usually, a lovely, tea-drinking lot, and respond well to freebies and OTT praise.Originally posted by milanbenes View Postgood work Richard, worked first time.
in the .Net area we don't use dba's or the oracle teams infact we stay well away from them because .Net uses databases in a way which goes against the way they have been taught to use databases
Milan.Comment
-
Cut and paste error - if I'd copied the answer I gave yesterday (the one where the post began "Doh"), it would have been right.Originally posted by milanbenes View Postour survey said utt utt
your second one gives a list of tablespace_names but doesn't include the TEMP tablespace which is the one I need
you see folks, and here's another lesson in life, if you want a job done properly do it yourself
give the folks here a chance to shine and demonstrate their abilities and what do they do... faq it up
Milan.Comment
-
Originally posted by richard-af View PostData Files:
SELECT file_name "File",
tablespace_name "Tablespace",
bytes "Bytes",
bytes/1024 "KBytes",
(bytes/1024)/1024 "MBytes",
((bytes/1024)/1024)/1024 "GBytes"
FROM dba_DATA_files
ORDER BY tablespace_name,file_name;
Temp Files:
SELECT file_name "File",
tablespace_name "Tablespace",
bytes "Bytes",
bytes/1024 "KBytes",
(bytes/1024)/1024 "MBytes",
((bytes/1024)/1024)/1024 "GBytes"
FROM dba_TEMP_files
ORDER BY tablespace_name,file_name;
An aside: get a DBA.Assuming that you only have one datafile for the temporary tablespace, it does. If you have more than one datafile, then you would need to sum them and group by tablespace name, and not select the file name.Originally posted by milanbenes View Postgood work Richard, worked first time.Comment
-
I assumed that it'd all go into a spreadsheet.Originally posted by TheFaQQer View PostAssuming that you only have one datafile for the temporary tablespace, it does. If you have more than one datafile, then you would need to sum them and group by tablespace name, and not select the file name.Comment
-
.Net does most things in a way that goes against the way that an expert in the field would do it.Originally posted by milanbenes View Postin the .Net area we don't use dba's or the oracle teams infact we stay well away from them because .Net uses databases in a way which goes against the way they have been taught to use databases
Milan.
ASP.Net is a classic case in point. The only sensible way to use it is to throw most of it away and roll your own. It's not very surprising that MS managed to get the DB side of things completely wrong too.Comment
-
Richard being a DBA ... explains the dry sense of humour, slightly nontulant air, and amount of time he has to post on here...all makes sense nowOriginally posted by richard-af View PostYou have at least one Oracle DB you're interested in. Find out NOW who looks after it. Buy 'em a tea and tell them you need their invaluable help, etc. We DBAs are, usually, a lovely, tea-drinking lot, and respond well to freebies and OTT praise.
Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Comment