Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | Questions | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums
Online Tools:  Generate rename / copy datafiles script

 
 
 
 Found 24 tips, Displaying 21 - 24 
 
Sort by 
 
 Display free, used and total space per tablespace in a database
Query to get tablespace information from Oracle database - total, used and free space, extents etc. select a.tablespace_name, round(c.tbytes/1024/1024, 2) as TMB, round(b.ubytes/1024/1024, 2) as UMB, round((c.tbytes - b.ubytes)/1024/1024, 2) as FMB, a.initial_extent, a.next_extent, a.max_extents, a.status, a.extent_management from (select tablespace_name, initial_extent, next_extent, max_extents, status, extent_management from dba_tablespaces) ...
     
More...

10/21/05
 
 
 Generate a script to unbreak / break Oracle jobs
-- -- Generate a script to unbreak jobs for a schema -- Replace USERNAME with schema owner and PASSWORD with schema owner's password -- -- To break the jobs replace: -- spool unbreak_jobs.sql -> spool break_jobs.sql -- broken=>FALSE -> broken=>TRUE -- where broken = 'Y' -> where broken = 'N' -- set echo off verify off feedback off ...
     
More...

10/03/05
 
 
 Kill user session
Use this procedure to find and kill a user's session: SQLPLUS> select sid, serial# from v$session where username = 'USER'; SQLPLUS> alter system kill session 'SID,SERIAL#';
     
More...

10/03/05
 
 
 Reset DBID
Reset database id so that it can be backed up if the same DBID already exists in RMAN catalog for a different database. SVRMGR> alter database backup controlfile to trace resetlogs; SVRMGR> shutdown immediate; SVRMGR> startup mount; SVRMGR> select dbid , name from v$database ; DBID NAME ---------- --------- 673658548 ...
 More...
09/23/05
 
 

<< 1 | 2 | Page 3

Recent tips & tricks
Mobile Phones / Tablets > Android : smb not working with Samsung G...
Databases > Oracle > Performance Tuning : When and what's been analyzed
Databases > Oracle > Performance Tuning : Sessions, transactions and rol...
Databases > Oracle > ASM : ASM empty directory doesn't ge...

More categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Mobile Phones / Tablets | Office Software
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com