• 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
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Sally Ann is the £700 a day SQLguru, come on SA fix it for him
    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.”

    Comment


      #32
      bunch of geeks
      real contractors can't do basic sql

      Comment


        #33
        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


          #34
          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


            #35
            Originally posted by milanbenes View Post
            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.
            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.

            Comment


              #36
              Originally posted by milanbenes View Post
              our 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.
              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.
              Best Forum Advisor 2014
              Work in the public sector? You can read my FAQ here
              Click here to get 15% off your first year's IPSE membership

              Comment


                #37
                Originally posted by richard-af View Post
                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.
                Originally posted by milanbenes View Post
                good work Richard, worked first time.
                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.
                Best Forum Advisor 2014
                Work in the public sector? You can read my FAQ here
                Click here to get 15% off your first year's IPSE membership

                Comment


                  #38
                  Originally posted by TheFaQQer View Post
                  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.
                  I assumed that it'd all go into a spreadsheet.

                  Comment


                    #39
                    Originally posted by milanbenes View Post
                    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.
                    .Net does most things in a way that goes against the way that an expert in the field would do it.

                    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


                      #40
                      Originally posted by richard-af View Post
                      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.
                      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 now

                      Comment

                      Working...
                      X