Maya12-A Related Links

Maya12-A Dropmark  |  
Prepare these Pass4sure Maya12-A Q A and sit in the exam - Killexams

Dont waste your time on searching internet, just go for these Maya12-A Questions and Answers.

Maya12-A bootcamp | Maya12-A test questions | Maya12-A real questions | Maya12-A free online test | Maya12-A writing test questions - Killexams.com



Maya12-A - Maya 2012 Certified Associate - Dump Information

Vendor : Autodesk
Exam Code : Maya12-A
Exam Name : Maya 2012 Certified Associate
Questions and Answers : 30 Q & A
Updated On : December 13, 2017
PDF Download Mirror : Maya12-A Brain Dump
Get Full Version : Pass4sure Maya12-A Full Version

Free Pass4sure Maya12-A question bank


killexams.com have our specialists Team to guarantee our Autodesk Maya12-A exam questions are dependably the most recent. They are on the whole extremely acquainted with the exams and testing focus.

How killexams.com keep Autodesk Maya12-A exams updated?: we have our uncommon approaches to know the most recent exams data on Autodesk Maya12-A. Now and then we contact our accomplices who are exceptionally comfortable with the testing focus or once in a while our clients will email us the latest input, or we got the most recent update from our dumps providers. When we discover the Autodesk Maya12-A exams changed then we refresh them ASAP.

On the off chance that you truly come up short this Maya12-A Maya 2012 Certified Associate and would prefer not to sit tight for the refresh then we can give you full refund. However, you ought to send your score answer to us with the goal that we can have a check. We will give you full refund quickly amid our working time after we get the Autodesk Maya12-A score report from you.

Autodesk Maya12-A Maya 2012 Certified Associate Product Demo?: we have both PDF version and Testing Software. You can check our product page to perceive what it would appear that like.

At the point when will I get my Maya12-A material after I pay?: Generally, After successful payment, your username/password are sent at your email address within 5 min. It may take little longer if your bank delay in payment authorization.

Killexams.com Huge Discount Coupons and Promo Codes are as under;
WC2017 : 60% Discount Coupon for all exams on website
PROF17 : 10% Discount Coupon for Orders greater than $69
DEAL17 : 15% Discount Coupon for Orders greater than $99
DECSPECIAL : 10% Special Discount Coupon for All Orders



Maya12-A Discount Coupon, Maya12-A Promo Code, Maya12-A vce, Free Maya12-A vce, Download Free Maya12-A dumps, Free Maya12-A braindumps, pass4sure Maya12-A, Maya12-A practice test, Maya12-A practice exam, killexams.com Maya12-A, Maya12-A real questions, Maya12-A actual test, Maya12-A PDF download, Pass4sure Maya12-A Download, Maya12-A help, Maya12-A examcollection, Passleader Maya12-A, exam-labs Maya12-A, Justcertify Maya12-A, certqueen Maya12-A, Maya12-A testking

View Full Exam »



Got no problem! 3 days preparation of Maya12-A real questions is required.

It clarified the subjects in a rearranged manner. inside the true exam, I scored a 81% with out lots hassle, finishing the Maya12-A examination in 75 mins I additionally read a awesome deal of captivating books and it served to skip properly. My achievement in the examination was the dedication of the killexams.com dumps. I ought to without an awful lot of a stretch end its decently organized substance internal 2 week time. lots obliged to you.

Get value pack of knowledge to prepare Maya12-A exam.

i am ranked very excessive amongst my magnificence friends on the list of awesome college students but it simplestoccurred once I registered on this killexams.com for a few exam assist. It became the excessive ranking studyingapplication in this killexams.com that helped me in joining the high ranks together with different exceptional students of my magnificence. The assets in this killexams.com are commendable due to the fact they're particular and extraordinarily beneficial for practise thru Maya12-A pdf, Maya12-A dumps and Maya12-A books. i am glad to write these phrases of appreciation due to the fact this killexams.com deserves it. thanks.

Get cost percent of expertise to put together Maya12-A exam.

After trying numerous books, i used to be pretty disenchanted no longer getting the proper materials. i was searching out a guideline for examination Maya12-A with easy language and properly-organized content. killexams.com Q&A fulfilled my want, as it defined the complicated subjects within the best manner. within the real examination I got 89%, which become beyond my expectation. thanks killexams, on your extraordinary manual-line!

Can I find phone number of Maya12-A Certified?

All in all, Killexams was a good way for me to prepare for this exam. I passed, but was a little disappointed that now all questions on the exam were 100% the same as what Killexams gave me. Over 70% were the same and the rest was very similar - Im not sure if this is a good thing. I managed to pass, so I think this counts as a good result. But keep in mind that even with Killexams you still need to learn and use your brain.

Is there Maya12-A examination new sayllabus to be had?

At ultimate, my score ninety% changed into more than desire. at the point when the examination Maya12-A become handiest 1 week away, my making plans become in an indiscriminate situation. I predicted that i would want to retake inside the occasion of disappointment to get 80% pass imprints. Taking after a partners recommendation, i purchased the Q&A from killexams.com and could take a moderate arrangement by way of commonly composed substance.

Do no longer spend large amount on Maya12-A courses, get this question bank.

i'd frequently miss training and that might be a massive difficulty for me if my mother and father found out. I needed tocowl my errors and make certain that they could trust in me. I knew that one way to cowl my errors was to do nicely in my Maya12-A take a look at that turned into very close to. If I did properly in my Maya12-A check, my mother and father would like me again and that they did due to the fact i used to be capable of clear the test. It turned into this killexams.com that gave me an appropriate commands. thanks.

It was Awesome to have real questions of Maya12-A exam.

I am working into an IT firm and therefore I hardly find any time to prepare for Maya12-A Exam. Therefore, I come up to an easy conclusion of killexams.com Q&A dumps. To my surprise it worked like wonders for me. I could solve all the questions in least possible time than provided. The questions seem to be quite easy with amazing reference guide. I secured 939 marks which was really a great surprise for me. Great thanks to killexams!

observed an accurate source for real Maya12-A braindumps.

hi team, i've finished Maya12-A in first strive and thanks a lot to your beneficial query bank.

Little effor, big output, brilliant Questions/solutions.

i am ranked very high amongst my class pals on the list of high-quality students however it best took place once I registered on this killexams.com for a few exam assist. It changed into the excessive ranking reading application on this killexams.com that helped me in becoming a member of the high ranks at the side of different awesome students of my class. The resources on this killexams.com are commendable due to the fact they're particular and extraordinarily beneficial for instruction through Maya12-A pdf, Maya12-A dumps and Maya12-A books. i am glad to write these phrases of appreciation because this killexams.com deserves it. thanks.

Questions were exactly same as I got!

Hi all, please be informed that I have passed the Maya12-A exam with Killexams, which was my main preparation source, with a solid average score. This is a very valid exam material, which I highly recommend to anyone working towards their IT certification. This is a reliable way to prepare and pass your IT exams. In my IT company, there is not a person who has not used/seen/heard/ of the Killexams materials. Not only do they help you pass, but they ensure that you learn and end up a successful professional.

See more Autodesk dumps

MAYA11-A | Maya12-A |

Latest Exams added on Killexams

1Z0-453 | 210-250 | 300-210 | 500-205 | 500-210 | 70-765 | 9A0-409 | C2010-555 | C2090-136 | C9010-260 | C9010-262 | C9020-560 | C9020-568 | C9050-042 | C9050-548 | C9050-549 | C9510-819 | C9520-911 | C9520-923 | C9520-928 | C9520-929 | C9550-512 | CPIM-BSP | C_TADM70_73 | C_TB1200_92 | C_TBW60_74 | C_TPLM22_64 | C_TPLM50_95 | DNDNS-200 | DSDPS-200 | E20-562 | E20-624 | E_HANABW151 | E_HANAINS151 | JN0-1330 | JN0-346 | JN0-661 | MA0-104 | MB2-711 | NSE6 | OMG-OCRES-A300 | P5050-031 |

See more dumps on Killexams

M2150-709 | 190-829 | 310-615 | A2010-564 | A00-201 | E20-320 | TB0-103 | PMP-Bundle | BAS-013 | HP0-D14 | JN0-690 | 920-335 | CLSSBB | HP0-M44 | EX0-008 | 000-M70 | C2150-810 | C2090-737 | 922-104 | SSAT | 050-733 | 132-S-708-1 | 1Z0-419 | LOT-841 | 920-128 | 3200-1 | 000-994 | HP0-J59 | ST0-099 | HP2-E53 | 000-115 | H12-221 | LOT-847 | HP3-X01 | 310-052 | 000-904 | 1Z0-495 | CMS7 | 000-581 | C2040-917 | BAS-011 | HP0-J20 | 1Y0-611 | 000-978 | E20-540 | A2040-440 | HP3-C02 | 6102 | 1Z0-868 | M70-201 |

Maya12-A Questions and Answers

Maya12-A


QUESTION: 26

Identify the Tumble camera Icon in the images below.


  1. Option A

  2. option B

  3. Option C

  4. Option D


Answer: B


QUESTION: 27

What will a Dmap shadow do that a Raytrace Shadow will not? A Dmap shadow will...


  1. be visible in an IPR.

    Bcreate volumetric shadows through a light fog.

  2. producescorrect shadows from transparent colored surfaces

  3. producescorrect shadows from Cloud Render Type particles


Answer: B


QUESTION: 28

Which of the following is NOT a type of Flexor?


  1. Sculpt

  2. Lattice

  3. JointCluster

  4. Wire


Answer: D


Reference: www.autodesk.com/us/maya/2011help/index.html?url=./files/Viewing_the_scene_Using_t he_ViewCube.htm,topicNumber=d0e70082


QUESTION: 29

Which is the correct method to make the current transformations on the selected object be the object's zero position


  1. Edit>Delete option

  2. Modify>Freeze Transformations option.

  3. Modify>Delete Attribute Transformations option.

  4. Skeleton>OrientJoint>Freeze Transformations option


Answer: B


Reference:

www.arch.columbia.edu/work/courses/visual-studies/fudd/maya-tutorial-02(step7)


QUESTION: 30

To control a Soft Body simula-tion that is out of hand, you can...


  1. use Springs to control the simulation if it gets erratic

  2. use a Pin Constraint to 'pin down' the particles that act erratically during the simulation

  3. use an nDynamics solver to control the simulation

  4. use rigid bodies and convertsthem to soft bodies.


Answer: B


Autodesk Maya12-A Exam (Maya 2012 Certified Associate) Detailed Information

Certification
From academia and throughout your professional career, Autodesk provides educational resources—instructor-led, self-paced, or online training—and certification to help you stay competitive.
Competition for talent is fierce in today’s marketplace. Universities want to enroll the smartest, most committed students and equip them for professional success after they graduate. Employers want to attract and retain well-qualified, ambitious professionals who not only work hard, but also help them win new projects and gain industry recognition. Students and professionals just want to get ahead—and stay there.
Stand out with an Autodesk Certification
Earn an industry-recognized credential that helps prove your skill level and can get you hired.
Accelerate your professional development and help enhance your credibility and career success.
Validate your skills and join an elite team of Autodesk Certified professionals.
Display your Autodesk Certified certificate, use the Autodesk Certified logo, highlight your achievement and get noticed by listing your name in the Autodesk Certified Professionals database
Training and Certification
From academia and throughout your professional career, Autodesk provides educational resources—instructor-led, self-paced, or online training—and certification to help you stay competitive.
Learning & training
Kick-start your professional development with Autodesk authorized software product training.
Certification
Earn an Autodesk credential, whether you are just starting out or have years of experience, and gain industry recognition
Employers and educational institutions can offer Autodesk Certification to employees and students to validate their skills
Education services & support
Autodesk Authorized Academic Partners (AAP) provide customized training and support services to educators, schools, colleges, and universities which shape the future of design engineering education and aid in successful adoption of Autodesk solutions into the curriculum, while preparing students for an always-changing world in which design will play a pivotal role.
Authorized Training Centers
Accelerate your Autodesk training by reaching out to an Autodesk Authorized Training Center (ATC). Work with knowledgeable instructors in quiet classroom settings utilizing sample projects and exercises that emphasize real-world, practical applications. ATC sites around the world offer a variety of courses, and many can help you prepare for an Autodesk Certification.
At an Autodesk Authorized Training Center, you can:
Learn from highly qualified instructors at superior facilities
Develop your skills with sample projects and exercises that emphasize real-world applications
Choose a class at the most appropriate skill level to meet your needs
Meet at a time convenient for you, or sign up for custom, on-site training
Earn a valuable certificate of completion that’s recognized in your profession
Validate your product knowledge by getting Autodesk Certified when you take a certification exam at a participating ATC test delivery facility
Many ATC courses are accepted by professional associations, including the American Institute of Architects (AIA). Ask your local Autodesk ATC about earning credits for mandatory continuing education classes and other professional development programs.

Maya12_A Exam Questions - Pass In First Attempt

issuu company logo
  • Explore
  • Arts & Entertainment
  • Style & Fashion
  • Home & Garden
  • Business
  • Travel
  • Education
  • Sports
  • Health & Fitness
  • Hobbies
  • Food & Drink
  • Technology
  • Science
  • Vehicles
  • Society
  • Religion & Spirituality
  • Pets
  • Family & Parenting
  • Feminism
  • Go explore
  • Plans
  • Cancel Sign up Sign in Sign in
  • SQL Azure Federation – Features & Usage

    This is the second post about SQL Azure Federation. In my first post I described a little bit about the theory of data partitioning, included the different between the horizontal partitioning and the vertical partitioning. I also talked about the features need to be done when we implemented the horizontal partitioning. And finally, I described some basic concept about SQL Azure Federation.

    In this post, I will demonstrate how to use SQL Azure Federation in the SQL Server Management Studio (SSMS). I will also demonstrate the benefit of using SQL Azure Federation to build the multi-tenant data solution.

    Create Federation and Tables

    SQL Azure Federation is officially available for every Windows Azure data centers. There no additional register or sign up process. When we create a new server or database in SQL Azure, we can use SQL Azure Federation. For example, I had created a new database in my SQL Azure server which located in East Asia data center. Then I can open my SSMS and connect to this SQL Azure server and use SQL Azure Federation.

    Do not forget to set the SQL Azure firewall before you connect to the server from local tools such as SSMS.

    In this post I would like to take a very simple scenario as the example. Assuming we have a multi-tenant CRM system which contains accounts, contacts for each tenants. We also have some lookup data such as countries and titles. We also have one table contains some metadata for each tenants. So the database diagram would be like this.

    In SQL Azure Federation, if we decided to split some tables we must have the federation ready, then create the tables that wanted to be federated based on the federation. There is no way in SQL Azure Federation to switch tables between the federated and non-federated or reference. So before we start to create the tables we need to firstly define the federation.

    Since we decided to have the tenant ID as the key when splitting the database, the federation distribution should be INT type, which is the same as the type of TenantID in the tables.

    In order to create the federation, in SSMS connect to the database and execute the T-SQL below.

    1: CREATE FEDERATION Tenant_Fed (TID INT RANGE) 2: GO

    There’s nothing special happened after we executed this T-SQL in SSMS. But in SQL Azure fabric, it created a database which represent our first federation member. The federation member database name was specified by SQL Azure which was a GUID with “system-” prefixed. And the original database, which we created and are connecting now, became the root database.

    After that, all tables in our system should be in one of these three types.

    Table Type Description Where Federated Table Tables that will be split based on the federation and their federation columns. Federation Members Reference Table Tables that will not be split, but should be referred by the federated table. These tables will be copied across all federation members. Federation Members Centre Table Tables that will not be split, and very rarely join-select with the tables in federation members. Federation Root

    For the federated table and reference table, we need to create them in a federation member, so that when we split this member, SQL Azure Federation will help us to create them in the new member. In order to connect to a federation member we need to execute the T-SQL below.

    1: USE FEDERATION Tenant_Fed (TID = 0) WITH RESET, FILTERING = OFF 2: GO

    If you are familiar with SQL Azure you should be already know that the USE keyword doesn’t work in SQL Azure. But if we specify the FEDERATION keyword and the federation name it will switch our connection to the federation member database, which contains the distribution key value we specified here (TID = 0). And if we connected to this federation member we can retrieve the database name by using the db_name() function. As you can see in my workstation my first federation member database name was “system-06d60081-6737-413e-85b1-df65cb55f1c9”.

    Now we have been connecting to the federation member and the next step is to create the federated tables. Based on our design the Account and table should be partitioning by their TenantID column so let’s create them by the following T-SQL.

    1: CREATE TABLE [dbo].[Account]( 2: [ID] [int] NOT NULL, 3: [TenantID] [int] NOT NULL, 4: [Name] [varchar](50) NOT NULL, 5: [CountryID] [int] NOT NULL, 6: CONSTRAINT [PK_Account] PRIMARY KEY CLUSTERED 7: ( 8: [ID] ASC 9: )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) 10: ) 11: FEDERATED ON (TID = TenantID) 12: GO

    In the T-SQL above we are going to create the Account table with fields and primary key. And at the end of the statement we defined that the TenantID column is the federated column of this table. This means, when SQL Azure Federation split the table it will look up the value of TenantID, decided which rows should be in which member.

    But when we executed we will get an error that the primary key index could not be created since the index doesn’t contain the federated column.

    This is a limitation in SQL Azure Federation. The federated column in a federated table must be the clustered index, or be in the clustered index. Since we defined the ID as the primary key of the Account table, to satisfied this limitation we must include the TenantID as the primary key as well. So our T-SQL should be like this.

    1: CREATE TABLE [dbo].[Account]( 2: [ID] [int] NOT NULL, 3: [TenantID] [int] NOT NULL, 4: [Name] [varchar](50) NOT NULL, 5: [CountryID] [int] NOT NULL, 6: CONSTRAINT [PK_Account] PRIMARY KEY CLUSTERED 7: ( 8: [ID] ASC, 9: [TenantID] ASC 10: )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) 11: ) 12: FEDERATED ON (TID = TenantID) 13: GO

    And similarly, in table we also need to add the TenantID column as the primary key. We also need to amend the foreign keys as well. The T-SQL should be like this.

    There is no constraint that the federation column name should be the same in each federated tables. We can specify the federation key to the different columns that has different names in each federated tables when created the tables. For example in Account table we link TID = TenantID while in table we link TID = Tenant_ID or TID = T_ID, etc..

    1: CREATE TABLE [dbo].[]( 2: [ID] [int] NOT NULL, 3: [TenantID] [int] NOT NULL, 4: [AccountID] [int] NOT NULL, 5: [Name] [varchar](50) NOT NULL, 6: [TitleID] [int] NOT NULL, 7: CONSTRAINT [PK_] PRIMARY KEY CLUSTERED 8: ( 9: [ID] ASC, 10: [TenantID] ASC 11: )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) 12: ) 13: FEDERATED ON (TID = [TenantID]) 14: GO 15: 16: ALTER TABLE [dbo].[Account] WITH CHECK ADD CONSTRAINT [FK_Account_Country] FOREIGN KEY([CountryID]) 17: REFERENCES [dbo].[Country] ([ID]) 18: GO 19: ALTER TABLE [dbo].[Account] CHECK CONSTRAINT [FK_Account_Country] 20: GO 21: ALTER TABLE [dbo].[] WITH CHECK ADD CONSTRAINT [FK__Account] FOREIGN KEY([AccountID], [TenantID]) 22: REFERENCES [dbo].[Account] ([ID], [TenantID]) 23: GO 24: ALTER TABLE [dbo].[] CHECK CONSTRAINT [FK__Account] 25: GO 26: ALTER TABLE [dbo].[] WITH CHECK ADD CONSTRAINT [FK__Title] FOREIGN KEY([TitleID]) 27: REFERENCES [dbo].[Title] ([ID]) 28: GO 29: ALTER TABLE [dbo].[] CHECK CONSTRAINT [FK__Title] 30: GO

    Now we have the federated tables created in our first federation member. Next let’s create the reference tables. In this case the reference tables are County and Title. They don’t have the column related with the federation distribution key, which is the tenant ID in our example. But they need to be selected alone with the federated tables. For example we might need to retrieve the account information for a tenant with the country name. So they need to be added as reference tables.

    To create a reference table in a federation member would be the same as what we did on a normal database, no need to specify the federated column in the CREATE TABLE statement.

    1: CREATE TABLE [dbo].[Title]( 2: [ID] [int] NOT NULL, 3: [Title] [varchar](50) NOT NULL, 4: CONSTRAINT [PK_Title] PRIMARY KEY CLUSTERED 5: ( 6: [ID] ASC 7: )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) 8: ) 9: GO 10: 11: CREATE TABLE [dbo].[Country]( 12: [ID] [int] NOT NULL, 13: [Country] [varchar](50) NOT NULL, 14: CONSTRAINT [PK_Country] PRIMARY KEY CLUSTERED 15: ( 16: [ID] ASC 17: )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) 18: ) 19: GO 20: 21: ALTER TABLE [dbo].[Account] WITH CHECK ADD CONSTRAINT [FK_Account_Country] FOREIGN KEY([CountryID]) 22: REFERENCES [dbo].[Country] ([ID]) 23: GO 24: ALTER TABLE [dbo].[Account] CHECK CONSTRAINT [FK_Account_Country] 25: GO 26: 27: ALTER TABLE [dbo].[] WITH CHECK ADD CONSTRAINT [FK__Title] FOREIGN KEY([TitleID]) 28: REFERENCES [dbo].[Title] ([ID]) 29: GO 30: ALTER TABLE [dbo].[] CHECK CONSTRAINT [FK__Title] 31: GO

    And in the T-SQL above we also added the foreign keys between the reference tables and federated tables. It’s possible to add the foreign keys between the federated tables, like what we added between the Account and . It’s possible to add the foreign key from the federated table to reference table, like the key between Account and Country. But it’s not allowed to add the foreign key from a non-federated table to a federated table. For example we cannot add a foreign key between the Account to a table in the federation root.

    Now we have all tables and keys ready in our first federation member. Let’s add some sample data.

    1: INSERT INTO Country VALUES (1, 'China') 2: INSERT INTO Country VALUES (2, 'US') 3: INSERT INTO Country VALUES (3, 'UK') 4: 5: INSERT INTO Title VALUES (1, 'Mr') 6: INSERT INTO Title VALUES (2, 'Ms') 7: 8: INSERT INTO Account VALUES (1, 1, 'Tenant 1 - Account 1', 1) 9: INSERT INTO Account VALUES (2, 1, 'Tenant 1 - Account 2', 2) 10: INSERT INTO Account VALUES (3, 2, 'Tenant 2 - Account 3', 3) 11: INSERT INTO Account VALUES (4, 2, 'Tenant 2 - Account 4', 1) 12: INSERT INTO Account VALUES (5, 3, 'Tenant 3 - Account 5', 2) 13: INSERT INTO Account VALUES (6, 3, 'Tenant 3 - Account 6', 3) 14: INSERT INTO Account VALUES (7, 4, 'Tenant 4 - Account 7', 1) 15: INSERT INTO Account VALUES (8, 4, 'Tenant 4 - Account 8', 2) 16: INSERT INTO Account VALUES (9, 5, 'Tenant 5 - Account 9', 3) 17: INSERT INTO Account VALUES (10, 5, 'Tenant 5 - Account 10', 1) 18: 19: 20: INSERT INTO VALUES (1, 1, 1, 'Tenant 1 - Account 1 - 1', 1) 21: INSERT INTO VALUES (2, 1, 1, 'Tenant 1 - Account 1 - 2', 2) 22: INSERT INTO VALUES (3, 1, 1, 'Tenant 1 - Account 1 - 3', 1) 23: INSERT INTO VALUES (4, 1, 2, 'Tenant 1 - Account 2 - 4', 2) 24: INSERT INTO VALUES (5, 1, 2, 'Tenant 1 - Account 2 - 5', 1) 25: INSERT INTO VALUES (6, 1, 2, 'Tenant 1 - Account 2 - 6', 2) 26: INSERT INTO VALUES (7, 2, 3, 'Tenant 2 - Account 3 - 7', 1) 27: INSERT INTO VALUES (8, 2, 3, 'Tenant 2 - Account 3 - 8', 2) 28: INSERT INTO VALUES (9, 2, 3, 'Tenant 2 - Account 3 - 9', 1) 29: INSERT INTO VALUES (10, 2, 4, 'Tenant 2 - Account 4 - 10', 2) 30: INSERT INTO VALUES (11, 2, 4, 'Tenant 2 - Account 4 - 11', 1) 31: INSERT INTO VALUES (12, 2, 4, 'Tenant 2 - Account 4 - 12', 2) 32: INSERT INTO VALUES (13, 3, 5, 'Tenant 3 - Account 5 - 13', 1) 33: INSERT INTO VALUES (14, 3, 5, 'Tenant 3 - Account 5 - 14', 2) 34: INSERT INTO VALUES (15, 3, 5, 'Tenant 3 - Account 5 - 15', 1) 35: INSERT INTO VALUES (16, 3, 6, 'Tenant 3 - Account 6 - 16', 2) 36: INSERT INTO VALUES (17, 3, 6, 'Tenant 3 - Account 6 - 17', 1) 37: INSERT INTO VALUES (18, 3, 6, 'Tenant 3 - Account 6 - 18', 2) 38: INSERT INTO VALUES (19, 4, 7, 'Tenant 4 - Account 7 - 19', 1) 39: INSERT INTO VALUES (20, 4, 7, 'Tenant 4 - Account 7 - 20', 2) 40: INSERT INTO VALUES (21, 4, 7, 'Tenant 4 - Account 7 - 21', 1) 41: INSERT INTO VALUES (22, 4, 8, 'Tenant 4 - Account 8 - 22', 2) 42: INSERT INTO VALUES (23, 4, 8, 'Tenant 4 - Account 8 - 23', 1) 43: INSERT INTO VALUES (24, 4, 8, 'Tenant 4 - Account 8 - 24', 2) 44: INSERT INTO VALUES (25, 5, 9, 'Tenant 5 - Account 9 - 25', 1) 45: INSERT INTO VALUES (26, 5, 9, 'Tenant 5 - Account 9 - 26', 2) 46: INSERT INTO VALUES (27, 5, 9, 'Tenant 5 - Account 9 - 27', 1) 47: INSERT INTO VALUES (28, 5, 10, 'Tenant 5 - Account 10 - 28', 2) 48: INSERT INTO VALUES (29, 5, 10, 'Tenant 5 - Account 10 - 29', 1) 49: INSERT INTO VALUES (30, 5, 10, 'Tenant 5 - Account 10 - 30', 2)

    After executed these T-SQL we had put all data in our first federation member. It contains two references tables (Country, Title) and two federated tables (Account, ), and some foreign keys between the reference table and federated table.

    And we can select the data in this federation member with the tables joining, for example the T-SQL below will list all accounts and contacts information.

    1: SELECT Account.Name, Country.Country, .Name, Title.Title FROM 2: LEFT JOIN Account ON AccountID = Account.ID 3: LEFT JOIN Country ON Account.CountryID = Country.ID 4: LEFT JOIN Title ON .TitleID = Title.ID Split Federation Member

    The key feature of SQL Azure Federation is to split a federation member into two based on the federated value specified without any downtime. Since we have inserted some data in our first federation member, let’s split it into two.

    Split a federation member is very easy. We use the ALTER FEDERATION command and specify from what value of the distribution key to split. For example, since the federation distribution key is the TID (tenant ID), we will split all federated tables based on their federated column value at 3. This means all data that the tenant ID is less than 3 will be in the federation member 1 while others will be in the federation member 2.

    In order to split the federation we need to firstly connect to the federation root, and then execute the ALTER FEDERATION command specifying the boundary value.

    1: USE FEDERATION ROOT WITH RESET 2: GO 3: 4: ALTER FEDERATION Tenant_Fed SPLIT AT (TID = 3) 5: GO

    When execute this command the SQL Azure engine will perform the operations listed below.

  • First, it will configure the federation metadata information on the federation root, to indicate that the federation should be split.
  • Then it will create two databases for the new federation members. Please note that even though we have had a federation member already when executing the split command, SQL Azure Federation will NOT use this member in the future. It will create two new members.
  • SQL Azure will create the tables, keys and constraints, etc. from the current federation member to the new members.
  • It will copy the records in the reference tables to new members.
  • It will copy the records in the federated tables to new members based on the boundary value specified. Records with the federation column value less than the boundary value will be put into the low member while those equals or more than the boundary value will be put into the high member.
  • Finally, SQL Azure will re-map the connections from the original federation member to the new members and drop the original member.
  • After the split command finished we can connect one federation member by using the USE FEDERATION command. In SQL Azure Federation we cannot connect to a member database by specifying its database name, instead we need to tell the SQL Azure Federation the value of the distribution key we want to us, then SQL Azure Federation will rout us to that member database. For example, we split our data at tenant ID = 3, then if we want to read the data of tenant 4 we can use the T-SQL below.

    1: USE FEDERATION Tenant_Fed (TID = 4) WITH RESET, FILTERING = OFF 2: GO

    Then execute the command we had just preformed before to see the data in this federation member.

    1: SELECT Account.Name, Country.Country, .Name, Title.Title 2: FROM 3: LEFT JOIN Account ON AccountID = Account.ID 4: LEFT JOIN Country ON Account.CountryID = Country.ID 5: LEFT JOIN Title ON .TitleID = Title.ID

    And as you can see, the SSMS returned the data that the tenant ID is equal or more than 4.

    And if we want to see the data in the first member, we can just specify the TID = 0, 1 or 2, any value less than the boundary value of that federation member.

    Connect to Atomic Unit

    When we connected to a federation member we use the USE FEDERATION command. There’s a clause in this T-SQL statement which is FILTERING = OFF. In the example above we can select all data in the federation member unless we didn’t put any criteria in WHERE clause in SELECT command. This is because we utilized FILTERING = OFF. It will make the connection scope set to the full range covered by the federation member containing the specified key value. The connection behaves the same if it were connected to the member through its physical federation member name (the database name).

    SQL Azure Federation provides another valuable feature that can force the connection scope set to the federation key instance (federation key value) in a federation member rather than to the full range of federation member, by using FILTERING = ON clause.

    So let’s have a try and to see what will happen if we set the FILTERING = ON. At this time we still specify the SSMS to use federation where the key equals to 2 but specify the FILTERING = ON, and select the data without any criteria.

    1: USE FEDERATION Tenant_Fed (TID = 2) WITH RESET, FILTERING = ON 2: GO 3: 4: SELECT Account.Name, Country.Country, .Name, Title.Title 5: FROM 6: LEFT JOIN Account ON AccountID = Account.ID 7: LEFT JOIN Country ON Account.CountryID = Country.ID 8: LEFT JOIN Title ON .TitleID = Title.ID

    Now we can see that only the records that the TenantID = 2 were returned. We didn’t provide anything in the WHERE clause in SELECT command but it worked as if we specified WHERE TenantID = 2. This is the benefit that using the FILTERING = ON in the USE FEDERATION command.

    We mentioned in the previous post, in SQL Azure Federation all records that related with the same federation key value in a federation member is called an Atomic Unit. In the case above we connected to the federation member’s atomic unit which the value is TenantID = 2, by using the FILTERING = ON clause.

    This feature is very useful especially when we need to migrate a single tenant application to multi-tenant style. As you know we might need to add the tenant identity column in the tables that tenant-award when migrating, but this might lead us to rewrite all related SQL scripts. For example if we have a SQL script that retrieves all data in table Order, it might look like this in single tenant application.

    1: SELECT Order.ID, Order.Name FROM Order

    But if we implemented the multi-tenant feature we have to add the TenantID column in this table to indicate which tenant the order is. And accordingly we have to rewrite the SQL script if a participant tenant user is currently logging on.

    1: SELECT Order.ID, Order.Name FROM Order 2: WHERE Order.TenantID = UserTenentID

    Assuming that we have 50 tables that are tenant-award and 10 scripts for each table. Then we need to amend 50 * 10 = 500 SQL scripts. And almost all changes are very similar.

    But if we are using SQL Azure Federation we can make the tenant ID as the federation distribution key and let the tables split based on their TenantID column. Then if we have an user logged in under a tenant, we can invoke the USE FEDERATION statement specifying the TenantID value with FILTERING = ON before any data command, then all following SQL scripts will no need to be changed since the SQL Azure Federation helped us to filter the connection scope to this tenant. This can be done very easily by using AOP.

    Summary

    In this post I demonstrated how to use SQL Azure Federation. We talked about how to create federation, federation members and tables. And we demonstrated how to split a federation member, which is horizontal data partitioning without any downtime.

    I also talked about the feature of FILTERING = ON in USE FEDERATION statement and the benefit in multi-tenant solution.

    SQL Azure Federation is a very powerful tool for us to build scale-out andor multi-tenant application. In the coming few posts I would like to discuss the metadata system of the federation, the pricing and how to split the federation members based on the data size or record count.

    And I would like to introduce on how to implement our own horizontal partitioning data access layer without SQL Azure Federation available.

    Hope this helps,

    Shaun

    All documents and related graphics, codes are provided "AS IS" without warranty of any kind. Shaun Ziyan Xu. This work is licensed under the Creative Commons License.



  • References:


    Pass4sure Exam Study Notes
    Pass4sure Certification Exam Study Notes
    Pass4sure Certification Exam Study Notes
    Pass4sure Certification Exam Study Notes
    Pass4sure Certification Exam Study Notes
    Pass4sure Study Guides and Exam Simulator - shadowNET
    Killexams Study Guides and Exam Simulator - simepe.com.br
    Download Hottest Pass4sure Certification Exams - CSCPK
    Complete Pass4Sure Collection of Exams - BDlisting
    Latest Exam Questions and Answers - Ewerton.me
    Here you will find Real Exam Questions and Answers of every exam - dinhvihaiphong.net
    Practice questions and Cheat Sheets for Certification Exams at linuselfberg
    Study Guides, Practice questions and Cheat Sheets for Certification Exams at brondby
    Study Guides, Study Tools and Cheat Sheets for Certification Exams at assilksel.com
    Study Guides, Study Tools and Cheat Sheets for Certification Exams at brainsandgames
    Study notes to cover complete exam syllabus - crazycatladies
    Study notes, boot camp and real exam Q&A to cover complete exam syllabus - brothelowner.com
    Study notes to cover complete exam syllabus - Killexams.com
    Study Guides, Practice Exams, Questions and Answers - cederfeldt
    Study Guides, Practice Exams, Questions and Answers - chewtoysforpets
    Study Guides, Practice Exams, Questions and Answers - Cogo
    Study Guides, Practice Exams, Questions and Answers - cozashop
    Study Guides, Study Notes, Practice Test, Questions and Answers - cscentral
    Study Notes, Practice Test, Questions and Answers - diamondlabeling
    Syllabus, Study Notes, Practice Test, Questions and Answers - diamondfp
    Updated Syllabus, Study Notes, Practice Test, Questions and Answers - freshfilter.cl
    New Syllabus, Study Notes, Practice Test, Questions and Answers - ganeshdelvescovo.eu
    Syllabus, Study Notes, Practice Test, Questions and Answers - ganowebdesign.com
    Study Guides, Practice Exams, Questions and Answers - Gimlab
    Latest Study Guides, Practice Exams, Real Questions and Answers - GisPakistan
    Latest Study Guides, Practice Exams, Real Questions and Answers - Health.medicbob
    Killexams Certification Training, Q&A, Dumps - kamerainstallation.se
    Killexams Syllabus, Killexams Study Notes, Killexams Practice Test, Questions and Answers - komsilanbeagle.info
    Pass4sure Brain Dump, Study Notes, Pass4sure Practice Test, Killexams Questions and Answers - levantoupoeira
    Pass4sure Braindumps, Study Notes, Pass4sure Practice Test, Killexams Questions and Answers - mad-exploits.net
    Pass4sure Braindumps, Study Notes, Pass4sure Practice Test, Killexams Questions and Answers - manderije.nl
    Pass4sure study guides, Braindumps, Study Notes, Pass4sure Practice Test, Killexams Questions and Answers - manderije.nl
    Pass4sure Exams List - mida12.com.br
    Braindumps and Pass4sure Exams Download Links - milehighmattress
    Exams Study Guides Download Links - morganstudioonline
    Study Guides Download Links - n1estudios.com
    Pass4sure Study Guides Download Links - netclique.pt
    Killexams Exams Download Links - nrnireland.org
    Study Guides Download Links - partillerocken.com
    Certification Exams Download Links - pixelcoding
    Certificaiton Exam Braindumps Download Links - porumbeinunta
    Brain Dumps and Study Guides Links - prematurisinasce.it
    Pass4sure Brain Dumps - nicksmagic.com
    Quesitons and Answers - recuperacion-disco-duro.com
    Exam Questions and Answers with Simulator - redwest.se
    Study Guides and Exam Simulator - sarkic.com
    Pass4sure Study Guides and Exam Simulator - shadowNET
    Killexams Study Guides and Exam Simulator - simepe.com.br
    Killexams Study Guides and Exam Simulator - skinlove.nl
    Pass4Sure Study Guides and Exam Simulator - marinedubai.com/
    Pass4Sure QA and Exam Simulator - brandtsleeper/
    Pass4Sure Q&A and Exam Simulator - risingeagleproductions/
    VCE examcollection and Exam Simulator - starvinmarv/
    Collection of Certification Exam Study Guides - studyguidecourses
    www.pass4surez.com, (c) 2017-2018