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
-
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
-
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.Originally posted by milanbenes View Postgood work Richard, worked first time.Comment
-
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
-
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
-
Originally 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
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Comment