Home
Search results “Rebuild online oracle alter index”
Global Index rebuild scenario in Oracle Database 11g
 
08:41
Why and How we need to rebuild global Index in Oracle 11g
Views: 3042 Athar Fahad
How to Move Object from one Table Space to Another Table Space? | How to Rebuild the Index ?
 
05:03
This Video will teach you How to Move Object one Table Space to Another | How to Rebuild the Index ? move table from one tablespace to another in oracle 11g oracle move schema to another tablespace oracle how to move objects to another tablespace oracle 11g move schema to another tablespace alter table move tablespace oracle 8i oracle move table script oracle move cluster to new tablespace oracle move table example rebuild index oracle script alter index rebuild online parallel oracle rebuild all indexes oracle index rebuild online vs offline oracle rebuild partitioned index index rebuild oracle best practice index rebuild script in oracle 11g
Views: 918 Oracle PL/SQL World
Index Rebuild vs. Reorganize
 
05:48
Some of my thoughts about performing either, or any at all. In some cases, I won't use indexes.
Views: 4138 SQLInSix Minutes
How to Detect Soft Corruption in Oracle 12c Database
 
18:19
Detection of Soft Corruption in 12c: To use the scripts below replace : , ",# and $ by proper bracket Lets Create a tablespace and small table. SQL: create tablespace DEMO1 datafile '/u02/tstdb1/TSTDB1/datafile/demo01.dbf' size 50M SQL: create table objects tablespace DEMO1 as select * from dba_objects; SQL: alter table objects add constraint pk_obj primary key #object_id$; SQL: create index idx_obj_name on objects#object_name$ tablespace demo1; Backup tablespace. RMAN: backup tablespace DEMO1; We need to put the DB in archivelog first Rebuild index with NOLOGGING option to simulate soft corruption later. RMAN: alter index idx_obj_name rebuild nologging; Confirm that we have datafiles that require backup because they have been affected with NOLOGGING operation. RMAN: report unrecoverable; Simulate corruption. RMAN: alter database datafile 5 offline; RMAN: restore datafile 5; RMAN: recover datafile 5; RMAN: alter database datafile 5 online; Query table with corrupted index and notice error. SQL: select count#*$ from objects where object_name like 'A%'; Let’s perform validation of datafile to check block corruption. RMAN: backup validate check logical datafile 5; Notice that we have 457 blocks marked corrupt but v$database_block_corruption view is empty. SQL: select count#*$ from v$database_block_corruption; Let’s query v$nonlogged_block view. set lines 200 set pages 999 select file#, block#, blocks,object#,reason from v$nonlogged_block; Will RMAN detect that we have corrupted blocks? RMAN: backup datafile 5; RMAN backup won’t fail due to NOLOGGING corrupt blocks and our backup will contain soft corrupted blocks. Let’s Identify corrupt segments using v$nonlogged_block view. set lines 2000 set pages 9999 col owner for a20 col partition_name for a10 col segment_name for a20 SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file# , greatest#e.block_id, c.block#$ corr_start_block# , least#e.block_id+e.blocks-1, c.block#+c.blocks-1$ corr_end_block# , least#e.block_id+e.blocks-1, c.block#+c.blocks-1$ - greatest#e.block_id, c.block#$ + 1 blocks_corrupted FROM dba_extents e, V$NONLOGGED_BLOCK c WHERE e.file_id = c.file# AND e.block_id "= c.block# + c.blocks - 1 AND e.block_id + e.blocks - 1 := c.block# UNION SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file# , header_block corr_start_block# , header_block corr_end_block# , 1 blocks_corrupted FROM dba_segments s, V$NONLOGGED_BLOCK c WHERE s.header_file = c.file# AND s.header_block between c.block# and c.block# + c.blocks - 1 UNION SELECT null owner, null segment_type, null segment_name, null partition_name, c.file# , greatest#f.block_id, c.block#$ corr_start_block# , least#f.block_id+f.blocks-1, c.block#+c.blocks-1$ corr_end_block# , least#f.block_id+f.blocks-1, c.block#+c.blocks-1$ - greatest#f.block_id, c.block#$ + 1 blocks_corrupted FROM dba_free_space f, V$NONLOGGED_BLOCK c WHERE f.file_id = c.file# AND f.block_id "= c.block# + c.blocks - 1 AND f.block_id + f.blocks - 1 := c.block# order by file#, corr_start_block# / This is the best outcome to get if you notice corruption errors. All errors are related to index corruption so we could fix this problem rebuilding index. alter index idx_obj_name rebuild; Simply issuing "alter index rebuild" command won't work. We should mark index unusable to drop segment before rebuilding it or just rebuild index with online option. It is better choice to mark index unusable because you don't need additional space then, but I will simply rebuild index with online option and see what will happen. SQL: alter index idx_obj_name rebuild online; Index altered. SQL: select count#*$ from objects where object_name like 'A%'; No errors... but, let's validate datafile for corruption. RMAN: backup validate check logical datafile 5; Notice "Marked Corrupt" column. Hm... 457 like before. Don't worry, this is not new corruption. These are FREE blocks which will be reused and Oracle will automatically re-format those blocks. Query the v$nonlogged_block view again as given above. We could force re-formatting creating dummy table and inserting data to dummy table. Check Doc ID 336133.1. create table s # n number, c varchar2#4000$ $ nologging tablespace DEMO1; SQL: BEGIN FOR i IN 1..1000000 LOOP INSERT /*+ APPEND */ INTO sys.s select i, lpad#'REFORMAT',3092, 'R'$ from dual; commit ; END LOOP; END; / SQL: drop table sys.s purge; Notice that we don't have corrupted blocks any more. RMAN: backup validate check logical datafile 5;
Views: 160 OracleDBA
【VDEDU】Unusable indexes use
 
06:29
Unusable indexes in Oracle, DML statements are not use the index to its maintenance, at the same time the optimizer will not use the index. Unusable indexes no segment exists. Unavailable index index becomes available methods are: 1. Place the index can not be truncate operation corresponding table; 2.rebuild index; In addition, the query optimizer can use conversion method expand table so that the SQL statement has encountered unusable index partition table to generate better execution plans.
Views: 65 崔旭
TSQL: Rebuild All Indexes In A Database
 
12:05
TSQL – Rebuild All Indexes https://www.fintekdev.com/tsql-rebuild-all-indexes/ (sponsored post) (Using Microsoft SQL Server 2008R2)
Views: 8301 SQLInSix Minutes
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: 6765 BhagyaRaj Katta
How to Shrink table in Oracle..
 
11:52
this video will help how to reclaim space from the table.
Views: 1742 oracdb
Checkpoint Revalidate
 
02:28
The REVALIDATE option regenerates the table headers for a partitioned table or uncompressed join index and optionally verifies and corrects the row partitioning for a table (but not for a join index) if you specify the WITH DELETE or WITH INSERT null partition handling options. You can specify the REVALIDATE option for unpartitioned tables and join indexes without also specifying PRIMARY INDEX. This makes revalidation applicable whether or not the table or join index has a primary index. You must specify the REVALIDATE option without also specifying PRIMARY INDEX for NoPI tables and column‑partitioned tables and join indexes. Otherwise, Teradata Database aborts the request and returns an error to the requestor. The REVALIDATE option also provides the ability to revalidate some data dictionary columns. REVALIDATE requests do not verify the column partitioning of a column‑partitioned table or join index. If partitioning errors are detected for a table (but not a join index), an ALTER TABLE REVALIDATE request corrects them. REVALIDATE also revalidates the following Data Dictionary table columns. wave web technology was established in 2012, and has a dynamic team of professional web developers, web designers, SEO experts and customer support . website : www.wavewebtech.com https://www.facebook.com/wavewebtechnologies https://twitter.com/wavewebtechnolo https://plus.google.com/collections/
Views: 6 vikas verma
TABLESPACE MANAGEMENT RENAME OR MOVE A DATAFILE
 
04:40
RENAME OR MOVE A DATAFILE (when there is space issue in os level file movement is required) ========================== 1)TABLESPACE SHOULD BE OFFLINE(when we move or rename a datafile users should not access) 2)FROM OS LEVEL DATAFILE COPY TO NEW LOCATION 3)SQL LEVEL RENAME THE DATAFILE TO NEW LOCATION 4)MAKE THE TABLESPACE ONLINE alter tablespace king offline; os level rename king01.dbf TO GOODKING01.dbf os level move the file to new location(KING02.DBF) alter tablespace king rename datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING01.DBF' to 'E:\DATABASE\DATABASE\ORADATA\ORCL\GOODKING01.DBF'; alter tablespace king rename datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\KING02.DBF' TO 'D:\ORADATA\KING02.DBF'; alter tablespace king online; HOW TO CHECK DATAFILES INFO IN PARTICULAR TABLESPACE ===================================================== COL FILE_NAME FOR A50 COL TABLESPACE_NAME FOR A20 select tablespace_name,file_name from dba_data_files where tablespace_name like '&tablespace_name';
Views: 774 Praveen Biyyapu
How To Drop and Recreate Tables
 
03:02
This video shows how to drop and recreate tables using the SQL I provided.
Views: 164 NancyIT2009
Microsoft SQL Server 2012-Creating and Altering Indexes
 
26:35
Microsoft SQL Server 2012-Creating and Altering Indexes All Video : https://www.youtube.com/channel/UCnG0wuSLfe_h3QipJIpCciw
Views: 47 AH SMEY
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: 8158 Caleb Curry
SelectTec | Aula Nº 28 | Create Index - Oracle SQL Developer
 
07:38
create index syntax: create unique index nome_indice tabela(colula)
Views: 1589 SelectTec
Oracle Encrypted Tablespaces
 
14:35
Oracle Encrypted Tablespaces
Views: 1698 The Silent DBA
How To Recover MySQL Database From Data Files
 
04:12
In this tutorial, I show how to recover your MySQL databases from MySQL data files in Ubuntu 11.04 and create a mysql dump of them using phpmyadmin.
Views: 60686 MyOwnHomeServer
Oracle 12c Release 2 - How to move a heap table online
 
01:43
Need to reorganize a table ? Want to do it whenever you want without impacting any users ? Easy in 12.2 ========================================­­­­============== Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. 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 or merchantability, fitness for a particular purpose, and non-infringement.
Views: 421 Connor McDonald
Using jQuery to Update a Page Without Refresh (Part 1 of 2)
 
14:47
In this video I show you how to update a page without refreshing using jQuery and JSON objects. Being able to do this is a key feature of single-page applications (SPA). As always, if you have any questions, please feel free to ask! Get the code here: https://prettyprinted.com/blog/577473/using-jquery-to-update-a-page-without-refresh
Views: 12988 Pretty Printed
How to Install Oracle! !! Database Training
 
01:50
For Complete Database Training Details Visit: http://www.qaonlinetraining.com http://infotek-solutions.com/ Delivery Method: Instructor led classroom and Online Training supported by world class Learning management system which automate all flow of lectures, videos, assignments, forums, quizzes and interview process. Class Schedule: Week-ends and Weekdays Contact Us: 571-437-0652, Mail Us: [email protected] Training Locations at : Ashburn / Fairfax / Maryland Office Address: 12801 Worldgate Dr #500, Herndon, VA 20170 Overview of Oracle DBA Training Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles (VP of DBA, developer DBA, production DBA, database babysitter) The changing job role of the Oracle DBA Environment management (network, CPU, disk and RAM) Instance management (managing SGA regions) Oracle table and index management Instance Architecture Instance vs. database Components of an instance Creating the OFA file structure ($DBA, bdump, udump, pfile) Oracle Instance Internals SGA vs. PGA Background processes Interfaces with server and disk I/O subsystem Using SQL*Plus for DBA management Connecting and executing SQL Using the “as sysdba” syntax Overview of SQL*Plus DBA commands (startup, etc.) Control file, UNDO and REDO management Explaining the use of control files Listing the Contents of the control File File locations for control Files Obtaining Control File Information Listing control file contents Displaying and Creating Undo segments Altering Undo Segments Determining the Number and Size of Undo segments Understanding flashback technology Troubleshooting Undo – snapshot too old Redo log concepts for recovery Online redo log (log_buffer) online redo logs and archived redo logs Oracle ARCH and LGWR background processes Redo log dictionary queries Redo log switch frequency and performance Multiplexing the Online Redo Log Files Archiving the Oracle Redo Logs Recovery using the redo log files User and privilege management The three security methods (VPD, Grant security/role-based security, grant execute) Creating New Database Users Using pre-spawned Oracle connections Auditing User activity Identifying System and Object Privileges Granting and Revoking Privileges Creating and Modifying Roles Displaying user security Information from the Data Dictionary Overview of instance management Parameter files (init.ora, listener.ora, tnsnames.ora) Rules for sizing SGA components Automated Oracle memory management (AMM) Initialization file management Creating the init.ora file Using spfile Displaying init.ora values with v$parameter Oracle*Net configuration Creating the listener.ora file Creating the tnsnames.ora file Data buffer configuration & sizing Inside the Oracle data buffers Using the KEEP pool Monitoring buffer effectiveness Using multiple blocksizes (multiple buffer pools) Shared pool and PGA configuration & Sizing Shared pool concepts and components Understanding the library cache Relieving shared pool contention Overview of PGA for sorting and hash joins Using sort_area_size, hash_area_size and pga_aggregate_target Troubleshooting network connectivity Verifying network connectivity with ping and tnsping Testing database links Oracle tables, views and materialized views Types of Oracle tables (regular, IOT, sorted hash clusters, nested tables) Oracle Views Oracle materialized views Oracle indexes Types of Oracle indexes (b-tree, bitmap, bitmap join index) Creating B*-Tree, bitmap and function-based Indexes Function-based indexes Finding indexing opportunities Index maintenance Oracle constraints Costs & benefits of constraints Types of Oracle indexes constraints (check, not null, unique, PK, FK) Cascading constraints Schema, File & tablespace management Describing the relationship between data files, tablespaces and table Understanding Oracle segments Creating Tablespaces – using the autoextend option Changing the Size of Tablespaces – alter database datafile command Defining a TEMP tablespace Changing the default storage Settings for a tablespace Review of the storage parameters in DBA views (ASM, ASSM, pctfree, pctused and freelists). Monitoring Chained rows (fetch continued rows) Monitoring Insert and Update performance (pctused, APPEND) Database Maintenance Reason for reorgs – chained rows, imbalanced freelists Reorganizing Tables using Export and Import Using CTAS to reorganize data Index rebuilding Backup & Recovery overview (hot & cold Backups, RMAN, block change tracking) Oracle DBA Utilities Data pump (Imp and exp utilities) SQL*Loader LogMiner Flashback DataGuard Oracle DBA utilities – Oracle dbms packages (dbms_redefinition)
move table from one tablespace to other
 
08:24
move table from one tablespace to other
Views: 1101 Jamaal Khan
Oracle Tutorial||onlinetraining||pl/sql|| Invalid Objects  by Basha
 
37:40
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
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: 13264 OracleDBVision
How to Setup Mysql on your machine
 
03:11
For Complete Database Training Details Visit: http://www.qaonlinetraining.com http://infotek-solutions.com/ Delivery Method: Instructor led classroom and Online Training supported by world class Learning management system which automate all flow of lectures, videos, assignments, forums, quizzes and interview process. Class Schedule: Week-ends and Weekdays Contact Us: 571-437-0652, Mail Us: [email protected] Training Locations at : Ashburn / Fairfax / Maryland Office Address: 12801 Worldgate Dr #500, Herndon, VA 20170 Overview of Oracle DBA Training Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles (VP of DBA, developer DBA, production DBA, database babysitter) The changing job role of the Oracle DBA Environment management (network, CPU, disk and RAM) Instance management (managing SGA regions) Oracle table and index management Instance Architecture Instance vs. database Components of an instance Creating the OFA file structure ($DBA, bdump, udump, pfile) Oracle Instance Internals SGA vs. PGA Background processes Interfaces with server and disk I/O subsystem Using SQL*Plus for DBA management Connecting and executing SQL Using the “as sysdba” syntax Overview of SQL*Plus DBA commands (startup, etc.) Control file, UNDO and REDO management Explaining the use of control files Listing the Contents of the control File File locations for control Files Obtaining Control File Information Listing control file contents Displaying and Creating Undo segments Altering Undo Segments Determining the Number and Size of Undo segments Understanding flashback technology Troubleshooting Undo – snapshot too old Redo log concepts for recovery Online redo log (log_buffer) online redo logs and archived redo logs Oracle ARCH and LGWR background processes Redo log dictionary queries Redo log switch frequency and performance Multiplexing the Online Redo Log Files Archiving the Oracle Redo Logs Recovery using the redo log files User and privilege management The three security methods (VPD, Grant security/role-based security, grant execute) Creating New Database Users Using pre-spawned Oracle connections Auditing User activity Identifying System and Object Privileges Granting and Revoking Privileges Creating and Modifying Roles Displaying user security Information from the Data Dictionary Overview of instance management Parameter files (init.ora, listener.ora, tnsnames.ora) Rules for sizing SGA components Automated Oracle memory management (AMM) Initialization file management Creating the init.ora file Using spfile Displaying init.ora values with v$parameter Oracle*Net configuration Creating the listener.ora file Creating the tnsnames.ora file Data buffer configuration & sizing Inside the Oracle data buffers Using the KEEP pool Monitoring buffer effectiveness Using multiple blocksizes (multiple buffer pools) Shared pool and PGA configuration & Sizing Shared pool concepts and components Understanding the library cache Relieving shared pool contention Overview of PGA for sorting and hash joins Using sort_area_size, hash_area_size and pga_aggregate_target Troubleshooting network connectivity Verifying network connectivity with ping and tnsping Testing database links Oracle tables, views and materialized views Types of Oracle tables (regular, IOT, sorted hash clusters, nested tables) Oracle Views Oracle materialized views Oracle indexes Types of Oracle indexes (b-tree, bitmap, bitmap join index) Creating B*-Tree, bitmap and function-based Indexes Function-based indexes Finding indexing opportunities Index maintenance Oracle constraints Costs & benefits of constraints Types of Oracle indexes constraints (check, not null, unique, PK, FK) Cascading constraints Schema, File & tablespace management Describing the relationship between data files, tablespaces and table Understanding Oracle segments Creating Tablespaces – using the autoextend option Changing the Size of Tablespaces – alter database datafile command Defining a TEMP tablespace Changing the default storage Settings for a tablespace Review of the storage parameters in DBA views (ASM, ASSM, pctfree, pctused and freelists). Monitoring Chained rows (fetch continued rows) Monitoring Insert and Update performance (pctused, APPEND) Database Maintenance Reason for reorgs – chained rows, imbalanced freelists Reorganizing Tables using Export and Import Using CTAS to reorganize data Index rebuilding Backup & Recovery overview (hot & cold Backups, RMAN, block change tracking) Oracle DBA Utilities Data pump (Imp and exp utilities) SQL*Loader LogMiner Flashback DataGuard Oracle DBA utilities – Oracle dbms packages (dbms_redefinition)
How to run VBScript programs !! Database Training Training ! Infotek-SolutionInc
 
02:26
For Complete Database Training Details Visit: http://www.qaonlinetraining.com http://infotek-solutions.com/ Delivery Method: Instructor led classroom and Online Training supported by world class Learning management system which automate all flow of lectures, videos, assignments, forums, quizzes and interview process. Class Schedule: Week-ends and Weekdays Contact Us: 571-437-0652, Mail Us: [email protected] Training Locations at : Ashburn / Fairfax / Maryland Office Address: 12801 Worldgate Dr #500, Herndon, VA 20170 Overview of Oracle DBA Training Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles (VP of DBA, developer DBA, production DBA, database babysitter) The changing job role of the Oracle DBA Environment management (network, CPU, disk and RAM) Instance management (managing SGA regions) Oracle table and index management Instance Architecture Instance vs. database Components of an instance Creating the OFA file structure ($DBA, bdump, udump, pfile) Oracle Instance Internals SGA vs. PGA Background processes Interfaces with server and disk I/O subsystem Using SQL*Plus for DBA management Connecting and executing SQL Using the “as sysdba” syntax Overview of SQL*Plus DBA commands (startup, etc.) Control file, UNDO and REDO management Explaining the use of control files Listing the Contents of the control File File locations for control Files Obtaining Control File Information Listing control file contents Displaying and Creating Undo segments Altering Undo Segments Determining the Number and Size of Undo segments Understanding flashback technology Troubleshooting Undo – snapshot too old Redo log concepts for recovery Online redo log (log_buffer) online redo logs and archived redo logs Oracle ARCH and LGWR background processes Redo log dictionary queries Redo log switch frequency and performance Multiplexing the Online Redo Log Files Archiving the Oracle Redo Logs Recovery using the redo log files User and privilege management The three security methods (VPD, Grant security/role-based security, grant execute) Creating New Database Users Using pre-spawned Oracle connections Auditing User activity Identifying System and Object Privileges Granting and Revoking Privileges Creating and Modifying Roles Displaying user security Information from the Data Dictionary Overview of instance management Parameter files (init.ora, listener.ora, tnsnames.ora) Rules for sizing SGA components Automated Oracle memory management (AMM) Initialization file management Creating the init.ora file Using spfile Displaying init.ora values with v$parameter Oracle*Net configuration Creating the listener.ora file Creating the tnsnames.ora file Data buffer configuration & sizing Inside the Oracle data buffers Using the KEEP pool Monitoring buffer effectiveness Using multiple blocksizes (multiple buffer pools) Shared pool and PGA configuration & Sizing Shared pool concepts and components Understanding the library cache Relieving shared pool contention Overview of PGA for sorting and hash joins Using sort_area_size, hash_area_size and pga_aggregate_target Troubleshooting network connectivity Verifying network connectivity with ping and tnsping Testing database links Oracle tables, views and materialized views Types of Oracle tables (regular, IOT, sorted hash clusters, nested tables) Oracle Views Oracle materialized views Oracle indexes Types of Oracle indexes (b-tree, bitmap, bitmap join index) Creating B*-Tree, bitmap and function-based Indexes Function-based indexes Finding indexing opportunities Index maintenance Oracle constraints Costs & benefits of constraints Types of Oracle indexes constraints (check, not null, unique, PK, FK) Cascading constraints Schema, File & tablespace management Describing the relationship between data files, tablespaces and table Understanding Oracle segments Creating Tablespaces – using the autoextend option Changing the Size of Tablespaces – alter database datafile command Defining a TEMP tablespace Changing the default storage Settings for a tablespace Review of the storage parameters in DBA views (ASM, ASSM, pctfree, pctused and freelists). Monitoring Chained rows (fetch continued rows) Monitoring Insert and Update performance (pctused, APPEND) Database Maintenance Reason for reorgs – chained rows, imbalanced freelists Reorganizing Tables using Export and Import Using CTAS to reorganize data Index rebuilding Backup & Recovery overview (hot & cold Backups, RMAN, block change tracking) Oracle DBA Utilities Data pump (Imp and exp utilities) SQL*Loader LogMiner Flashback DataGuard Oracle DBA utilities – Oracle dbms packages (dbms_redefinition)
Constraints In SQL | ORACLE
 
07:20
This video explains you about constrains.
Views: 206 Online Pl Sql
[2018 Hot] Latest Upload 1Z0-062 Dumps Oracle Database 12c Exam Test Engine
 
02:01
Latest Upload Pass4itsure 1Z0-062 Dumps Practice Exam, Real Oracle https://www.pass4itsure.com/1Z0-062.html Dumps Test Engine With High Quality, Pass Oracle Database 12c: Installation and Administration From Google Drive https://drive.google.com/open?id=0BwxjZr-ZDwwWNEhYUW1ZWWNVM0U QUESTION 1 You enabled an audit policy by issuing the following statements: SQLandgt; AUDIT POLICY ORA_DATABASE_PARAMETER BY SCOTT; SQLandgt; AUDIT POLICY ORA_DATABASE_PARAMETER BY SYS, SYSTEM; For which database users and for which executions is the audit policy now active? Select two. A. SYS, SYSTEM B. SCOTT C. Only for successful executions D. Only for failed executions E. Both successful and failed executions Correct Answer: AE Explanation Explanation/Reference: * The ORA_DATABASE_PARAMETER policy audits commonly used Oracle Database parameter settings. By default, this policy is not enabled. QUESTION 2 Your multitenant container (CDB) containing three pluggable databases (PDBs) is running in ARCHIVELOG mode. You find that the SYSAUX tablespace is corrupted in the root container. The steps to recover the tablespace are as follows: 1. Mount the CDB. 2. Close all the PDBs. 3. Open the database. 4. Apply the archive redo logs. 5. Restore the data file. 6.Take the SYSAUX tablespace offline. 7.Place the SYSAUX tablespace online. 8.Open all the PDBs with RESETLOGS. 9.Open the database with RESETLOGS. 10.Execute the command SHUTDOWN ABORT. Which option identifies the correct sequence to recover the SYSAUX tablespace? A. 6, 5, 4, 7 B. 10, 1, 2, 5, 8 C. 10, 1, 2, 5, 4, 9, 8 D. 10, 1, 5, 8, 10 Correct Answer: A Explanation Explanation/Reference: RMANandgt; ALTER TABLESPACE sysaux OFFLINE IMMEDIATE; RMANandgt; RESTORE TABLESPACE sysaux; RMANandgt; RECOVER TABLESPACE sysaux; RMANandgt; ALTER TABLESPACE s QUESTION 3 Identify two situations in which the alert log file is updated. A. Running a query on a table returns ORA-600: Internal Error. B. Inserting a value into a table returns ORA-01722: invalid number. C. Creating a table returns ORA-00955: name us already in used by an existing objects. D. Inserting a value into a table returns ORA-00001: unique constraint (SYS.OK_TECHP) violated. E. Rebuilding an index using ALTER INDEX . . . REBUILD fails with an ORA-01578: ORACLE data block corrupted (file # 14, block # 50) error. Correct Answer: AE Explanation Explanation/Reference: The alert log is a chronological log of messages and errors, and includes the following items: *All internal errors (ORA-600), block corruption errors (ORA-1578), and deadl Read More Youtube: https://youtu.be/5hgJXy8yD7Q
Views: 22 Exam Videos
DESCRIBE or DESC Keyword in Oracle | Oracle Tutorials for Beginners
 
07:09
DESCRIBE or DESC Keyword in Oracle | Oracle Tutorials for Beginners DESCRIBE Keyword in Oracle DESC Keyword in Oracle DESCRIBE Keyword in Oracle SQL DESC Keyword in Oracle SQL DESCRIBE Keyword in SQL DESC Keyword in SQL Oracle Tutorials for Beginners Oracle SQL for Beginners Oracle Database for Beginners Oracle SQL Tutorials for Biners Oracle Database tutorials for Beginners oracle describe table structure desc table in sql server descending order in oracle how to see table structure in oracle sql developer desc command in mysql pl sql describe table desc command in sql example describe table in sql query how to see table structure in oracle sql developer desc table in sql server sql query to view table structure in oracle oracle describe table invalid sql statement describe table in sql query oracle desc table order by column name describe not working in oracle oracle show tables how to see table structure in oracle sql developer how to get table structure in oracle 11g sql query to list all tables in a database describe table in oracle sql developer sql query to view table structure in sql server oracle get list of tables in schema oracle show tables describe table structure in sql server
Views: 501 Oracle PL/SQL World
How to filter a table in SQL by large set of values
 
03:10
Sometimes we have to filter a table in a database by large set of values and in most cases we use the "IN" clause. to make the query in less time and efforts we have a solution to insert bulk of values in the IN clause. Follow only these few steps 1. Copy values to a new Notepad document 2. Copy values from NotePad into a new word document 3. Use Replace windows , type in replace textbox "^p" and in the replace with type ',' for string fields and only comma for numeric values 4. Click replace all 5. Remove the extra quote and comma from the end and add a quote to the beginning of string. 6. Copy values to a new Notepad document and the replace the quote with the common quote we use in SQL (') That't it.
Views: 76 Mahmoud Tolba
Zero Downtime Schema Changes in MySQL
 
01:01:18
Do schema changes ("migrations") require a lot of advance scheduling and impact your development and business progress? Is an ALTER TABLE on the critical path in your project planning chart? This common problem comes from the fact that most ALTER operations in MySQL cause the table to be locked and rebuilt, which can be a long and intensive process. Learn how Percona Toolkit's pt-online-schema-change tool makes these issues a thing of the past. With pt-online-schema-change, you can alter huge tables while reads and writes continue without interruption. Presented by Baron Schwartz at Percona Webinars -- May 2nd, 2012. His slides are available here: http://www.percona.com/files/presentations/WEBINAR-zero-downtime-schema-changes.pdf
Full-Text Search in SQL Server 2012 - practical introduction
 
26:00
It is an introduction to Full-Text Search in SQL Server 2012. It walks through installation, configuration and usage of a powerful database engine component for searching in texts. The video contains examples of SQL queries using contains, freetext, freetexttable functions.
Views: 40935 DBA presents
jQuery Tutorials: AJAX Load Content No Page Refresh
 
15:31
Want more? Explore the library at https://www.codecourse.com/lessons Official site https://www.codecourse.com Twitter https://twitter.com/teamcodecourse
Views: 194086 Codecourse
Forward 5: JS Live Stream
 
09:41:39
Views: 3228 ForwardJS
Loud Luxury feat. brando - Body (Official Music Video)
 
03:58
Stream Loud Luxury – Body now on Spotify: https://open.spotify.com/track/21RzyxY3EFaxVy6K4RqaU9?si=lsH7KDxqQxyi2G6w-qqAiw Listen or download "Loud Luxury feat. brando - Body": https://ARMAS1328.lnk.to/BodyYA Check out the Lyric Video of 'Body': https://youtu.be/IetIg7y5k3A Stream more Armada Music hits here: https://WeArmada.lnk.to/PLYA Subscribe to Armada TV: http://bit.ly/SubscribeArmada Summer-tinged and mesmeric from the get-go, ‘Body’ puts shame to the catchiest songs of the season. From the well-timed vocals of brando to the upbeat chords and meticulous arrangement, it makes for a record that never falters. Heeding the cries of music lovers for quality music, this brilliant production from Loud Luxury is on a level of its own. Connect with Armada Music ▶https://www.facebook.com/armadamusic ▶https://twitter.com/Armada ▶https://soundcloud.com/armadamusic
Views: 10027340 Armada Music
Introduction to MySQL Database - part 11
 
05:26
How to start MySQL Database revealed!!! Lecture 11 : Storage and data types Strangely, while many people can ill afford to lose their data on their computers, many people do not take the time to do any backup of this data. This applies mainly to people who work from home. Many companies do have backups in place and the boss will generally enforce that the staff members carry this out. For those who are now realizing the importance of this, they will need to find out about MySQL database migration. Even though MySQL enjoys a fair amount of popularity, not many third-party backup tools exist in order for data to backed up. People will have to find out about applications that will avoid the corruption of the data. Furthermore, sometimes only some of the data is saved. Both theses scenarios can be problematic should the PC crash for any reason. One issue to consider is whether this should be backed up online or offline. In order to avoid any downtime, online backups are often the way many people choose. Offline however creates less errors and one does not need to be worried about orphaned processes, running transactions, table locks or any other things that can and do go wrong. People who are able to afford some downtime or if they have master-slave replication then offline could well be the better option. A data dump is a sequence whereby the database is recreated. This is a rather costly exercise though, as the additional SQL syntax means larger files. Larger files are more intensive on the CPU (Central Processing Unit). Furthermore, while the data is being resorted a full index rebuild is required. Article Source: http://EzineArticles.com/5483201 Resources: http://www.mysql.com/ http://dev.mysql.com/doc/refman/5.6/en/database-use.html http://dev.mysql.com/doc/refman/5.6/en/create-database.html http://en.wikipedia.org/wiki/MySQL http://www.oracle.com/us/products/mysql/overview/index.html http://www.w3schools.com/php/php_mysql_intro.asp http://www.thesitewizard.com/faqs/what-is-mysql-database.shtml http://www.phpmyadmin.net/home_page/index.php Disclaimer : This video does not represent "Introduction to MySQL Database" officially. This video tutorial is solely for educational purpose only. Credits to Udemy Related Searches : mysql database download, mysql database pdf, mysql database tutorial, mysql database commands, create mysql database, mysql database sample, mysql database download for windows, restore mysql database
Nickelback - Song On Fire [Official Video]
 
03:51
The new album ‘Feed The Machine’ is available now at http://smarturl.it/FeedTheMachine Nickelback.com: http://smarturl.it/NB2017 iTunes: http://smarturl.it/FeedTheMachineIT Amazon: http://smarturl.it/FeedTheMachineAZ Spotify: http://smarturl.it/FeedTheMachineSY Google Play: http://smarturl.it/FeedTheMachineGP Apple Music: http://smarturl.it/FeedTheMachineAM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Tickets to the Feed The Machine Tour: http://smarturl.it/NB2017 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Directed by: Nigel Dick Producer: David Angelski Director of Photography: D.P. Quickly Editor: Eddi Ackit Cast: Kathryn Masters (The Girl) Ben Dextraze (The Guy) Bentley Hixon (The Kid) Raven Sto (Mom) Monica Bowman (Sister) Len Harvey (Dad) Paul Kular (Death)
Views: 11562780 Nickelback
Curso MySQL #04 - Melhorando a Estrutura do Banco de Dados
 
27:09
Veja como otimizar a estrutura da sua tabela usando comandos CREATE DATABASE e CREATE TABLE com suporte à acentuação de caracteres no MySQL. Nessa aula, vamos melhorar ainda mais os comandos que vimos na aula anterior. Nós do CursoemVideo sempre recomendamos assistir a aula completa, mas se quiser aprender diretamente uma parte específica, clique nos marcadores de tempo a seguir: 0:28 - O que veremos nessa aula? 3:39 - Apagando um banco com DROP DATABASE 5:14 - Melhorando seu CREATE DATABASE para aceitar acentos no MySQL 8:23 - Melhorando seu CREATE TABLE 17:25 - Explicando Chave Primária (PRIMARY KEY) 21:44 - Pronunciamento importante 23:22 - Criando um Banco MySQL em um servidor online profissional 25:48 - Ajuda a gente, vai? Aula do Curso de Banco de Dados com MySQL criado pelo professor Gustavo Guanabara para o portal CursoemVideo.com. Curso em Vídeo Site: http://www.cursoemvideo.com YouTube: http://www.youtube.com/cursoemvideo Facebook: http://www.facebook.com/cursosemvideo Twitter: http://twitter.com/cursosemvideo Google+: http://plus.google.com/112666558837414979080 Patrocínio HOSTNET: http://www.hostnet.com.br Trilha sonora da abertura: African Drums (Sting) de Twin Musicom está licenciada sob uma licença Creative Commons Attribution (https://creativecommons.org/licenses/by/4.0/) Artista: http://www.twinmusicom.org/
Views: 280160 Curso em Vídeo
How to Change Siri's Voice
 
00:34
Siri has different accents and genders that you can customize in the settings menu. Check out our quick tutorial on how to change Siri's voice.
Views: 10519 MacRumors
A Googly MySQL Cluster Talk
 
55:23
Google TechTalks April 28, 2006 Stewart Smith Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an active member of the free and open source software community, especially in Australia. ABSTRACT Part 1 - Introduction to MySQL Cluster The NDB storage engine (MySQL Cluster) is a high-availability storage engine for MySQL. It provides synchronous replication between storage nodes and many mysql servers having a consistent view of the database. In 4.1 and 5.0 it's a main memory database, but in 5.1 non-indexed attributes can be stored on disk. NDB also provides a lot of determinism in system resource usage. I'll talk a bit about that. Part 2 - New features...
Views: 12842 GoogleTechTalks
MySQL San Francisco Bay Area Community Meetup, June 2007
 
01:37:19
The monthly proceedings of the Bay Area MySQL User's Group.
Views: 5578 Google
BCIS 5379 - Chapter 13 - Implementing EC Systems - From Justification to Successful Performance
 
01:28:48
This is Dr. Schuessler's lecture on Chapter 13: Implementing EC Systems - From Justification to Successful Performance for CIS 579: Technology of E-Business at Tarleton State University. See his personal web site at http://schuesslerphd.com for additional content. Course http://schuesslerphd.com/Teaching/Tarleton/BCIS5379/CIS579.aspx#sthash.7hTIW19Q.dpbs Syllabus: https://docs.google.com/document/d/15-TgiR1BlgtQzmPT5VgH4YNqYEdWdx4AKEtxtn0Y-WE/edit?usp=sharing Presentation: https://docs.google.com/presentation/d/1nCxfMWSqltIiTOwg1NS_okKl7obTms0LEbNm_CJdAMI/edit?usp=sharing Transcript: https://docs.google.com/document/d/1qQrxBvuHhLlme_YUd5v4806cwQUhR5RczaAHk4VbUig/edit?usp=sharing
Views: 1135 Joseph Schuessler
File system
 
52:39
In computing, a file system (or filesystem) is used to control how data is stored and retrieved. Without a file system, information placed in a storage area would be one large body of data with no way to tell where one piece of information stops and the next begins. By separating the data into individual pieces, and giving each piece a name, the information is easily separated and identified. Taking its name from the way paper-based information systems are named, each piece of data is called a "file". The structure and logic rules used to manage the groups of information and their names is called a "file system". There are many different kinds of file systems. Each one has different structure and logic, properties of speed, flexibility, security, size and more. Some file systems have been designed to be used for specific applications. For example, the ISO 9660 file system is designed specifically for optical discs. This video is targeted to blind users. Attribution: Article text available under CC-BY-SA Creative Commons image source in video
Views: 347 Audiopedia
Auburn Coach Wife Kristi Malzahn Agrees with Match & eHarmony: Men are Jerks
 
12:23
My advice is this: Settle! That's right. Don't worry about passion or intense connection. Don't nix a guy based on his annoying habit of yelling "Bravo!" in movie theaters. Overlook his halitosis or abysmal sense of aesthetics. Because if you want to have the infrastructure in place to have a family, settling is the way to go. Based on my observations, in fact, settling will probably make you happier in the long run, since many of those who marry with great expectations become more disillusioned with each passing year. (It's hard to maintain that level of zing when the conversation morphs into discussions about who's changing the diapers or balancing the checkbook.) Obviously, I wasn't always an advocate of settling. In fact, it took not settling to make me realize that settling is the better option, and even though settling is a rampant phenomenon, talking about it in a positive light makes people profoundly uncomfortable. Whenever I make the case for settling, people look at me with creased brows of disapproval or frowns of disappointment, the way a child might look at an older sibling who just informed her that Jerry's Kids aren't going to walk, even if you send them money. It's not only politically incorrect to get behind settling, it's downright un-American. Our culture tells us to keep our eyes on the prize (while our mothers, who know better, tell us not to be so picky), and the theme of holding out for true love (whatever that is—look at the divorce rate) permeates our collective mentality. Even situation comedies, starting in the 1970s with The Mary Tyler Moore Show and going all the way to Friends, feature endearing single women in the dating trenches, and there's supposed to be something romantic and even heroic about their search for true love. Of course, the crucial difference is that, whereas the earlier series begins after Mary has been jilted by her fiancé, the more modern-day Friends opens as Rachel Green leaves her nice-guy orthodontist fiancé at the altar simply because she isn't feeling it. But either way, in episode after episode, as both women continue to be unlucky in love, settling starts to look pretty darn appealing. Mary is supposed to be contentedly independent and fulfilled by her newsroom family, but in fact her life seems lonely. Are we to assume that at the end of the series, Mary, by then in her late 30s, found her soul mate after the lights in the newsroom went out and her work family was disbanded? If her experience was anything like mine or that of my single friends, it's unlikely. And while Rachel and her supposed soul mate, Ross, finally get together (for the umpteenth time) in the finale of Friends, do we feel confident that she'll be happier with Ross than she would have been had she settled down with Barry, the orthodontist, 10 years earlier? She and Ross have passion but have never had long-term stability, and the fireworks she experiences with him but not with Barry might actually turn out to be a liability, given how many times their relationship has already gone up in flames. It's equally questionable whether Sex and the City's Carrie Bradshaw, who cheated on her kindhearted and generous boyfriend, Aidan, only to end up with the more exciting but self-absorbed Mr. Big, will be better off in the framework of marriage and family. (Some time after the breakup, when Carrie ran into Aidan on the street, he was carrying his infant in a Baby Björn. Can anyone imagine Mr. Big walking around with a Björn?)
Views: 194878 Shari Wing