- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Wanted: Good oracle scripts.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 01:27 AM
01-29-2003 01:27 AM
Re: Wanted: Good oracle scripts.
declare
cursor c1 is
select * from v$resource_limit;
i_value integer;
N_BORDER CONSTANT number DEFAULT 0.90;
s_message varchar2(2000);
begin
for c1_rec in c1
loop
begin
i_value := to_number(c1_rec.INITIAL_ALLOCATION);
if (c1_rec.CURRENT_UTILIZATION > N_BORDER * c1_rec.INITIAL_ALLOCATION) then
s_message := c1_rec.RESOURCE_NAME||' has exceeded '||to_char(N_BORDER*100)||' percent (max: '|| ltrim(c1_rec.INITIAL_ALLOCATION)||') ';
dbms_output.put_line(s_message);
end if;
exception
when value_error then
null;
when others then
raise;
end;
end loop;
end;
/
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 12:41 PM
01-30-2003 12:41 PM
Re: Wanted: Good oracle scripts.
The use of the block number in the file prevents being paged more than once about the same error.
Thanks Steve!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 03:59 AM
01-31-2003 03:59 AM
Re: Wanted: Good oracle scripts.
this one allows me to check locks on my database at anytime.
Note: Need dba role or "select any table" system priviledge
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 12:38 AM
02-07-2003 12:38 AM
Re: Wanted: Good oracle scripts.
This is script to create procedure that you can execute to do compute statistics on all tables in that schema.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 08:35 AM
02-07-2003 08:35 AM
Re: Wanted: Good oracle scripts.
to know space in your tablespaces
Work for 8i with
locally managed tblspc and with temp files.
It goes fast !!
Use it for user system
Need:
grant select any table to system;
(do it even you are connected as system)
Use:
set serveroutput on
exec Z_espace;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 09:39 AM
02-07-2003 09:39 AM
Re: Wanted: Good oracle scripts.
plenty of scripts from the large Oracle community :
http://otn.oracle.com/oramag/code/tips2003/content.html
I have a browse from time to time to see what's done outthere.
JL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 03:46 AM
04-11-2005 03:46 AM
Re: Wanted: Good oracle scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:05 AM
04-11-2005 04:05 AM
Re: Wanted: Good oracle scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:10 AM
04-11-2005 04:10 AM
Re: Wanted: Good oracle scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:47 AM
04-11-2005 04:47 AM
Re: Wanted: Good oracle scripts.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:55 AM
04-11-2005 04:55 AM
Re: Wanted: Good oracle scripts.
9 asignments in 34 responses to your question is a record that needs improvement.
This thread ceases to be useful and is being closed for that reason. I will reopen it if I receive an offline request.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- « Previous
-
- 1
- 2
- Next »