Oracle 8 client can NOT connect Oracle 10. Just go download the oracle 10 client (or oracle 11 if you want) from http://www.oracle.com/technology/software/index.html
There is a job called 'GATHER_STATS_JOB' that can be found by running
select job_name from dba_scheduler_jobs where owner = 'SYS' order by 1
I was wondering if anyone knows how to edit sys owned jobs/packages so I can have it skip a tablespace when it runs.
nevermind, we recently upgraded from oracle 10.1 to 10.2 and since we made a new oracle home, I had to copy the oracle pw file from the old home to the new home.
How do I put a PL/SQL block into JavaScript.
Using JavaScript, I need that when a link is clicked, the following PL/SQL block is executed.
declare
begin
execute immediate 'ALTER SYSTEM SET ENCRYPTION WALLET CLOSE';
commit;
end;
We have other scripts that look for non-autoextensible files. This script was specifically meant for autoextensible files. For the non-autoextensible files, I have a script written that looks for how many extents are left, and when there are 4 or less it lets me know.
I will share this script...
SantaMufasa,
I bow to your knowledge. With 1 small change your code is the perfect solution to my problem
select tablespace_name||' '||
sum(bytes)||' '||
sum(maxbytes) "Tablespace Approaching Full"
from dba_data_files
where autoextensible = 'YES'
having sum(maxbytes)-sum(bytes)...
Ok, What I would like is for the script to see that yes, this file is at it;s capacity, BUT there is a second file that is not at it's capacity (or a 3rd) and so the tablespace can still actually continue to grow.
Mufasa,
As always your scripts are amazing. This particular script seems to pull A LOT more data than we actually want to see. Could you possible vie wmy original code
SELECT FILE_NAME||' '||BYTES||' '||MAXBYTES
FROM DBA_DATA_FILES
WHERE autoextensible = 'YES'
AND maxbytes-bytes < 2097152...
I have also tried joining the table to itself, but I have no idea where to go with that
SELECT a.FILE_NAME, a.BYTES, a.MAXBYTES
FROM DBA_DATA_FILES a, dba_data_files b
WHERE a.FILE_NAME = b.FILE_NAME
AND a.autoextensible = 'YES'
AND a.maxbytes-a.bytes < 2097152
order by bytes;
I have a script running on a server that runs Oracle 9i and it looks for auto extensible files that can not extend anymore.
SELECT FILE_NAME||' '||BYTES||' '||MAXBYTES FROM DBA_DATA_FILES WHERE autoextensible = 'YES' and maxbytes-bytes < 2097152 order by bytes;
I need this code to be modified...
it exists though, as a basic math operator. Literally switches the bits. I represented the 32-bit version, 64-bit would be larger, 16-bit smaller and so on.
I am just starting Perl for the first time in my professional life. I am reading "Beginning Perl" published by WROX, and I hit page 50. The 'not' operator or ~ . What the heck is it used for?
~85 = 4294697210
~4294697210 = 85
000000000000000000000000010101010 = 85...
Brilliant, thanks. I was actually about to consolodate, I just added it quickly to test it. Thanks mate
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set colDrives = objFSO.Drives
Dim dLetter
Dim fSpace
Dim tSize
Dim pFree
Dim vName
Dim bOK: bOK = True
For Each objDrive In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.