Home
Search results “Oracle datafile delete”
Oracle DBA Justin - How to drop/delete an Oracle database
 
09:03
How to delete/drop an Oracle database
Views: 14596 jbleistein11
How To Create and Drop Tablespace in Oracle 11g
 
09:42
How to Create & Drop a Tablespace
Views: 25646 DbaRocksOracle
Oracle DBA Justin - How to drop/delete a tablespace from an Oracle database
 
16:10
How to drop/delete a tablespace from an Oracle database
Views: 3493 jbleistein11
Creating  Managing  Droping Oracle Database Tablespaces
 
12:10
Creating Managing Droping Oracle Database Tablespaces select tablespace_name,block_size,status,contents,logging from dba_tablespaces; create tablespace mytbs datafile 'd:\oradata\dbrdbms\mytbs01.dbf' size 10m; alter tablespace mytbs add datafile 'd:\oradata\dbrdbms\mytbs02.dbf' size 10m; alter tablespace mytbs drop datafile 'd:\oradata\dbrdbms\mytbs02.dbf'; desc v$datafile; desc ts#,name from v$datafile; select ts#,name from v$tablespace; select v$datafile.ts#,v$datafile.name,v$tablespace.name from v$datafile,v$tablespace where v$datafile.ts#=v$tablespace.ts# and v$tablespace.name='MYTBS'; alter database datafile 'd:\oradata\dbrdbms\mytbs01.dbf' resize 20m; ALTER DATABASE DEFAULT TABLESPACE mytbs; select ts#,name from v$tablespace; select ts#,name from v$datafile; select ts#,name from v$tablespace; drop tablespace mytbs; drop tablespace mytbs ialtncluding contents and datafiles; drop tablespace mytbs including contents and datafiles cascade; alter tablespace mytbs read only; alter tablespace mytbs read write; alter tablespace mytbs force logging; alter tablespace mytbs nologging; alter tablespace mytbs flashback on; alter tablespace mytbs flashback off; purge tablespace mytbs user myuser;
Views: 20536 Abbasi Asif
Table Shrinking in Oracle Database
 
14:15
1.Shrink the Table: Shrinking is started from 10g. In this method I’m using user u1 and table name sm1. Now I’m deleting some rows in sm1 COUNT ---------- 1048576 Table sm1 has 1048576 rows. [email protected]: delete from sm1 where deptno=10; 262144 rows deleted. I deleted above number of rows. Rows COUNT ---------- 786432 And I’m giving commit [email protected]: commit; Commit complete. So now we have 786432 rows in sm1 table. Now see the following command [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ------ ---------- ---------- U1 U1TS SM1 TABLE 29 mb 3712 44 After I deleted some rows in sm1 table still above result showing same values, so now our duty is shrink this table. This is done by following 2 ways, i By using COMPACT key word: In this method shrinking is done in two phases. In the first phase all fragmented space are just defragmented, but still the High Water Mark is persist with last used block only. That mean used free blocks are not de allocated and HWM is not updated here. Issue the following command before use shrink command. [email protected] alter table sm1 enable row movement; Table altered. There is particular use with above command, when we shrink the table all rows are moves to contiguous blocks, so here row movement should be done. By default the row movement is disabled for any table, so above command enabled the row movement. Then execute shrink command now. [email protected]: alter table sm1 shrink space compact; Table altered. Now see the space of table by using below command. [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ------ ---------- ---------- U1 U1TS SM1 TABLE 29 mb 3712 44 So here seems nothing happened with above shrink command, but internally the fragmented space is defragmented. But the high water mark is not updated, used free blocks are also not de allocated. For de allocating the used blocks we have to execute below command. This is the second phase. [email protected]: alter table sm1 shrink space; Table altered. Now see the space by using below command. [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ---------- ---------- ---------- U1 U1TS SM1 TABLE 20.8125 mb 2664 36 So now the space of sm1 table is reduced. Note: Actually the alter table sm1 shrink space command will complete these two phases of the shrinking of table at a time. But here we done shrink process in two phases because when we use alter table sm1 shrink space command the table locked temporarily some time period, during this period users unable to access the table. So if we use alter table sm1 shrink space compact command the table is not locked but space is defragmented. When we not in business hours issue the second phase shrink command then users are won’t get any problem. ii Because of above method the table dependent objects are goes to invalid state, to overcome this problem we have to use below command. [email protected]: alter table sm1 shrink space cascade; Table altered. The above command also shrinks the space of all dependent objects. We also do this in two phases like above two phases. See the below command. [email protected]: alter table sm1 shrink space compact cascade; Table altered. And then [email protected]: alter table sm1 shrink space cascade; Table altered. Transporting tablespace to different platform by Using RMAN : https://www.youtube.com/watch?v=CN401PUKK4A Oracle EBS apps Upgrade from 12 2 to 12 2 5 (start CD 51) : https://www.youtube.com/watch?v=zeO4goqR70Y Transport tablespace by using RMAN.: https://www.youtube.com/watch?v=YG6kWX7Par8
Views: 6481 BhagyaRaj Katta
Oracle DBA Justin - How to drop/delete an Oracle database trigger
 
01:37
How to drop/delete an Oracle database trigger
Views: 1145 jbleistein11
RECOVER LOST  DataFile
 
15:33
DATAFILE file Lost ================================ Archive log mode-Enabled create tablespace test_ts datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' size 10M; create table testtable (id number(5))tablespace test_ts; insert into testtable (id) select * from testtable; SQL>select count(*) from testtable; COUNT(*) ---------- - before deleting datafile 524288 SQL>select count(*) from testtable; COUNT(*) ---------- - After recovery 524288 select tablespace_name, segment_name from dba_segments where segment_name = 'TESTTABLE'; alter system flush buffer_cache; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' offline drop; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' recover datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf'; alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' online; select count(*) from TESTTABLE; =================================================== Please like,subscribe my channel. Kindly contact for online training on below contacts. Emai: [email protected] Mob No: +91 9960262955 ====================================================== Hi Folks, Greetings!! I am professional part time oracle dba trainer and having good experience in oracle database administration. This is the right place to enroll yourself for Oracle DBA real time course. Please use following email ID for more details. Don’t hesitate to WhatsApp me any time. I will give you the best training and will create path to get DBA job easily. Enjoy the free YouTube video and connect with me for deep Oracle DBA knowledge. Mobile No : + 91 9960262955 (WhatsApp Number) EmailID: [email protected]
Views: 797 ANKUSH THAVALI
Oracle DBA Justin - How to drop/delete an Oracle database via the DBCA
 
06:28
How to drop/delete an Oracle database via the DBCA
Views: 2496 jbleistein11
How to Recover or Recreate Controlfile without Backup ?
 
12:08
Hi guys in my today videos i will explain how to recover to controlfile without any backup. Oracle database Unbeatable,Unbreakable Platform..
Views: 8849 Oracle World
Oracle DBA Justin - How to drop/delete Statspack from an Oracle database
 
05:50
How to drop/delete Statspack from an Oracle database
Views: 2878 jbleistein11
Oracle DBA Justin - How to drop/delete a VPD policy
 
06:56
How to drop/delete a VPD policy
Views: 2205 jbleistein11
How to Move a Datafile in Oracle Database - Part 1
 
01:32
Dozens of free Oracle tutorials at http://skillbuilders.com/free-oracle-tutorials. See Part 2 (the demonstration) of this tutorial at http://skillbuilders.com/How-to-Move-Datafiles-Oracle-12c. How do you move a datafile in an Oracle Database? Well, it just got a lot easier in 12c! Watch this free video tutorial - OCM John Watson of SkillBuilders will demonstrate both techniques, 11g and 12c. There are many reasons to move a datafile in an Oracle database. Here are just a few: Renaming datafiles to a standard Moving from one file system to another Converting from file system storage to ASM Changing from SAN to NFS storage In 11g, we need to take the tablespace offline, meaning downtime. Argh! In 12c, all that is required is ALTER DATABASE MOVE DATAFILE; this is an online operation with zero downtime. Even "critical" files such as the files associated with the SYSTEM tablespace can be moved online. Consider the ease of migrating to ASM this provides! This also functions in an Active Data Guard standby environment. And, there are syntax options that allow you to keep or delete the original file. Very cool stuff.
Views: 2424 SkillBuilders
How to delete an Oracle Database
 
02:09
Stpe by Step on how to delete an Oracle Database More Articles, Scripts and How-To Papers on http://www.aodba.com
Views: 196 AO DBA
Oracle DBA Justin - How to delete a specific database object from the recycle bin.
 
06:11
How to delete a specific database object from the recycle bin.
Views: 1180 jbleistein11
REDO LOG, DATA FILE, CONTROL FILE, CREATE DATABASE, AND DELETE DATABASE ORACLE
 
13:53
Letak redo log file, data file, dan control file. Cara membuat dan menghapus database menggunakan oracle
Views: 42 Faiz Wahyudi
Oracle DBA Justin - How to drop/delete a user account from an Oracle database
 
07:41
How to drop/delete a user account from an Oracle database
Views: 5306 jbleistein11
Oracle Administration Tutorial - Understanding Tablespaces and Datafiles (Theory).mp4
 
09:03
Oracle Administration Tutorial - Understanding Tablespaces and Datafiles
Views: 43932 maurice ford
Delete vs Truncate vs Drop :Oracle Interview Questions - Part 3
 
19:04
Delete, Truncate and Drop all can be used to remove the contents of a table but they have significant differences and unique properties. While Delete is a DML statement, truncate and DROP are DDL. Delete can be used to remove partial/Selective data. While truncate removes the entire content of the table.
Views: 823 Tech Coach
How to drop tablespace in Oracle 10g or 11g
 
01:34
This is how to drop tablespace in oracle 10g or oracle 11g, you can delete tablespace in oracle if you want. Delete or drop tablesapce in oracle cascade
Views: 216 Tanya Kenapa?
Oracle DBA Justin - How to drop/delete a basic PL/SQL procedure
 
07:43
Oracle DBA Justin - How to drop/delete a basic PL/SQL procedure
Views: 1437 jbleistein11
Oracle Tutorials : 5 - CREATE / DROP TABLE
 
07:00
Oracle Tutorials : 5 - CREATE / DROP TABLE
Views: 954 Meganadha Reddy
HOW TO DELETE BACKUP IN ORACLE?
 
03:18
HOW TO DELETE BACKUP? FOR EXTRA CLASSES IN DELHI MAIL ME ON [email protected]
Views: 37 ORACLEMATES
Oracle Database11g tutorials 16: How to uninstall oracle 11g from windows 7 64 bit
 
08:49
How To Properly Uninstall oracle database 11g from windows 7 and 8 manually without formatting your Computer By Manish Sharma Rebellion Rider Blog Link http://bit.ly/uninstall-oracle-11g-from-win-7 Website: www.RebellionRider.com Manual Un-Installation of Oracle Database 11g. This video will show you proper process on uninstalling Oracle database 11g from windows 7 64 bit. How to uninstall oracle 11g on windows 7 / How to uninstall oracle 10g on windows 7 Read How to uninstall oracle 11g on windows http://www.rebellionrider.com/how-to-uninstall-oracle-database-11g-from-windows-7.html YouTube Video on How to create database http://bit.ly/create-database-using-DBCA Tool used in this tutorial is command prompt. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com
Views: 242796 Manish Sharma
HOW TO UNINSTALL ORACLE 11g SOFTWARE FROM WINDOWS 10 64 BITE
 
05:51
EASY AND SIMPLEST WAY TO UNINSTALL ORACLE SOFTWARE FROM OUR SYSTEM AND REMOVE THE TRACES OF SOFTWARE, AND NOT TO GET ANY ERRORS DURING REINSTALLATION
Create & Delete Database Oracle using DBCA
 
16:04
Administrasi Basis Data: 1. Menunjukan lokasi control file, data file dan redo log file 2. Mendemokan proses create dan delete database oracle menggunakan DBCA.
Views: 12 Andy Zamroji
How to move a Datafile in Oracle Database 12c - part 2
 
01:26
How do you move a datafile in an Oracle Database? Well, it just got a lot easier in 12c! Watch this free video tutorial where OCM John Watson of SkillBuilders will demonstrate both techniques, 11g and 12c. http://skillbuilders.com/free-oracle-tutorials There are many reasons to move a datafile in an Oracle database. Here are just a few: Renaming datafiles to a standard Moving from one file system to another Converting from file system storage to ASM Changing from SAN to NFS storage In 11g, we need to take the tablespace offline, meaning downtime. Argh! In 12c, all that is required is ALTER DATABASE MOVE DATAFILE; this is an online operation with zero downtime (in 11g we use ALTER DATABASE RENAME DATAFILE). Even "critical" files such as the files associated with the SYSTEM tablespace can be moved online. Consider the ease of moving to ASM this provides! This also functions in an Active Data Guard standby environment. And, there are syntax options that allow you to keep or delete the original file. Very cool stuff.
Views: 481 SkillBuilders
Oracle Drop database
 
02:27
A short video on how you can drop an Oracle database using drop database command from SQL*PLUS
Views: 1225 André Karlsson
Database Tutorial 65 - SQL DELETE Statement - Oracle DBA Tutorial
 
02:03
Database Tutorial 65 - SQL DELETE Statement - Oracle DBA tutorial, Oracle Database Tutorial This video explains about SQL DELETE Statement
Views: 583 Sam Dhanasekaran
Oracle world - Recover a Non-System datafile from a Cold backup in Noarchivelog mode
 
14:23
In this tutorial you will learn how to perform restore and recovery on non-system datafiles with cold backup (consistent backup). by Lalit saini
Views: 1309 Oracle World
Loading Supplier Data File Using FBDI - Oracle Fusion
 
04:51
This file explains how to load supplier data file in Fusion for migrating suppliers data. For more details leave your queries
9.Oracle Data Guard 11g - How to safely remove a data guard broker configuration
 
11:38
Hi guys today we learn how to remove the data guard broker configuration easily jus watch it.
Views: 809 Oracle World
How to Move a Datafile From File System To ASM Disk Group
 
08:02
Hello friends today is very interesting topic about moving datafile from File system to ASM Disk Storage. Oracle database Unbeatable,Unbreakable Platform..
Views: 4054 Oracle World
System Data File Recovery in Oracle Database 12c
 
07:06
In this video , you will learn how to recover SYSTEM01.dbf file in case you lost it in Oracle Database 12c. For More Videos and Blogs:- Visit Our Website - http://www.dbatrainer.com Also , Subscribe and Follow us on our social media pages:- LinkedIn - https://www.linkedin.com/company/dbatrainer FaceBook - https://www.facebook.com/dbatrainer Google Plus - https://plus.google.com/+DBATrainer Twitter - https://www.twitter.com/DBA_Trainer "Exceptional Education. Exceptional Value."
Views: 187 DBA Trainer
Oracle DBA Justin - How to rename a tablespace in an Oracle database
 
02:46
How to rename a tablespace in an Oracle database
Views: 1227 jbleistein11
Steps to drop an Oracle database using DBCA
 
05:50
This video discuss about the steps to drop a database using dbca utility
Views: 4599 Wysheid Wysheid
Oracle DBA Justin - How to drop/delete an RMAN Recovery Catalog
 
08:17
How to drop/delete an RMAN Recovery Catalog
Views: 3297 jbleistein11
Moving datafile to different Mount Point while the database is shutdown (Mount Stage)
 
11:42
Hi Guys welcome to my channel ORACLE WORLD today m going to share a new topic Moving datafile to different Mount while the database is shutdown (Mount Stage).Oracle database Unbeatable,Unbreakable Platform..
Views: 539 Oracle World
How to restore tablespace in case of NO backup?
 
04:38
Oracle RMAN restore tablespace without backup of this tablespace.
Views: 5075 Mahir M. Quluzade
Oracle DBA Justin - How to rename a tablespace, and a datafile in an Oracle database # 2 of 3
 
13:28
How to rename a tablespace, and a datafile in an Oracle database
Views: 3366 jbleistein11
Oracle DBA lesson4-Manage tablespace and data file الدرس الرابع
 
29:18
Types of tablespace create tablespace and datafiles alter and, drop tablesapces tempfile and bigfile http://www.4shared.com/file/ez9tZC6t/Manage_tablespace_and_data_fil.html
Views: 4168 ayman hamdan
creating tablespace in oracle 12c
 
01:44
As Oracle has evolved, the options for creating tablespaces have grown more complex, with more CREATE TABLESPACE options: You create tablespaces with the CREATE TABLESPACE command. Before you create the tablespace you should decide: 1. How big you wish the tablespace to be. 2. Where you want to put the datafile or datafiles that will be associated with that tablespace. 3. What you want to call the tablespace and the datafiles. We recommend that you include the following in the datafile name when you create the tablespace: 1. The name of the database 2. The name of the tablespace 3. A number that makes the datafile unique So, for a tablespace called USERS assigned to a database called BOOKTST we would have a datafile called booktst_users_01.dbf. Here is an example of creating such a tablespace using the create tablespace command: Note that we used 50m to indicate that we wanted to create the tablespace 50 Megabytes in size. You can also use the K symbol for Kilobytes, and the G symbol for Gigabytes. If you want to try to use the P symbol for a 50 Petabyte tablespace, we want to talk to you! There are several "create tablespace" options that determine how big the tablespace will be: Autoextend on: Creating a tablespace with autoextend on alleviates the potential problem of a database outage if the tablespace reaches maximum extents. You create a tablespace using autoextend with the autoextend on option. Using "create tablespace . . . autoextend on" will push the point of failure to the OS filesystem, which is good because you never want you database to hang because a tablespace cannot grow. With autoextend on, you only need to monitor the free space in the filesystem directory. Maxsize: This is the maximum size that the datafile can grow. We recommend creating a tablespace with maxsize unlimited to prevent a lock-up. Size: This is the size of the underlying data file for the tablespace. Blocksize: Specifying a larger blocksize will not result in a larger tablespace. See here on creating tablespaces with non-default blocksizes. Uniform size: This specifies the size that the data file will grow when it needs to extend. By default, an Oracle tablespace will not grow if it runs out of space. If you use up all your space, you are just out of luck unless you use the autoextend keyword to indicate that the tablespace may grow, on it?s own, dynamically. Here is an example of creating a tablespace that is set to autoextend:
Views: 4836 Mohammad Taseen
How to Remove MDF Data File from One Database
 
07:26
In this video you will lean How to Remove MDF Data File from One Database.
Views: 474 SQL DBA
How to Delete Duplicate Record from Table
 
07:08
Hi friends today i will show you a basic sql query to delete th duplicate entry from table usinf rownum & rowid.Oracle database Unbeatable,Unbreakable Platform..
Views: 2593 Oracle World
How to Delete Huge Data from a SQL Server Table in Small Chunks - SQL Server / TSQL Tutorial
 
31:00
In this video you will learn how to delete large number of records from a SQL Server Table. By watch this video you will learn following topics 1--How to Delete large number of records from SQL Server Table in small chunks 2--What is the difference between Full Recovery Mode and Simple Recovery Mode 3--Does Transactional Log file grow if we set the database to Simple Recovery and Delete huge number or records? 4--How to get the record count while Transactions is deleting the records by using NoLock Option 5--How to Shrink Log file and release unused space to Operating System 6- How to write script to delete records in small chunks from SQL Server Table Blog post link for scripts used in the video: http://sqlage.blogspot.com/2015/03/how-to-delete-huge-data-from-sql-server.html
Views: 8513 TechBrothersIT
Dropping Oracle Database 11g Manually with Drop Database Statement
 
05:17
DROP DATABASE Purpose Caution: You cannot roll back a DROP DATABASE statement. Use the DROP DATABASE statement to drop the database. This statement is useful when you want to drop a test database or drop an old database after successful migration to a new host. Prerequisites You must have the SYSDBA system privilege to issue this statement. The database must be mounted in exclusive for RAC and restricted mode, and it must be closed. Semantics When you issue this statement, Oracle Database drops the database and deletes all control files and datafiles listed in the control file. If the database used a server parameter file (spfile), it is also deleted. Archived logs and backups are not removed, but you can use Recovery Manager (RMAN) to remove them. If the database is on raw disks, this statement does not delete the actual raw disk special files.
Views: 261 Saurabh Joshi
Oracle DBA Justin - How to rename a tablespace, and a datafile in an Oracle database # 1 of 3
 
13:54
How to rename a tablespace, and a datafile in an Oracle database
Views: 5990 jbleistein11

Paper writing service online
Cna cover letter examples for resumes
Cover letter sample for nurses
Essays writing service
Sample cover letter for any vacant position application