Home
Search results “Drop oracle partition”
exchange Partition , Move partition in oracle
 
08:42
exchange Partition , Move partition in oracle Possible operations with partitions SQL Tutorial SQL Tutorial for beginners PLSQL Tutorial PLSQL Tutorial for beginners PL/SQL Tutorial PL SQL Tutorial PL SQL Tutorial for beginners PL/SQL Tutorial for beginners Oracle SQL Tutorial Add Drop Rename Split Move ( Moving from Tablespace to tablespace) Exchange (Table to Table(non Partitioned table)) not partitioned only exchanging data (p)
Views: 1030 TechLake
part 8 drop partition
 
01:18
drop partition alter table data warehousing
Partitioning in Oracle Explained with Real project Examples : Introduction
 
22:43
This Video series will explain partitioning and its use cases referencing real project examples from different domain. It will explain what when and why of partitioning in a simple but elaborate manner. This is the 1st video which explains why partitioning is required and what are the advantages we gain from it. The following videos will explain when should we do it and how.
Views: 19507 Tech Coach
Oracle Database 12c: Partitioning Improvements with Tom Kyte
 
08:08
Tom Kyte introduces the new partitioning improvements in Oracle Database 12c, followed by a demo of global index maintenance. For more information: "Asynchronous Global Index Maintenance for Dropping and Truncating Partitions" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=VLDBG14107 "Changes for Very Large Databases and Partitioning in Oracle Database 12c Release 1" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=VLDBG14100 "ALTER INDEX COALESCE Clause" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=SQLRF52782 "DBMS_PART.CLEANUP_GIDX Procedure" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=ARPLS74409
Views: 12948 OracleDBVision
Partitioning Enhancements in oracle 12c
 
08:33
Oracle has made 4 significant enhancements in 12c. 1.Mixing Interval and Reference partitioning 2.DDL operations on multiple partitions 3.Global Index maintenance 4.Cascade Operations from parent to child, Truncate and drop This video explains the enhancements in detail with practical examples
Views: 1246 Tech Coach
06 How to configure Sub partition using Rang & Hash in oracle
 
07:01
You can create subpartitions in a composite partitioned table using a subpartition template. A subpartition template simplifies the specification of subpartitions by not requiring that a subpartition descriptor be specified for every partition in the table. Instead, you describe subpartitions only once in a template, then apply that subpartition template to every partition in the table. For interval-* composite partitioned tables, the subpartition template is the only way to define subpartitions for interval partitions. The subpartition template is used whenever a subpartition descriptor is not specified for a partition. If a subpartition descriptor is specified, then it is used instead of the subpartition template for that partition. If no subpartition template is specified, and no subpartition descriptor is supplied for a partition, then a single default subpartition is created. Specifying a Subpartition Template for a *-Hash Partitioned Table In the case of [range | interval | list]-hash partitioned tables, the subpartition template can describe the subpartitions in detail, or it can specify just the number of hash subpartitions. The following example creates a range-hash partitioned table using a subpartition template: CREATE TABLE emp_sub_template (deptno NUMBER, empname VARCHAR(32), grade NUMBER) PARTITION BY RANGE(deptno) SUBPARTITION BY HASH(empname) SUBPARTITION TEMPLATE (SUBPARTITION a TABLESPACE ts1, SUBPARTITION b TABLESPACE ts2, SUBPARTITION c TABLESPACE ts3, SUBPARTITION d TABLESPACE ts4 ) (PARTITION p1 VALUES LESS THAN (1000), PARTITION p2 VALUES LESS THAN (2000), PARTITION p3 VALUES LESS THAN (MAXVALUE) ); This example produces the following table description: Every partition has four subpartitions as described in the subpartition template. Each subpartition has a tablespace specified. It is required that if a tablespace is specified for one subpartition in a subpartition template, then one must be specified for all. The names of the subpartitions, unless you use interval-* subpartitioning, are generated by concatenating the partition name with the subpartition name in the form:
Views: 283 OnLinE ReSoUrCe
Global Index rebuild scenario in Oracle Database 11g
 
08:41
Why and How we need to rebuild global Index in Oracle 11g
Views: 2897 Athar Fahad
04 How to configure Hash partition in Oracle
 
06:56
Hash partitioning Use hash partitioning if your data does not easily lend itself to range partitioning, but you would like to partition for performance and manageability reasons. Hash partitioning provides a method of evenly distributing data across a specified number of partitions. Rows are mapped into partitions based on a hash value of the partitioning key The following example shows how to create a hash partition table. The following example creates a hash-partitioned table. The partitioning column is partno, four partitions are created and assigned system generated names, and they are placed in four named tablespaces (tab1,tab2, ...). CREATE TABLE products (partno NUMBER, description VARCHAR2 (60)) PARTITION BY HASH (partno) PARTITIONS 4 STORE IN (tab1, tab2, tab3, tab4);
Views: 756 OnLinE ReSoUrCe
Oracle Tablespaces
 
12:07
Oracle tablespaces
Views: 6556 Chris Ostrowski
sub partitioning in oracle  or composite partitioning in Oracle RANGE-LIST, RANGE-HASH
 
07:24
sub partitioning in oracle or composite partitioning in Oracle SQL Tutorial SQL Tutorial for beginners PLSQL Tutorial PLSQL Tutorial for beginners PL/SQL Tutorial PL SQL Tutorial PL SQL Tutorial for beginners PL/SQL Tutorial for beginners Oracle SQL Tutorial
Views: 484 TechLake
PART 6 RANAME PARTITION
 
01:15
rename partition, data warehousing, alter table
Oracle Optimization - Table Partitions
 
15:07
Oracle optimization: create table partitions and Index-Organized Table. Other lessons, visit http://www.learn-with-video-tutorials.com/plsql-oracle-optimization
How to recover dropped table using flashback
 
06:13
In this video i'm going to show you how to recovery dropped table using flashback step by step. #recover #dropped #table #flashback
Views: 3564 OCP Technology
Oracle Database 18c Express Edition Installation on CentOS 7.5 | Oracle Database 18c XE Released
 
31:25
In this video we are going to demonstrate how to install Oracle Database 18c Express Edition in CentOS 7.5. Oracle Database 18c Express Edition installation in CentOS 7 Platform is very easy. This video guides step by step installation of oracle 18c includes kernel parameters configuration, dependencies installation, oracle database installation, oracle listener configuration after installation and finally access oracle enterprise manager 18c in browser. Hardware Requirements : Minimum 2 GB RAM, 2 CPU Cores and Enough Hard disk Space. Software Requirements : CentOS 7 with dependencies for oracle database 18c installed and Kernel Parameters configured. Important Note: To avoid Port already in use error I will be configuring hostname at the end of installation. Installation method : Offline, Oracle Database 18c XE RPM file for linux downloaded and installed. Oracle Database 18c XE Features ############################### Oracle Multitenant SQLJ Microsoft Distributed Transaction Coordinator support Native .NET Data Provider—ODP.NET .NET Stored Procedures Online index rebuild Online table organization Online table redefinition Trial recovery Fast-start fault recovery Flashback Table Flashback Database Cross-platform Backup and Recovery Sharded Queues Network Compression Client Side Query Cache Query Results Cache PL/SQL Function Result Cache Adaptive Execution Plans In-Memory Column Store In-Memory Aggregation Attribute Clustering Column-Level Encryption Tablespace Encryption Oracle Advanced Security Oracle Database Vault Oracle Label Security Centrally Managed Users Fine-grained auditing Privilege Analysis Real Application Security Redaction Transparent Sensitive Data Protection Virtual Private Database Oracle Spatial and Graph Property Graph and RDF Graph Technologies (RDF/OWL) Partitioned spatial indexes Oracle Partitioning Oracle Advanced Analytics Oracle Advanced Compression Advanced Index Compression Prefix Compression (also called Key Compression) Basic Table Compression Deferred Segment Creation Bitmapped index, bitmapped join index, and bitmap plan conversions Transportable tablespaces, including cross-platform and full transportable export and import Summary management—Materialized View Query Rewrite
Views: 362 java frm
SQL tutorial 62: Indexes In Oracle Database By Manish Sharma RebellionRider
 
04:03
Watch and learn concepts of SQL Index In Oracle Database. In this tutorial you will learn about B-Tree Index and Function based Index. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : Previous Tutorial ► ------------------------------------------------------------------------- ►►►Help Me In Getting A Job◄◄◄ ►Help Me In Getting A Good Job By Connecting With Me on My LinkedIn and Endorsing My Skills. All My Contact Info is Down Below. You Can Also Refer Me To Your Company Thanks ------------------------------------------------------------------------- Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! -------------------------------------------------------------------------- Amazon Wishlist: http://bit.ly/wishlist-amazon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 40055 Manish Sharma
part 12 truncate partition
 
01:55
Truncate partition, alter table, data warehousing
part 15 move partition
 
01:58
move partition, alter table, data warehousing
PART 7 MERGE PARTITION
 
01:54
merge partition, alter table, data warehousing
Delete, Drop, and Truncate Statements in Hive
 
06:41
Delete, Drop, and Truncate Statements in Hive Delete Statement: Delete statement is used to delete certain rows from a table based on a condition specified using the WHERE clause. The syntax is in below as highlighted. DELETE FROM tablename [WHERE expression]; Note: DELETE statement is available from hive 0.14.0 version and above Drop Statement: The drop table statement is used to drop the table altogether. The syntax is highlighted here: DROP TABLE IF EXISTS TABLENAME; Let’s quickly see how the managed table and external table differs when dropping the table. We have already discussed this in the “Two different types of hive tables” video. Take a look at it if you haven’t. For the managed hive tables, the drop table statement removes the metadata information as well as the data. The data will be actually moved to .Trash/Current directory. metadata will be permanently deleted. However for external tables, only the metadata information is permanently deleted and the actual data remains intact in the hdfs directories. So in the case of external table, if the table was deleted accidentally, then the table can be re-created by using the same schema and specifying the same location for the hdfs data directory. If deleting the external table was the intention, then after deleting the table using the drop statement, you may also delete the underlying hdfs data directory by issuing the hdfs dfs -rm command. Truncate Statement: Truncate table statement is used to remove only the data from the table. The table structure with the schema remains intact. Truncate removes all the rows from a table or partition. The syntax is highlighted below. TRUNCATE table syntax TRUNCATE TABLE TABLENAME;
Views: 1224 BigDataElearning
part 17 split partition
 
01:56
split partition, data warehousing, alter table
Creating range partition in Oracle 12c - Part 1
 
11:32
Partition makes a table access faster in case of very large table. In this tutorial we have tried to demonstrate the range partition on date.
Views: 112 Subhroneel Ganguly
Tables and Tables Clusters in Oracle
 
56:40
https://dbagenesis.com/p/oracle-11g-advanced-dba DBA Genesis provides all you need to build and manage effective Oracle technology learning. We designed DBA Genesis as a simple to use yet powerful online Oracle learning system for students. Each of our courses is taught by an expert instructor, and every course is available on demand. Video talks about "what are table clusters inside Oracle database". One of video lessons from our Advanced DBA video course. Have a happy learning!
Views: 3781 DBA Genesis
What is a PARTITION in Oracle? Why to use Partition And Types of Partitions
 
07:09
Hi guys in my today scenario I'm going to explain with you What is a PARTITION in Oracle? #WhatisPARTITION Why to use Partition And Types of Partitions Oracle database Unbeatable,Unbreakable Platform..
Views: 22170 Oracle World
SQL 12c Tutorial 23 : SQL Creating PARTITION on  Existing Table SQL 12c new feature
 
06:20
SQL 12c Tutorial 23 : SQL Creating PARTITION on Existing Table SQL 12c new feature SQL 12c New Features SQL 12c Tutorial for beginners Oracle SQL Tutorial for beginners Creating Partition on existing table
Views: 798 TechLake
How to recover truncated table without backup in oracle
 
12:22
TRY PRM For Oracle Database , FULL GUI supported, easy to use, written in Java cross platform . PRM can help user recover data from truncated table or corrupted database!
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: 304 Saurabh Joshi
Indexes in Oracle :Index Scan Methods :Part 2
 
30:18
The Video Explains when should you create indexes. The difference between Simple and composite Index, Relevance of order in composite indexes and Index Scan Methods in detail. 1.Index Unique scan 2.Index Range Scan 3. Index Skip Scan 4. Fast full Index Scan 5. Full Index Scan If you have any questions just drop in a comment
Views: 5801 Tech Coach
Frgmentation in oracle database
 
34:54
Fragmentation in oracle database,find and defragmentation
Views: 3759 Sainora Annanagar
SQL Server 34 - How to Create and Drop Indexes
 
05:15
Creating indexes is a very easy task, but before you go creating indexes on everything, you need to know that some columns are indexed by default. Specifically, any column that is labeled as the PRIMARY KEY or UNIQUE are indexed by default. That means that if you have a UNIQUE column, you do not need to worry about adding an INDEX to it. The columns that you will want to pay special attention to are any foreign keys or columns that you are going to use very frequently. We are going to create an index on our SpeciesID column in our Animals table. This is a foreign key that I'm likely going to use very frequently. CREATE INDEX IX_AnimalsSpecies ON Animals (SpeciesID); The syntax is very similar to CREATE TABLE in that you say CREATE INDEX followed by an index name. The IX_ is a prefix that is sometimes conventionally used to name indexes. Next, we have the table name, and then we have something to describe the column. That way if you see IX_AnimalsSpecies, you automatically know it is talking about an Index for the Animals table that is on the column dealing with the species. To get rid of this index, use this: DROP INDEX IX_AnimalsSpecies; Which is also very similar to how we drop a table. Now, you can also create an INDEX on multiple columns if you are going to use them together very often. The way you do that is just add another column after a comma inside of the () in the index columns. For example: CREATE INDEX IX_AnmialsContact ON Animals (Name, ContactEmail); One other thing I wanted to show you is that you can actually create a UNIQUE Index by adding the keyword in: CREATE UNIQUE INDEX IX_Species ON Species (Species); This should only be used if every value for a column is labeled unique…In fact, it forces every row to be unique. Remember though that if a column is labeled UNIQUE, it is indexed by default...So this is not needed in this situation. In the next video we will discuss in more detail whether you want to use the UNIQUE Constraint create a UNIQUE index. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 7592 Caleb Curry
Drop/Delete Oracle 12c database from sqlplus commandline
 
02:58
Simple demonstration to show how to Drop /Delete Oracle database from Sql*Plus Command line
Views: 1452 Oracle Testlab
3. Oracle database Installation With ASM: Add Hard Disk, Create partition & transfer software
 
19:39
Automatic Storage Management (ASM) is a feature that has be introduced in Oracle 10g to simplify the storage of Oracle datafiles, controlfiles, logfiles and backups. ASM will be used as the file system and volume manager for Oracle Database files (data, online redo logs, control files, archived redo logs), and the Fast Recovery Area. NOTE: ASMLib in the Unbreakable Enterprise Kernel. ASMLib – Linux specific ASM library and its associated driver. The Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel. No driver package needs to be installed when using this kernel. The oracleasm-support and oracleasmlib packages still need to be installed. The oracleasm-support can be installed from Oracle Linux ISO image. For other Linux flavors could be found here – (Download section for particular Linux distribution) The oracleasmlib can be downloaded from ULN (Unbreakable Linux Network), subscription is required. Non-subscribers are free to use the similar package built for RHEL on their Enterprise Linux machines, which we will use in this tutorial. Action plan: 1. Installing Oracle Enterprise Linux and creating virtual hard disks in VMware for ASM disks 2. Creating recommended OS groups and user for Grid Infrastructure 3. Creating login scripts for grid and oracle users 4. Installing Oracle ASM packages 5. Creating ASM disk volumes 6. Downloading and installing Oracle Grid Infrastructure software 7. Creating ASM disk groups 8. Installing Oracle database software and create database instance
Views: 439 OnLinE ReSoUrCe
part 4 date range partition
 
02:33
date range paritition data warehousing range partition
part 19 compare truncate,drop,coalsec
 
02:35
compare truncate, drop, drop list values, coalesc partition, data warehousing alter table
Introduction - Partition in SQL Server - Part 1 Tamil
 
04:05
Click here to Subscribe to IT PORT Channel : https://www.youtube.com/channel/UCMjmoppveJ3mwspLKXYbVlg Partitioning is the process of dividing a single large table/index into multiple logical chunks/partitions in such way that each partition can be managed separately without having much overall impact on the availability of the table/index. Partitioning improves the manageability and availability of table/index as well as the performance of the queries running against this partitioned table/index SQL Server supports table and index partitioning. The data of partitioned tables and indexes is divided into units that can be spread across more than one filegroup in a database. The data is partitioned horizontally, so that groups of rows are mapped into individual partitions. All partitions of a single index or table must reside in the same database. The table or index is treated as a single logical entity when queries or updates are performed on the data. Explained in Tamil
Views: 424 IT Port
SQL Tutorial - Window Functions - Lag and Lead
 
08:10
Another video brought to you by BeardedDev, bringing you tutorials on Business Intelligence, SQL Programming and Data Analysis. In this video I talk about using Lag and Lead in Windows Functions. This video covers the requirements to pass the exam: If you would like to follow along with the tutorial please run the SQL below: IF OBJECT_ID(N'dbo.Sales', N'U') IS NOT NULL DROP TABLE dbo.Sales; GO CREATE TABLE dbo.Sales ( Sales_Id INT NOT NULL IDENTITY(1, 1) CONSTRAINT PK_Sales_Sales_Id PRIMARY KEY , Sales_Customer_Id INT NOT NULL , Sales_Date DATETIME2 NOT NULL , Sales_Amount DECIMAL (16, 2) NOT NULL ) INSERT INTO dbo.Sales (Sales_Customer_Id, Sales_Date, Sales_Amount) VALUES (1, '20180102', 54.99) , (1, '20180103', 72.99) , (1, '20180104', 34.99) , (1, '20180115', 29.99) , (1, '20180121', 67.00) Lag and Lead are useful for performing trend analysis, in the example I show how we can display a customer spending trend. Lag will show the previous value. Lead will show the next value. Lag and Lead accept multiple parameters as demonstrated in the video: LAG([Column], [Offset], [Value if NULL]) The example of LAG and LEAD in the video can be shown by executing the below SQL query: SELECT Sales_Customer_Id , Sales_Date , LAG(Sales_Amount, 2, 0) OVER(PARTITION BY Sales_Customer_Id ORDER BY Sales_Date) AS PrevValue , Sales_Amount , LEAD(Sales_Amount, 2, 0) OVER(PARTITION BY Sales_Customer_Id ORDER BY Sales_Date) AS NextValue FROM dbo.Sales Please feel free to post comments.
Views: 1322 BeardedDev
Using Oracle Metadata to your Advantage Explained with real scenarios.
 
17:15
In this video I have explained who you can use the Oracle metadata tables to your advantage with real project scenarios and situations. The video is a little descriptive it gives you much more than just the syntax and the tables. All database offer a bunch of tables using which you can make smart inferences about your data,process and health of the database. I have explained the below tables in this video and how to use them smartly 1.All_Source 2.all_objects 3.All_tables 4.all_tab_cons 5.all_constraints I will be sharing more such places where we can use these metadata queries so don't forget to subscribe to my channel. If you can questions/clarifications just drop a comment and I will be more than happy to solve your queries.
Views: 3048 Tech Coach
part 11  modify parition drop values
 
02:15
alter table modify partition, drop values,
Row Number Vs Rank Vs Dense Rank
 
07:04
This video shows the difference between row_number, rank and dense_rank analytical functions in oracle database with appropriate easy to understand examples, along with it the video demonstrates the different output obtained when using either of the three functions. Apart from simple explanation of the function we also show how partition by and order by clause can be used with the functions for tacking day to day scenarios. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : union and union all : https://youtu.be/n9FqQOd8liY char and varchar2 : https://youtu.be/039qzwjWf4k replace and translate : https://youtu.be/HKYF77BGzOE procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 2404 Kishan Mashru
Oracle Rowid, RowNum and row_number
 
06:44
Oracle Rowid, RowNum and row_number... Explained in detailed...
Views: 5649 CONNECT TO LEARN
How To Alter Hive Tables : ALTER Statement
 
03:27
How to Alter Hive Tables: ALTER Statement: Here is the syntax to change the table name using ALTER statement ALTER TABLE TABLENAME RENAME TO NEW_TABLENAME And the syntax to add columns to the table using ALTER statement is: ALTER TABLE TABLENAME ADD COLUMNS (newcol1 datatype, newcol2 datatype); For replacing or removing the columns using ALTER statement we use the following syntax ALTER TABLE TABLENAME REPLACE COLUMNS (col1 datatype_new, col2 datatype);
Views: 599 BigDataElearning
part 7 model clause partition by
 
04:11
dimension by, partition by, model clause, sql model, data warehousing
How to Recover MySQL, MSSql and Oracle Databases ⚕️👨‍💻🖥️
 
12:39
👍 Watch how to recover MySQL, MSSql and Oracle databases. How to backup such databases, which software to use for this purpose, and how to restore the databases from such backups. Hetman Partition Recovery - https://hetmanrecovery.com/hard_drive_recovery/software.htm. Content: Creating a backup copy and restoring MySQL databases with MySQL Workbench; Restoring a database manually; Creating a backup copy and restoring MySQL databases with mysqldump; Recovering damaged MySQL database tables with the help of myisamchk; Recovering a Microsoft SQL Server database; How to create a copy of SQL Server database for further restore, import or transfer; Creating a backup file manually; Creating a backup copy of Oracle Database Express Edition; Recovering tables with Hetman Partition Recovery; That is all for now. Hit the Like button and subscribe to our channel. Leave comments to ask questions. Thank you for watching. Good luck. Playlist: Recovering Data Deleted From The Hard Disk of a Windows Computer or Laptop - https://www.youtube.com/playlist?list=PLWfvrWYvsWiJz-xwWNm8AnZSzoAzDq-Zp. Other videos: #DataBaseRecovery, #MySqlRecovery, #MSSqlRecovery, #OracleRecovery, #DataBaseBackup.
Views: 1162 Hetman Recovery
Difference Between Delete and Truncate
 
03:41
Below is link for Useful Pl/SQL Books http://goo.gl/XMy0tt ---------------------------------------------------------- Difference Between Delete and Truncate in Detail On bigger picture they serve the same purpose but there are many Differences listed with examples Point Delete Truncate 1. Data Recovery Delete: Come under the DML Category, we need to commit or Rollback explicitly to make the changes permanent, so we can recover the data by Rollback command fully with in a session or up to a point if Save Points are used Fall In DDL Category (DDL Command issue the Auto commit implicitly) so no chances of Recovery even not using the Flashback table method. But Truncate operations are also logged , they didn’t generate redo SQL but they are logged , view for truncated data info V$LOGMNR_CONTENTS 2. Data Removal Delete Can remove all or selected data using the Where Clause predicates. Or we can say delete any subset of rows We can Truncate complete table or a partition or sub partition of a table. 3. Speed Delete is Slower because oracle maintain the redo logs for Read Consistency (so that every session connected can see a consistent data at a given point of time ) Delete is very time consuming activity especially when table have numerous indexes and Triggers associated with table Faster as no data logs are maintained no associated trigger firing. 4. DML Triggers Firing DML (Delete) triggers associated with table will fire. DML Trigger will not fire in case of truncate method. 5. Flashback Technology Data can be recovered even after commit operation using Flashback Table options Flashback_transaction_query table will give what to recover and up to which point. Data cannot be recovered in truncate method by Flashback table option. 6. Referential Integrity Constraint Behavior if we don’t have related data in child table then we can delete the data from the parent table or we have variants like On Delete Cascade & on Delete set Null. We can’t truncate a table with enable Referential Integrity Constraint, even there is no data in the child table, we have to disable or drop the constraint if we want to truncate the table. Exception: Truncate is possible if the FK is self-referential means primary key and foreign key are on the same table. 7. Space De allocation or Space Utilization No extent reset with delete when deleting rows from a table, extents are not de allocated, So if there were 50 extents in the table before the deletion, there will still be 50 after the deletion. Truncate: When a table is truncated it will free the space allocated except in case of reuse storage clause. This space can subsequently be used only by new data in the table or cluster resulting from insert or update operations .All extents are de allocated leaving only the extents specified when the table was originally created .Example So if the table was originally created with min extents 3, there will be 3 extents remaining when the tables is truncated. When you truncate a table, NEXT is automatically reset to the last extent deleted. 8. High Water Mark Delete will not reset the high water mark Truncate will reset the High Water mark which is very important for performance point of view as in case of full table scan and full index scan oracle will read all the block under high water mark this makes a lot of difference in terms of performance. 9. Cluster No as such restriction with delete. You cannot individually truncate a table that is part of a cluster. You must truncate the cluster, Delete all rows from the table, or drop and re-create the table. 10. Information Capturing Delete : we can capture the row information what we have deleted using Delete Method, f you are deleting multiple records then use composite data types (collections & records) Truncate Don’t have this feature of capturing the deleted records. 11. Function Based Index Impact DELETE You cannot delete rows from a table if a function-based index on the table has become invalid. You must first validate the function-based index. Truncate: No as such restriction 12. UNUSABLE Indexes Delete no as such feature. Truncate if table is not empty then truncate make all unusable indexes to useable. 13. Complex views You cannot delete data from a Complex view except through INSTEAD OF triggers. But we can delete data from simple Views and MV. We cannot truncate a view simple or complex but you can truncate MV with special Features like Preserve MV Logs and Purge MV Logs. 14. Privileges Delete You need to provide delete table privilege on object. Truncate you must have drop table privilege there is no truncate table privilege exists. 15. Domain Index No as such restriction You cannot truncate the object having domain index in invalid or In progress state
Views: 12824 Ram Gupta
Delete vs Truncate - similarities and differences in SQL Server
 
10:09
Differences and similarities between DELETE & TRUNCATE statement in SQL Server. Check more on my blog: http://sqlwithmanoj.com/2009/02/22/difference-between-truncate-delete-and-drop-commands/ For more updates like my page in FB: https://www.facebook.com/sqlwithmanoj
Views: 20673 SQL with Manoj
part 9 - list partition
 
02:21
list partition, data warehousing, alter table
Part 3 of 4 MS SQL Server Partitioning on SQL 2014
 
10:45
In this video we explain the difference between MS SQL server partitioning and simply placing tables in filegroups with multiple files. When to use which approach and what the advantages and disadvantages are. The video explain the idea of proportional filling when MS SQL Server writes data to multiple data files.
Views: 2460 Jayanth Kurup
MySQL Partitioning
 
16:27
In the tenth episode of 'Getting Started With MySQL' Series, we get to walk through the different types of Table Partitioning (such as RANGE, LIST and HASH) in MySQL Database. Most importantly we get some idea on what benefit we get out of partitioning a Database Table.
Views: 8041 Rajesh Rajasekharan
Using SQL Pattern Matching with Big Data Lite VM
 
29:59
In this video, you are shown how to use SQL Pattern Matching with the Big Data Lite VM. With Oracle Database 12c Release 1 (12.1), you can use the MATCH_RECOGNIZE clause to perform pattern matching in SQL to do the following: 1. Logically partition and order the data that is used in the MATCH_RECOGNIZE clause with its PARTITION BY and ORDER BY clauses. 2. Define patterns of rows to seek using the PATTERN clause of the MATCH_RECOGNIZE clause. These patterns use regular expressions syntax, a powerful and expressive feature, applied to the pattern variables you define. 3. Specify the logical conditions required to map a row to a row pattern variable in the DEFINE clause. 4. Define output measures, which are expressions usable in the MEASURES clause of the SQL query. 5. Control the output (summary vs. detailed) from the pattern matching process See the Oracle By Example demo at: https://apex.oracle.com/pls/apex/f?p=44785:24:0:::24:P24_CONTENT_ID,P24_PREV_PAGE:9540,1 See the related blog post at http://oracle-big-data.blogspot.co.uk/2014/04/analyzing-our-big-data-lite-movie-app.html Copyright © 2014 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.
Hive partition with example - Interview Question
 
16:27
PARTITIONINING ===================== 1)Dynamic 2)Static 1)Creation of Table all states ============================================== create table student_nonpartition(Name string, District string,Year string) row format delimited fields terminated by '|'; 2)Loading data into created table all states Load data local inpath '/home/cloudera/Desktop/partition_data.txt' into table student_nonpartition; 3)Creation of partition table create table student_partition(Name string,District string) PARTITIONED BY(Year string); 4)For partition we have to set this property set hive.exec.dynamic.partition.mode=nonstrict 5)Loading data into partition table INSERT OVERWRITE TABLE student_partition PARTITION(Year) SELECT name,district,Year from student_nonpartition;
Views: 136 ANKUSH THAVALI
Oracle SQL PLSQL 12C Tutorial 5 - How to create new Table
 
08:36
This Video Tutorial Will Describe how to create a new table in oracle 12C version. This command will also work on other versions of database like Oracle 11g Database, Oracle 10g Database, Oracle 9i Database, Oracle 8i Database, Oracle 8 Database and so on. Full Syntax will be given in this video tutorial about how to create a new table in oracle database. Along with live example of new table creation . In this video tutorial we will create a new sample table. All the keywords, format, mandatory clauses etc are described in this video. As example we create new table with different datatypes and length of data that can be stored in that table. Many columns will be created that can store alphanumeric, numeric , date etc.

Laura hoptman essay
Effective titles for essay
Foreign service officer test essay format
Rashtra bhasha hindi essay on environment
Mi familia essay