Simon Liao Survive in Database --For New Developers.

Slides:



Advertisements
Similar presentations
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Advertisements

Copyright © 2011 by the Commonwealth of Pennsylvania. All Rights Reserved. Load Test Report.
Creating Tables. 2 home back first prev next last What Will I Learn? List and provide an example of each of the number, character, and date data types.
© IBM Corporation Informix Chat with the Labs John F. Miller III Unlocking the Mysteries Behind Update Statistics STSM.
A U Database Review Professor J. Alberto Espinosa ITEC 334 Fall 2010 Online (Business) Application Development.
A Guide to SQL, Seventh Edition. Objectives Create a new table from an existing table Change data using the UPDATE command Add new data using the INSERT.
System Administration Accounts privileges, users and roles
Multiple Tiers in Action
SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin
Security David Frommer Principal Architect Business Intelligence Microsoft Partner of the Year 2005 & 2007.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
SQL Server Indexes Indexes. Overview Indexes are used to help speed search results in a database. A careful use of indexes can greatly improve search.
FEN  Data Definition: CREATE TABLE, ALTER TABLE  Data Manipulation: INSERT, UPDATE, DELETE  Queries: SELECT SQL: Structured Query Language.
Effective Indexes For Beginners. Performance is slow Let’s add another index!
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Application Data and Database Activities Auditing Dr. Gabriel.
IN-MEMORY OLTP By Manohar Punna SQL Server Geeks – Regional Mentor, Hyderabad Blogger, Speaker.
By Shanna Epstein IS 257 September 16, Cnet.com Provides information, tools, and advice to help customers decide what to buy and how to get the.
Permissions Lesson 13. Skills Matrix Security Modes Maintaining data integrity involves creating users, controlling their access and limiting their ability.
1 DBS201: More on SQL Lecture 3. 2 Agenda How to use SQL to update table definitions How to update data in a table How to join tables together.
DAT332 Database Administration For Developers Stephen Wynkoop SQL Server Worldwide User’s Group
2015 WELCOME! Funding the Mission. Agenda 4:00Overview of Four Steps to Success All done through Donor Drive 4:05-4:45Four Steps to Success: 10 minutes.
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
Learningcomputer.com SQL Server 2008 –Views, Functions and Stored Procedures.
Stored Procedure Optimization Preventing SP Time Out Delay Deadlocking More DiskReads By: Nix.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
Creating Indexes on Tables An index provides quick access to data in a table, based on the values in specified columns. A table can have more than one.
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
IMS 4212: Constraints & Triggers 1 Dr. Lawrence West, Management Dept., University of Central Florida Stored Procedures in SQL Server.
Intro To Oracle :part 1 1.Save your Memory Usage & Performance. 2.Oracle Login ways. 3.Adding Database to DB Trees. 4.How to Create your own user(schema).
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
Oracle Query VBA Tool (OQVT)
Dave LinkedIn
SQL Server Security The Low Hanging Fruit. Lindsay Clark Database Administrator at American Credit Acceptance
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
Controlling User Access
Chris Index Feng Shui Chris
MATLAB DATABASE Configuration
Effective T-SQL Solutions
Oracle structures on database applications development
Temporal Databases Microsoft SQL Server 2016
Indexes By Adrienne Watt.
Access, Users, Permissions
Finding more space for your tight environment
SQL Server Security For Everyone
Developing Production Quality SQL Code
Query Tuning without Production Data
Data Virtualization Demoette… Parameterized Queries
Using SQL Server through Command Prompt
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Introduction to Execution Plans
5 WAYS TO BYPASS *OR ENSURE* SQL SERVER SECURITY MATT MARTIN
My life at the Cooperators
SQL Server Security from the ground up
Statistics: What are they and How do I use them
TEMPDB – INTERNALS AND USAGE
Implementing Row Level Security (RLS)
Microsoft SQL Server 2014 for Oracle DBAs Module 7
Cloud Data Replication with SQL Data Sync
Indexing For Optimal Performance
SQL .. An overview lecture3.
Presented by : Chirag Dani & Dhaval Shah
Four Rules For Columnstore Query Performance
Introduction to Execution Plans
Introduction to Execution Plans
Introduction to Execution Plans
Using wait stats to determine why my server is slow
SQL Server Security from the ground up
Navigating SSMS Primer for Beginners
Presentation transcript:

Simon Liao Survive in Database --For New Developers

Agenda Welcome to ETOWN family DBA team recommend Release team suggest SQL Server likes Q & A

DBA team Release team

SQL Server SQL 2005 SP2 ( ) SQL 2008 R2 ( )

DBA Recommend (1) SP Create [TableName]_[Action]_p use dbo prefix set nocount on go permission grant to db base role SP Alter No drop/create V2 when parameter number changes CodeSpewWizard tool $/Builds/_Builds/Tools/CodeSpewingWizard

DBA Recommend (2) Table Create Singular form CapitalCasing _lkp, _lnk, w* PK, FK, UQ Collate SQL_Latin1_General_CP1_CI_AI InsertDate/UpdateDate Table Drop _RemoveMeAfter _ByXXX No _new, _1, _2, _bak

DBA Recommend (3) Data Update Select before update with the same where clause Use usb-etowndevts to access U.S.-based db servers Add yourself in EnglishtownDevelopersShanghai group Add your Chinese name in your Skype

Release Team Suggest AutoBuild tool Run it before you request DB review Release Request (RR) submit Dont forget click Request Review /DropBy me for emergency release Take care the New/Update action Take care the US/CN/Both environment flags Read-only data release Just get it ready in QA db server No need db script

SQL Server Likes (1) WITH (NOLOCK) Specially for large table and live servers No transaction We never use it except few scenarios No Select * No covering index except table scan Additional disk IO and network bandwidth SELECT TOP 10 Order By PK column

SQL Server Likes (2) Sequential inserting to avoid page split Identity column LastID Execute queries in VS3 instead of VS1 Avoid additional workload for VS1 VS3 has more indexes and much lighter workload Cancel any query running longer than 2 minutes Try stricter Where clause at first, then less Filter the data based on famous index columns ET_Main..Members: MemberId, UserName, , PartnerSite ET_Payment..PaymentRequest: MemberId, VisitTracking: VisitDate PageVisit: VisitDate

Q & A

Thank You