Home
Search results “Data block size oracle”
What should be the Database block size? - DBPerf Video 15
 
07:44
In this video you will learn about the different block sizes and how it impacts an Oracle database performance. Note: You cannot change the block size after a database is created.... Stay subscribed for updates.... Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 1522 Ramkumar Swaminathan
Oracle DBA - Blocks
 
09:22
http://oracledbazerotopro.com This tutorial explains Operating System Blocks and Database Blocks.
Views: 34241 HandsonERP
How to find block sizes of all Oracle Database files
 
14:02
Block size of control files and redo log files are not same as default block size of your oracle database. Understand the level of control we got to alter these block sizes from one of my real time activity. Many more interesting blogs at : www.orskl.com/blog Looking for Oracle DBA training: www.orskl.com/training WhatsApp: +919951696808
Views: 2993 OrSkl Academy
Oracle Tutorial - How to rename Datafile in Oracle step by step
 
08:24
Hello friends in this video i'm going to show you how to rename datafile in oracle step by step
Views: 552 OCP Technology
Structure of Data Blocks - DBArch Video 29
 
05:35
In this video you will understand about the contents of a Data Block. You will learn about Block Header, Transaction slots, Row Directory and space for Data / rows. . Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 2641 Ramkumar Swaminathan
PL/SQL: Without using Length function
 
06:22
In this tutorial, you'll learn how to get the length of a string PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 1984 radhikaravikumar
Oracle Performance - Create Non-Standard Blocksize Tablespaces
 
05:10
Oracle Performance - Create Non-Standard Blocksize Tablespaces
Views: 86 The Silent DBA
Oracle SQL Tutorial 23 - Intro to Data Types
 
05:03
Every column within a table has to be given what is known as a datatype. A data type is a fairly simple concept when you dissect the word. It is literally the type of data. Why do we use types, though? The biggest benefit is so that Oracle knows how to interpret and work with our data. It also makes the database better at rejecting incorrect data. If we had to concept of a data type, there would be a lot more work involved in forcing data to be of the right format. It would also be harder for us to get the database to treat the data in the correct way. In addition to this, a database can optimize storage and performance for a column if everything is of the same data type. Because of this, each column can only support one data type. There are numerous different data types in Oracle and it helps us if we categorize them. The first types of datatypes we should learn about are: String, Numeric, Temporal Now, there are few more categories we could make, but these are the main ones. We will worry about the other ones another day as I am only introducing the topic. A string data type is anything within quotes. Most databases use single quotes for string data. Inside of the quotes can be any number of characters. What is a character? Think of any letter, number, or symbol you can type. Some people call these letters, numbers, and symbols alphanumeric. Numeric data type includes only numbers. These data types are often used for data that you plan on using for mathematical calculations. Temporal data types are data types that are used for dates and times. Now, each data type is probably going to have some options you'll need to worry about, but one that comes up with every data type is storage. The reason we need to consider storage is because we may end up with millions of rows in a table and the difference between a few bytes for each row will make a huge difference when we look at the whole picture. When a data type gives you the option of size, you will want to a size that will be able to hold what you need, but nothing more. In the upcoming videos we are going to discuss the available data types in more detail. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 5880 Caleb Curry
Oracle Database Backup and Recovery Introduction - Backup&Reco Video 1
 
06:25
In this video you will get introduced to the Backup and Recovery options available with an Oracle Database. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 5735 Ramkumar Swaminathan
Buffer Cache
 
02:17
This video is part of the Udacity course "GT - Refresher - Advanced OS". Watch the full course at https://www.udacity.com/course/ud098
Views: 13402 Udacity
oracle sga memory tuning oracle database buffer  cache
 
05:34
oracle system global area description brief description of components of oracle sga memory oracle system global area oracle database buffer cache oracle shared area memory
how to find FULL DATABASE SIZE in  ORACLE
 
05:09
while we are taking FULL DATABASE BACKUPS , first we need to know the SIZE OF OUR DATABASE. so that if we know the size we can make that much of space available for the backup. so, this video explains how to find the FULL DATABASE SIZE.
Views: 3579 P-Square Technologies
Oracle Database Tutorial 63 : Introduction to Tablespace In Oracle Database
 
04:26
Introduction to tablespace in oracle database consist Brief intro of tablepsace, type of tablespace, Big and small file tablespace, intro of Data files in oracle By manish sharma RebellionRider ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/tablespace-introduction-rebellionrider Previous Tutorial ► Indexes https://youtu.be/F5NrQYD4a9g ------------------------------------------------------------------------- ►►►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: 31854 Manish Sharma
Introduction to Oracle Cloud Infrastructure Block Volume Part 01
 
08:43
Oracle Cloud Infrastructure Block Volumes accelerate a broad range of high performance applications with your choice of high I/O block storage, and seamless data protection and recovery. Look out for the network-attached block volumes that deliver low latency and tens of thousands of IOPS per compute instance. The quick demo shows how easily block volumes can be provisioned. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2018 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.
What are Data Blocks - DBArch Video 28
 
03:29
In this video you will learn about an Oracle Database block, what are the possible sizes and how it impacts the tables. Also you will learn about setting up multiple block sizes and how to configure the Buffer Cache for a database with multiple block sizes . Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 1949 Ramkumar Swaminathan
Block corruption recovery with RMAN
 
10:11
How to recover block corruption with the help of Recovery manager (RMAN) in Oracle 11g
Views: 1619 Athar Fahad
Relationships of Physical and Logical Storage structures in an Oracle Database - DBArch Video 22
 
06:14
In this video you will understand the Relationships between the Physical files and Logical Components - Tablespace, Segments, Extents and Oracle Blocks in an Oracle Database . Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 8536 Ramkumar Swaminathan
How do I find the Overall Database size ?
 
13:58
Hi friend in my today scenario you learn how to find the total database size ? Oracle database Unbeatable,Unbreakable Platform..
Views: 2722 Oracle World
Oracle World - How to perform RMAN Recovery Block Corruption
 
13:11
Let us look at a test case where we corrupt from blocks in a particular datafile and then use the RMAN blockrecover command to recover the corrupted data blocks.
Views: 3295 Oracle World
Let's Learn SQL! Lesson 127: Setting the Data Block Size or Freespace Percent of a Table
 
02:56
Explore SQL with Tom Coffing of Coffing Data Warehousing! In this lesson, learn how to set a table's data block size or freespace percent!
Define Segment, Extent, Block (Hindi)
 
06:20
Solution to the question submitted by students. Define Segment, Extent and Block? (RGPV Dec 2014,Dec 2010, Dec 2009) Sol. Block: A database block is the smallest unit of storage in Oracle. Oracle manages the storage space in the datafiles of its database in these units. The size of block is a specific number of bytes of storage within a given tablespace. The default block size is specified by the Oracle initialization parameter that is DB_BLOCK_SIZE. Extent: An extent is the next level of logical grouping in the database. An extent consist of one or more database blocks. When we enlarge a database object, the spece added to the object is allocated as an extent. Segment: Segment is a group of extents that form a database object that oracle treats as a unit, such as table. There are four types of segments- Data segment – It is a storage part. Index segment – Its hold all of its data. Temporary segment – It’s a temporary work space. Undo segment – to do transaction undo
Views: 789 Study Everyday
Adjusting read Block size and long physical sectors
 
07:19
In this video we will explain you difference between physical and logical sectors, long physical sectors and how to determine correct block size to maximize data extraction #datarecovery, #deepspar
Views: 943 DeepSpar
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: 112 OracleDBA
Simplified DBA-014- Database Architecture Physical and Logical   Explained
 
05:00
A database storage structure could be divided into logical and physical structure. Physical structure consists of files on physical disks while logical structure resides in the database. Both can be managed separately. Each database is logically divided into two or more tablespaces. One or more data files are explicitly created for each tablespace to physically store the data. A database is divided into logical storage units called tablespaces, which group related logical structures or datafiles together. For example, tablespaces commonly group all of an application’s segments to simplify some administrative operations. At the finest level of granularity, an Oracle database’s data is stored in data blocks. One data block corresponds to a specific number of bytes of physical space on the disk. A data block size is specified for each tablespace when it is created. A database uses and allocates free database space in Oracle data blocks. When you create a table, a segment is created with the same name in the tablespace. This segment has one or more Extents of equal size. Each Extent has Oracle Data Blocks as per tablespace definition. A data block could be of size 8K, 16K, 32K, 64K etc.
How to corrupt a block and how to recover it
 
11:34
In this session i'm going to discus with you How to corrupt a block and how to recover it step by step
Views: 2689 OCP Technology
How to Export Oracle data to Excel file from Oracle Forms 6i | Oracle apps
 
05:23
This is Oracle forms tutorial exporting data using for cursor loop to excel file invoking excel application with OLE2 forms built in package. OLE2 package contains all the stuff to invoke the property, procedures and function within an excel application. It creates the file, add workbook, add worksheet, put data to cells of worksheet and set properties like font size ,font color and font size of the cells. It saves the file as well. How to Export Oracle data to CSV file declare application ole2.obj_type; workbooks ole2.obj_type; workbook ole2.obj_type; worksheets ole2.obj_type; worksheet ole2.obj_type; cell ole2.obj_type; arglist ole2.list_type; row_num number; col_num number; fontObj ole2.obj_type; cursor rec is select empno,ename,sal from emp; procedure SetCellValue(rowid number,colid number,cellValue varchar) is begin arglist := ole2.create_arglist; ole2.add_arg(arglist,rowid); ole2.add_arg(arglist,colid); cell:= ole2.get_obj_property(worksheet,'Cells',arglist); fontObj := ole2.get_obj_property(cell,'Font'); ole2.destroy_arglist(arglist); ole2.set_property(cell,'value',cellValue); ole2.set_property(fontObj,'Size',16); ole2.set_property(fontObj,'BOLD',1); ole2.set_property(fontObj,'ColorIndex',7); ole2.release_obj(cell); end SetCellValue; procedure app_init is begin application := ole2.create_obj('Excel.Application'); ole2.set_property(application,'Visible',true); workbooks := ole2.get_obj_property(application,'workbooks'); workbook := ole2.invoke_obj(workbooks,'add'); worksheets := ole2.get_obj_property(application,'worksheets'); worksheet := ole2.invoke_obj(worksheets,'add'); ole2.set_property(worksheet,'Name','Emp Sheet'); end app_init; procedure save_excel(path varchar,filename varchar) is begin OLE2.Release_Obj(worksheet); OLE2.Release_Obj(worksheets); -- Save the Excel file created If path is not null then Arglist := OLE2.Create_Arglist; OLE2.Add_Arg(Arglist,path||'\'||file_name||'.xls'); OLE2.Invoke(workbook, 'SaveAs', Arglist); OLE2.Destroy_Arglist(Arglist); end if; end save_excel; begin app_init; row_num:=1; col_num:=1; SetCellValue(row_num,col_num,'Emp Code'); col_num:=col_num + 1; SetCellValue(row_num,col_num,'Emp Name'); col_num:=col_num + 1; SetCellValue(row_num,col_num,'Date of Birth'); for i in rec loop row_num:=row_num + 1; col_num:=1; SetCellValue(row_num,col_num,i.empno); col_num:=2; SetCellValue(row_num,col_num,i.ename); col_num:=3; SetCellValue(row_num,col_num,i.sal); end loop; save_excel('d:\excel_export','emp_data'); OLE2.Release_Obj(workbook); OLE2.Release_Obj(workbooks); OLE2.Release_Obj(application); end; *************---------------------------*********************** Query Solved below How to Create excel reports from oracle forms, oracle forms export to excel, how to generate excel file from oracle reports, how to convert oracle report into excel, oracle reports 10g to excel output, How to Create excel reports from oracle report, How to Create EXCEL Report from Oracle forms 10g, export data from oracle to excel using pl sql, how to generate excel file from pl sql, exporting data from oracle sql developer to excel, How to Create EXCEL Report from Oracle Database
Views: 384 Young India
Oracle database tablespace management
 
09:48
http://www.justperfect.in/
What are the different types of Tablespaces in an Oracle Database - DBArch Video 23
 
08:22
In this video you will understand about the different types of tablespaces and their use/purpose. . Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 7099 Ramkumar Swaminathan
Hadoop Tutorial 14 - Block Structured File System
 
02:35
http://zerotoprotraining.com This video explains the Hadoop's block structured file system. How the file to be stored is broken into the blocks of fixed sizes
Views: 33973 HandsonERP
SQLPLUS: LineSize & PageSize
 
03:49
In this tutorial, you'll learn how to set linesize and pagesize . PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 13958 radhikaravikumar
How to split the datapump dumpfiles || limit the file size of dumpfile in Datapump
 
12:14
Hello Friends in this video i'm going to demonstrate you how to set the limit for dumpfile, and how to store in multiple directories. How to limit the file size of dumpfile in Datapump ? How to split the datapump dumpfiles, into multiple and at multiple directories ?
Views: 1092 OCP Technology
Shrink Space
 
06:33
#Oracle #ShrinkSpace
Views: 1627 Hemant K Chitale
5 Tablespace Extent Block Management
 
43:44
Oracle DBA Block Management in tablespace.
Views: 2286 NewTechnology
DDL statement processing in an Oracle Database - DBArch Video 9
 
02:10
In this video you learn about what happens when you run a DDL ( data definition language) command in the Oracle Database. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 8355 Ramkumar Swaminathan
Export Oracle data to Excel file from Oracle Forms.
 
16:02
This is Oracle forms tutorial exporting data using for cursor loop to excel file invoking excel application with OLE2 forms built in package. OLE2 package contains all the stuff to invoke the property, procedures and function within an excel application. It creates the file, add workbook, add worksheet, put data to cells of worksheet and set properties like font size ,font color and font size of the cells. It saves the file as well. Source Code Link : https://drive.google.com/file/d/0BznrW3lgX0ozRktCMUlTaHZ0MzQ/view?usp=sharing
Views: 14095 Subhroneel Ganguly
Create local managed tablespace 100MB called STUDENTNAME store in +DATA
 
09:21
Create local managed table-space 100 MB called STUDENTNAME which consists of two datafile (one store in +DATA) and other in file system directory /export/home/oracle.Make sure it is Automatic segment Space Management and autoextent.
Views: 186 Sum Soknoeurn
Block Volume Clones
 
03:32
Clone any block volume regardless of its size, in a matter of seconds, without the associated costs and hassle of the backup and restore process. To learn more, check out the following resources: Blog Article: Arrival of Block Volume Clones https://blogs.oracle.com/cloud-infrastructure/cloud-wars%3a-arrival-of-block-volume-clones Technical Documentation: https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Tasks/cloningavolume.htm
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: 6177 BhagyaRaj Katta
Data Types in C - Part 1 | C Language Tutorial | Mr. Srinivas
 
13:30
C Language Tutorial Videos | Mr. Srinivas ►For Registration : https://goo.gl/r6kJbB ►Call: +91-8179191999 ► Visit Our Website: http://nareshit.in/ C-Language Tutorial: by Mr.Srinivas Topic: Two Types of Java Softwares ** For Online Training Registration: https://goo.gl/r6kJbB ► Call: +91-8179191999 ► Visit Our Website for Classroom Training: https://nareshit.in/c-language-training/ ► For Online Training: https://nareshit.com/course/c-language-online-training/ -------------------------- ► About NareshIT: "Naresh IT is having 14+ years of experince in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training acorss all the locations -------------------------- ► Our Online Training Features: 1.Training with Real-Time Experts 2.Industry Specific Scenario’s 3.Flexible Timings 4.Soft Copy of Material 5. Share Videos of each and every session. -------------------------- Please write back to us at [email protected] / [email protected] or Call us at USA: +1404-232-9879 or India: +918179191999 ** Check The Below Links** ► For Course Reg: https://goo.gl/r6kJbB ► Subscribe to Our Channel: https://goo.gl/q9ozyG ► Circle us on G+: https://plus.google.com/NareshIT ► Like us on Facebook: https://www.facebook.com/NareshIT ► Follow us on Twitter: https://twitter.com/nareshitech ► Follow us on Linkedin: https://in.linkedin.com/company/naresh-i-technologies ► Follow us on Instagram: https://www.instagram.com/nareshitech/
Views: 153331 Naresh i Technologies
HOW TO INCREASE THE SIZE OF A DATABASE COLUMN in Oracle Forms via Data Flow Analysis
 
03:07
Learn how you can easily increase the size of a database column using PITSS.CONs Data Flow Analysis. In this video you learn how you can increase the size of a database column and how you identify all dependent objects within your entire application using PITSS.CONs Data Flow Analysis. ▼▼▼▼▼▼▼▼▼▼ MORE DETAILS BELOW ▼▼▼▼▼▼▼▼▼▼▼ In this Video you learn: - How to increase the size of a database column - How to identify all dependent objects within your entire application - How PITSS.CON will help you to do that quickly and easily _______________ LEARN MORE ABOUT ORACLE PITSS.CON ANALYSIS_______________ PITSS US/CANADA/UK: ►Development Analysis: https://pitss.com/solutions/analysis-services/development-analysis/ PITSS D/A/CH: ►Entwicklungsanalyse: https://pitss.com/de/entwicklungsanalyse/ ____________________________ HOW TO FIND US______________________________ PITSS US/Canada/UK: https://pitss.com/ PITSS D/A/CH: https://pitss.com/de/ _______________________CONNECT & STAY UP TO DATE ________________________ Subscribe on Youtube: https://www.youtube.com/user/pitssam Twitter: https://twitter.com/PITSS_GmbH Google+: https://plus.google.com/116912679338809155946/posts LinkedIn US: https://www.linkedin.com/company/pitss-america-llc LinkedIn De: https://www.linkedin.com/company/pitss-gmbh
Views: 79 PITSS
Introduction to Oracle GoldenGate - GG Video 1
 
02:23
In this video you are introduced to the tool Oracle GoldenGate. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 5929 Ramkumar Swaminathan
Convert a database to ArchiveLog mode - Backup&Reco Video 5
 
03:31
In this video you will learn the steps involved in converting a database from No Archive log mode to Archive Log Mode. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 1413 Ramkumar Swaminathan
What is Fast Recovery Area and how to configure it- Backup&Reco Video 6
 
03:28
In this video you will learn about FRA - Fast Recovery Area, what is used for and how to configure it. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 2006 Ramkumar Swaminathan
TABLESPACE MANAGEMENT DATAFILE SIZE ENABLE DISABLE AUTOEXTEND ON
 
02:50
HOW TO ENABLE/DISABLE AUTOEXTEND ON FOR A DATAFILE ================================================== alter database datafile 'E:\DATABASE\DATABASE\ORADATA\ORCL\GOODKING01.DBF' autoextend on; HOW TO FIND THE SIZE OF A DATAFILE ================================== SELECT SUBSTR (df.NAME, 1, 50) file_name, df.bytes / 1024 / 1024 allocated_mb, ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0)) used_mb, NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb FROM v$datafile df, dba_free_space dfs WHERE df.file# = dfs.file_id(+) GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes ORDER BY file_name; set lines 180 pages 200 col tablespace_name for a20 col file_name for a55 select tablespace_name,file_name,autoextensible from dba_data_files;
Views: 1057 Praveen Biyyapu
Oracle Database  - Listener Process - DBArch Video 6
 
07:33
You will learn about the Oracle Listener, The purpose of Listener and what is the impact if its down... Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 10133 Ramkumar Swaminathan
SQL Developer Issues - ORA-01653 unable to extend table by 8 in tablespace
 
01:14
Let’s, Make In Java…! You can SUBSCRIBE Mr.DIpak SOnar's YouTube Channel at : Mr.DIpak SOnar's YouTube Channel at :https://www.youtube.com/channel/UCGh1eIxU394O57YSRrhOMdg DIpak SOnar | Facebook Page - https://www.facebook.com/mrdipaksonar DIpak SOnar | Facebook Profile - https://www.facebook.com/mrdipaksonarofficial Mr.DIpak SOnar (@mrdipaksonar) - https://twitter.com/mrdipaksonar Mr.DIpak SOnar | Instagram - https://www.instagram.com/mrdipaksonarofficial/ -~-~~-~~~-~~-~- Please watch: "Made iN Java - How to PRINT COMMENTS in Java" https://www.youtube.com/watch?v=ReIPigBDGcM -~-~~-~~~-~~-~-
Views: 1507 Mr.DIpak SOnar
HOW TO SET THE PAGE SIZE IN SQL PLUS | SIMPLE WAY|
 
02:41
SEE HOW TO SET THE PAGE SIZE IN SHORT SIZE OF DATA| SQL PLUS
Views: 41 C 4 U
Read Consistency - Transaction Level - DBArch Video 27
 
04:54
In this video you will learn about the Various levels of Isolation supported by Oracle Database. You will understand at a Transaction Level what are the options available for Read Consistency or Isolation . Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 2028 Ramkumar Swaminathan
Oracle Forms 10g: Loading Picture
 
15:46
Oracle Training in Bangladesh Oracle Developer and Database Training in Bangladesh Oracle Training at Dev Net IT Oracle forms Training for details http://www.devnet-it.com
Views: 27139 devnetbd devnetit
oracle to ms excel using forms 6i | Ten Minute Code
 
02:45
Below Code declare application ole2.obj_type; workbooks ole2.obj_type; workbook ole2.obj_type; worksheets ole2.obj_type; worksheet ole2.obj_type; cell ole2.obj_type; arglist ole2.list_type; row_num number; col_num number; fontObj ole2.obj_type; cursor rec is select emp_id,emp_nm,to_char(join_dt,'dd/mm/rrrr') date_of_birth from emp_mast where join_dt is not null; procedure SetCellValue(rowid number,colid number,cellValue varchar) is begin arglist := ole2.create_arglist; ole2.add_arg(arglist,rowid); ole2.add_arg(arglist,colid); cell:= ole2.get_obj_property(worksheet,'Cells',arglist); fontObj := ole2.get_obj_property(cell,'Font'); ole2.destroy_arglist(arglist); ole2.set_property(cell,'value',cellValue); ole2.set_property(fontObj,'Size',16); ole2.set_property(fontObj,'BOLD',1); ole2.set_property(fontObj,'ColorIndex',7); ole2.release_obj(cell); end SetCellValue; procedure app_init is begin application := ole2.create_obj('Excel.Application'); ole2.set_property(application,'Visible',true); workbooks := ole2.get_obj_property(application,'workbooks'); workbook := ole2.invoke_obj(workbooks,'add'); worksheets := ole2.get_obj_property(application,'worksheets'); worksheet := ole2.invoke_obj(worksheets,'add'); ole2.set_property(worksheet,'Name','Emp Sheet'); end app_init; procedure save_excel(path varchar,filename varchar) is begin OLE2.Release_Obj(worksheet); OLE2.Release_Obj(worksheets); -- Save the Excel file created If path is not null then Arglist := OLE2.Create_Arglist; OLE2.Add_Arg(Arglist,path||'\'||file_name||'.xls'); OLE2.Invoke(workbook, 'SaveAs', Arglist); OLE2.Destroy_Arglist(Arglist); end if; end save_excel; begin app_init; row_num:=1; col_num:=1; SetCellValue(row_num,col_num,'Emp Code'); col_num:=col_num + 1; SetCellValue(row_num,col_num,'Emp Name'); col_num:=col_num + 1; SetCellValue(row_num,col_num,'Date of Birth'); for i in rec loop row_num:=row_num + 1; col_num:=1; SetCellValue(row_num,col_num,i.emp_id); col_num:=2; SetCellValue(row_num,col_num,i.emp_nm); col_num:=3; SetCellValue(row_num,col_num,i.date_of_birth); end loop; save_excel('d:\excel_export','emp_data'); OLE2.Release_Obj(workbook); OLE2.Release_Obj(workbooks); OLE2.Release_Obj(application); end;
Views: 1686 10 Minute Code