
be3f6bd6dba59bc4da75cb2719997c59.ppt
- Количество слайдов: 38
(236510) מימוש מערכות מסדי נתונים B + tree Project Demo By David Itshaked [email protected]. com http: //www. iloug. org. il/DBA_North. Forum. php http: //www. ildba. co. il/author/cimid/ http: //www. sqlserver. co. il/? cat=940 Global Hebrew Virtual PASS Chapter : https: //www. youtube. com/watch? v=x 4 h. Gj. YGBfkc https: //www. youtube. com/watch? v=e. JO 8 G 9 if 3 EY Sqlsaturday Israel 2016 : http: //www. sqlsaturday. com/481/Sessions/Details. aspx? sid=40854
Project Simulation Guidelines • You can test project on SQL 2014 express free edition • Create the table • In SQL Server Management studio open 3 sessions and run each line : 1. All session should run: USE project ; SET TRANSACTION ISOLATION LEVEL SERIALIZABLE ; 2. All session should Begin transaction 3. Run transaction using one option. : • transaction after transaction ( F 5 execute) • Round robins : Line from session 1 , session 2 and session 3 etc. . • Random : Choose number between 1 - 3. Run a line from session number. 4. Commit transaction all sessions 3/15/2018 Transactional Information Systems 10 -2
Project Simulation Guidelines • Attached scripts create DBlocks view. sql session 1. sql session 2. sql session 3. sql 3/15/2018 Transactional Information Systems 10 -3
Install SQL 2014 express edition • Download the file Express. Adv 64 BITSQLEXPRADV_x 64_ENU. exe from https: //www. microsoft. com/en-us/download/details. aspx? id=42299 3/15/2018 Transactional Information Systems 10 -4
Install SQL 2014 express edition 3/15/2018 Transactional Information Systems 10 -5
Install SQL 2014 express edition • Right click on the file , select run as administrator 3/15/2018 Transactional Information Systems 10 -6
Install SQL 2014 express edition • Select New SQL server stand-alone installation … 3/15/2018 Transactional Information Systems 10 -7
Install SQL 2014 express edition • check I accept license term … 3/15/2018 Transactional Information Systems 10 -8
Install SQL 2014 express edition • On install Rules all should be passed. 3/15/2018 Transactional Information Systems 10 -9
Install SQL 2014 express edition • For simplicity install components. Yu can change installation dir 3/15/2018 Transactional Information Systems 10 -10
Install SQL 2014 express edition • Select default instance 3/15/2018 Transactional Information Systems 10 -11
Install SQL 2014 express edition • Under service account use the defaults 3/15/2018 Transactional Information Systems 10 -12
Install SQL 2014 express edition • Under collation use Hebrew_CI_AS 3/15/2018 Transactional Information Systems 10 -13
Install SQL 2014 express edition • Under collation use Hebrew_CI_AS 3/15/2018 Transactional Information Systems 10 -14
Install SQL 2014 express edition • Select Mixed Mode. Enter password 3/15/2018 Transactional Information Systems 10 -15
Install SQL 2014 express edition • Select Mixed Mode. Enter password 3/15/2018 Transactional Information Systems 10 -16
Install SQL 2014 express edition • Under Data directories you can change the data directories 3/15/2018 Transactional Information Systems 10 -17
Install SQL 2014 express edition • Under Data directories you can change the data directories 3/15/2018 Transactional Information Systems 10 -18
Install SQL 2014 express edition • Under user instance check the option User allowed … 3/15/2018 Transactional Information Systems 10 -19
Install SQL 2014 express edition • Currently do not enable Filestream option 3/15/2018 Transactional Information Systems 10 -20
Install SQL 2014 express edition • Install and configure Reporting services 3/15/2018 Transactional Information Systems 10 -21
Install SQL 2014 express edition • Installation is started 3/15/2018 Transactional Information Systems 10 -22
Install SQL 2014 express edition • Successful installation 3/15/2018 Transactional Information Systems 10 -23
Connect to SQL Server Instance • Open SQL Server Management Studio (SSMS) 3/15/2018 Transactional Information Systems 10 -24
Connect to SQL Server Instance • Open SQL Server Management Studio (SSMS) 3/15/2018 Transactional Information Systems 10 -25
Connect to SQL Server Instance • Connect to local instance. (Period) Or Localhost under server name • Select windows authentication 3/15/2018 Transactional Information Systems 10 -26
Create New DB • Right Click on Databases 3/15/2018 Transactional Information Systems 10 -27
Create New DB • Database name Project. • Change Initial size : 100 MB (Log and Data) • Click OK 3/15/2018 Transactional Information Systems 10 -28
Create New Session • Database name Project. • Change Initial size : 100 MB (Log and Data) • Click OK 3/15/2018 Transactional Information Systems 10 -29
Create Project Table • • • Copy the script from slide remark and past it to new session Run it with F 5 or execute bottom Under messages verifies it was successful 3/15/2018 Transactional Information Systems 10 -30
Create Project Table 3/15/2018 Transactional Information Systems 10 -31
Project table
Create DBlocks view • • • Copy the script from slide remark and past it to new session Run it with F 5 or execute bottom Under messages verifies it was successful 3/15/2018 Transactional Information Systems 10 -33
Creation of the DBlocks view to display locks in the current database : SQL Server
Open 3 new sessions for Demo 3/15/2018 Transactional Information Systems 10 -35
Session 1
Session 2
Session 3