Tuesday, August 6, 2019

Philadelphia family Essay Example for Free

Philadelphia family Essay Born in 1856 into a wealthy Philadelphia family, Taylor disappointed his parents by working in a metal products factory, first as a machinist and next as a foreman. Shocked at the factorys inefficiency, and the practice of its skilled workers of purposely working slowly. As an engineer he was more interested in the practical outcome and not the psychology Taylor proposed solutions that he believed would solve both problems. By studying the time it took each worker to complete a step, and by rearranging equipment, Taylor believed he could discover what an average worker could produce in optimum conditions. The promise of higher wages, he figured, would create added incentive for workers to exceed this average level. Taylors time-and-motion studies offered a path away from the industrial wars of a century ago. Now what was needed was a way to apportion the wealth created by manufacturing enterprises. Taylors answer sidestepped the class struggle and interest group politics. He believed his principles would create a partnership between manager and worker, based on an understanding of how jobs should be done and how workers are motivated. These workers are motivated by money. He believed a fairs day work deserved a fair day bonus. He thought keeping his workforce happy would keep them producing at a high quality. He died in 1915, whilst on a speaking tour in the mid west he contracted influenza, he was admitted to hospital and celebrated his 59th birthday there and died the next day. Taylors second and third theory is used in the McDonalds. The McDonalds ethos is that the food preparation must be done to specific instructions. For instance the fries must be cooked for a 3 minutes at a temperature of 175o, then the buzzer tells the employee to take them out and salt them. Throughout all McDonalds are a series of dedicated, purpose-built machine for producing milkshakes, toasting buns and squirting chocolate sauce and much else. After 150 years this is the most active period working in industry, F W Taylor would feel very much at home ordering a Big Mac. The biggest person that Taylors theorys influenced was Henry Ford. Henry Ford was the first person to try mass production and it was a massive success. Taylors practices were first used in 1911 in the factory; by 1913 Ford had introduced a conveyor belt system and had achieved the ultimate Taylorite idea. This method was also used in Nazi death camps. They did not plan whom they would kill until the day they did it. Both Mussolini and Stalin both used his techniques during their communist uprisings. Taylor also wrote many books of these the most famous is The Principles of Scientific Management he wrote this in 1911. He split the book into two chapters the first the fundamentals of scientific management and the second The principles of scientific management. In the first chapter he stated that the principal object of management should be to secure the maximum prosperity for the employer, coupled with the maximum prosperity for each employee. In the second chapter he stated that people should be told what to do and how they do it. They should be motivated by a money incentive. Before Taylor, skilled workers chose their own methods of work, but after Taylor workers were far more likely to have limited, repetitive tasks and were forced to work at a pace set by their manager. To maximise efforts of workers Taylor introduced an incentive system known as a differential piece-rate. This offered a meagre payment per unit produced. 2p per unit for the first 500 per day 5p per unit all those above 500 per day The threshold was set a t a level which those producing barely 500 received barely a living wage. To make 700 was a great incentive, as you would earn double what you would at the 500 mark. But the workers in many places resented this theory that the theory was abandoned soon after introduction. Problems with Taylors methods With Taylors notion of a quickest and best way for all workers does not take into account individual differences. There is no guarantee that the best way will suit everyone. Also some people naturally will be able to work faster than others creating a disadvantage for those he is not so fast. Taylor also viewed people as machines, with financial needs, than as humans in a social setting. People felt pressured and did not like being treated this way. He also overlooked the fact that some people work for other reasons than money. In a financial survey in 1982, a large sample of British people were asked whether they would carry on working if they financially did no need to. Nearly 70% of men and 655 of women said they would. Taylors Core values The rule of reason, improved quality, lower costs, higher wages, higher output, labour management, co-operation, experimentation, clear tasks and goals, feedback, training, stress reduction and the careful selection and development of people. He was the first to present a systemic study of interaction an d job requirements, tools, methods and human skills, to fit people into jobs both psychologically and physically, and to let data and facts do the talking rather than prejudice, opinions or egomania.

Monday, August 5, 2019

Postscript Adobe Product

Postscript Adobe Product Adobes first product, Postscript ®, was a driving force behind the desktop publishing revolution of the mid 1980s. Postscript provided an interface between computer program and an output device such as a printer. It comprised of three parts; a page description language which was open, documented and free, an interpreter which was licensed to output device manufacturers, and fonts which were sold to end customers such as graphic artists. The first postscript products were introduced in 1985 through a strategic alliance among four firms: Adobe, Apple, Aldus, and Linotype. The combination of products from these firms sparked the desktop users could create news letters and other documents that had a professional look and feel: documents could integrate graphics and text using professional quality fonts. The result was accomplished through a system of products. Aldus PageMaker software, which ran on Apple Macintosh, enabled the creation of documents that integrated text and graphics, PageMaker required a postscript device for printing. The Apple Laser writer was the first postscript printer and incorporated a postscript interpreter licensed from Adobe. Finally, professional looking documents only required high quality fonts such as Times Roman or Palatino, which typically were only available to professional publishers. Linotype, a firm with over 100 years of experiences in the typesetter industry, licensed a set of its most popular fonts to Adobe so that Adobe could offer them in postscript format. The Laser Writer came with 35 postscript fonts build in Linotype also introduced a high-end postscript image setter so that PageMaker documents could be used in professional publishing. By 1989, postscript had become the defacto standard for printing in the graphic arts and publishing industries. A most 100% of high-end image setters on the market incorporated postscript, while penetration in the general laser printer market reached only about 25%, penetration of Postscript in laser printers used by graphic artists was closer to 100%. Adobe also leveraged the underlying graphics technology of postscripts in applications software for the graphic arts community. The first end-user application, Adobe illustrator, was introduced in March 1987 and gained wide acceptance among graphic artists. Illustrator created output Postscript output and helped to create demand for Postscript printers. Adobe also acquired a number of software products including Photostop for digital image editing in 1989, and Aldus PageMaker in 1993. These products were extremely successful, with Photostop capturing over 90% of the market for photo-editing software. Ownership and leveraging of the Postscript standard had reaped huge rewards for Adobe; between 1984 and 1995, revenue had grown from $2.2 million to $762 million- a compound annual growth; rate of 70%. Adobes share price growth had been equally impressive, increasing at an average rate of29% between 1986, when the firm went public and 1995. In order to create PDF documents users had to purchase either Acrobat  ® Exchange for $195, or a more sophisticated product, Acrobat  ® Distiller for $695. As with the Postscript standard, the specification for PDF was open. By using documentation from Adobe, other firms could create files PDF format. Sales of Acrobat however were originally quite disappointing and reached only about $25 million in 1993. Given the advent of the internet, Adobe modified its Acrobat strategy. Instead of focusing exclusively on document exchange among workers within a corporation, Adobe also targeted internet users. The goal I was to make PDF the de facto standard for posting and exchanging documents on the internet. Question 2. In order to encourage software developers to use the Postscript language, Adobe made it open to anyone for free. The language was meticulously documented in what programmers fondly called â€Å"The Red Book†, and strong technical support was provided to third party developers working with the language. As a result, the number of applications supporting Postscript increased from 180 in 1986 to over 5,000 by 1991. To accelerate the diffusion of Postscript output devices, Adobe developed a boilerplate controller design based on the Motorola G8000 chip. Printer manufacturers interested in licensing Postscript had free access to this design, thus accelerating the development time for Postscript products. In addition, Adobe engineers often worked on joint product development teams with customers in order to help with the design of customized Postscript interpreters. The number of Postscript licenses increased from just one, Apple in 1985 to 60 by 1994. Adobe invested a large amount in creasing its own library of Postscript fonts. In 1986, Adobe invested 16% of sales in font development, and dollar investment continued to increase from 1985 through 1992. The number of Postscript fonts in the Adobe collection increased from 35 in 1985 to 2000 in 1994. These fonts were valued most highly by graphic artists designing pages for professional publishing. Adobe encouraged adoption of the Acrobat Reader by changing its previous policy of charging $50. The Acrobat Reader became widely available for free. In 1994, an alliance was made with AOL made the Acrobat Reader available to all AOL users. Adobe also established relationships with a number of computer vendors such as Compaq, Dell, and Sony to preload the Acrobat Reader on Personal Computers they sold. In 1995 free downloads of the Acrobat Reader were made available from the Adobe website. When users visited a site with PDF content they were instructed to click on a link to Adobe.com to get the free Acrobat Reader. Downloads of the Acrobat Readers explored starting in 1997, and by July 2000 over 197 million Acrobat Readers had been downloaded, with ongoing downloads of about 6 million more each month. Traffic to the Adobe site was also significant with about 11 million unique visitors a month. Downloads also drove sales of the full Acrobat product, needed for PDF creation. Adobe mark et research indicated that 88% of full Acrobat purchasers had used the Acrobat Reader prior to buying the full product. Question 3. Standard wars and battles for dominance in the market between incompatible technologies are products of the information age. Adobe announced it would release the entire PDF specification (current version 1.7) to the International Standards Organization. PDF has reached a point in its maturity cycle where maintaining it in an open standards manner is the next logical step in evolution. Not only does this reinforce Adobes commitment to open standards, but it demonstrates that open standards and open source strategies are really becoming a mainstream concept in the software industry. PDF will go from being an open standard/specification and de facto standard to a full blown dejure standard. (http://www.ameinfo.com/40724.html) Adobe has found that with Postscript and PDF, publishing the specifications, making them open but not open standards is the right path. This is because once something becomes a standard driven by a standards body, it moves to a glacial place Ad innovation slows down significantly because everybody has to agree and compromise. If it is made a totally open source, they do not get a return on investment. They believe that by opening up the specification, they allow other people to take advantage of it. However, they still own the source and get to innovate around that standard more quickly. (http://www.ameinfo.com/40724.html) Uncertainty about the market of e-Books hinged on a number of factors. One of the major impediments to adoption of E-Books was on-screen readability. Anti-aliasing technology had been developed by both Adobe (Cool Type) and Microsoft (Clear Type), improving text resolution by up to 300% e-Book resolution, however, was still not close to matching the quality of paper. So far the place of e-Books was similar or higher than that of print books, constraining demand. In addition, dedicated e-Books reading devices had been relatively expensive, costing a minimum of $250. Finally, the selection of e-Books was still quite limited and e-Books formatted for one device could generally not be used on another. Depending upon their assumptions about pricing and standards, analysts had different perspectives on the potential of the market. After the well publicised battle between VHS and Beta formats in the VCR industry, both produces and consumers were wary of standards war. No consumer wanted to be stuck with the equivalent of Betamax CVR, an orphan product with no tapes to play on it. Likewise, producers did not to be on the losing end of a standards war. It was unclear how standards in the e-Book market would evolve. While Microsoft had changed head on into the consumer it is wondered whether Adobe should instead focus elsewhere. Other segments, such as professional and technical users, while similar than the general consumer market, seemed to place more value on what e-Books had to offer and were leading in their adoption. In addition, Adobes superior graphics capability was more highly valued by the professional market. Adobe can win the standards war by creating alliances with other software companies. A good company is Google. Relative market caps show Adobe at $24 billion, Google at $148 billion and Microsoft at $296 billion. Google needs something like Adobe and Microsoft does not have the same perspective. This could be a strategic relationship to help Adobe win formats/standards war against Microsoft. Adobe may already own the market for electronic documents thanks to PDF, but the company knows that Microsoft has a habit of showing up late to a party and stealing the crown. In turn Adobe is beta testing a new project it calls â€Å"mars† which is an answer to Microsofts new XPS format. (http://www.inforules.com/summaries.htm) Negotiations over standardization and interconnection and standardization are critical once a network has been launched Adobe can explore seven key assets that show its ability to successfully wage a standards war. These are; intellectual property rights, control over an installed base of users, ability to innovate, manufacturing abilities, first mover advantages, strength in complements and brand name reputation. The standard wars are especially bitter and crucial to business success in markets with string network effects that cause consumers to play high value on compatibility. (http://www.inforules.com/summaries.htm) Pre-emption is one of the two crucial market place tactics that Adobe can use in its standards battle. The logic of pre-emption is straight forward: build an early lead so positive feedback works for you and against your rival. The same principle implies in markets with learning by doing: the first firm to gain significant experience will have lower costs and can pull even further ahead. (Shapiro, Varian 1999) Expectations management is the second by tactic in standard wars. Expectations are a major factor in consumer decisions about whether or not to purchase a new technology. Just as incumbents will vary to knock down the viability of new technologies that emerge, so will those very entrants strive to establish credibility. (Shapiro, Varian 1999) Reference: Carlo Shapiro, Hal R. Varian. Information Rules. A Strategic Guide to the Network Economy. Retrieved from http://www.ameinfo.com/40724.html on 5th March 2008 Carlo Shapiro, Hal R. Varian. The Arts of Standard Wars, California Management Review, Vol.41, No.2 1999. http://www.inforules.com/summaries.htm http://www.business.ualberta.ca/mlounsbury/ORG658/readings/standard%20wars.pdf

Sunday, August 4, 2019

Plasmid Extraction :: essays research papers

Introduction   Ã‚  Ã‚  Ã‚  Ã‚  Chitobiase, from Vibrio harveyi, is a membrane bound lipoprotein involved in the degradation of chitin. Chitobiase is similar to and may share a common ancestry to the a-chain of human b-hexos-aminidase. Chitobiase is encoded by chb.   Ã‚  Ã‚  Ã‚  Ã‚  In this experiment, a restriction map for restriction enzymes Eco R1, Pst1 and Hind III using Southern hybridization and restriction analysis of pRSG 192. pRSG 192 is a recombinant plasmid derived from the chb gene and pUC 19, a 2.7kb engineered plasmid which encodes for ampicillin resistance, a portion of the lac operon and a multiple cloning region . The chb gene exists as a 3.6 kb insert in the mutiple cloning region of pUC 19.   Ã‚  Ã‚  Ã‚  Ã‚  The major goals of Experiment One will be to isolate pRSG 192 from an overnight culture of E. coli, amplify a region of the chb gene using PCR, and to map restriction sites within the chb gene using restriction analysis and Southern hybridization. Methods Plasmid Isolation Four microfuge tubes containing cell pellets representing 3.0ml of cells(2 x 1.5ml) from an overnight culture of E. coli were prepared. The supernatant fluid was discarded and each pellet was resuspended in 150ul of TE buffer(10mM Tris-HCl, pH 8.0; 0.1 EDTA). 300ul of SDS(1% SDS, 0.2 N NaOH) was added to each pellet. The tubes were placed on ice for five minutes, after which, 225ul of ice-cold 3M potassium acetate(pH 4.8) was added. The tubes were again placed on ice for five minutes and subsequently microfuged for five minutes. The supernatants were recovered and transferred to new tubes. One volume of phenol/chloroform was added to each new tube. The tubes were shaken vigorously for two minutes and centrifuged for five minutes. The upper, aqueous phase was recovered and transferred to a new tube. One volume of chloroform was added to each tube. The tubes were vigorously mixed and microfuged for three minutes.

Saturday, August 3, 2019

The Medias Influence on Adolescents Body Image :: Adolescents and the Mass Media

Adolescence is a time for learning and growth. This time can be easier to handle by some than others. For some it can be a revelation of new experiences and ideas, while adolescence can also be a difficult, stressful time for those trying to discover themselves. This can affect themselves as well as those around them. During this time, adolescents are likely to identify with those around them, their peers. Identifying with peers can help adolescents along by giving them the opportunity to see how others deal with problems similar to their own and by offering their own advice to those who need it. Along with this, adolescents are liable to worry about their body image, and may want to conform to those who have achieved the â€Å"desired† image. This image may be thin, muscular, or just average. Nevertheless, some adolescents will go too far to achieve this image, usually this is done by adolescent females who wish to become thin. This can be attributed to media’s por trayal of women. The majority of women in ads, television and movies are thin and are seen as attractive because of this. Adolescent girls will see these women and may want their image as their own, and some will go to any lengths to acquire this. This in turn could lead to the idea that during this process of change and growing up, adolescents are often concerned about their physical image, which is influenced by the media.   Ã‚  Ã‚  Ã‚  Ã‚  Adolescents may want to change their body image for a number of reasons. During adolescence, they may feel unsatisfied with their bodies and want to change how they look just to fit in. â€Å"Fitting in† with their peers is an important part of adolescence. It gives young people a sense that they belong; the need for peer influence is a necessary part of growing up as peers can offer advice and insight to anything that may be troubling adolescents, including how they feel about their image. Also, adolescents look up to a number of people, namely celebrities, and try to adopt their style as their own in hopes of being able to fit in. Many celebrities are thin. There are those who need to have that small body frame, such as some athletes. Gymnasts would be an example of this because they need to keep their body this way in order to perform their gymnastic feats; a gymnast will never again be seen as just â€Å"average† since the 1972 Olympics, when cro wds were awed by the daring moves performed by the tiny Olga Korbut.

Analysis of The Revolt of Mother Essay -- Analysis of The Revolt of Mo

Analysis of The Revolt of Mother â€Å"The Revolt of ‘Mother’† by Mary Wilkins Freeman, was a story of a woman who lived in New England around or before the author’s time. The mother, Sarah Penn, was kept out of the families decisions by the father, Adoniram Penn, until one event that lead to her taking drastic actions while her husband was gone. There are many religious symbols and actions taken by â€Å"Mother† within the story. Through the story Sarah moved from a feeling of servitude to her husband, to a feeling that she was in servitude to the Lords will and this led her, in the end, to hold power over her husband. The religious overtones start with the title of the story, â€Å"The Revolt of ‘Mother.’† The name ‘Mother’ in many stories is used to relate to a divine or spiritual woman. It could be a direct reference to Mother Mary, but in the context of this story it is just meant to signify her clarity with what the Lord wants her to do. The word ‘Revolt’ also has religious significance when related with that use of ‘Mother’. The revolt that ‘Mother’ takes is a religious one because it is going against her husband and town’s beliefs, which are both the same. This becomes clear in the part of the story when the minister comes to talk to Sarah about what she has done. When the minister came to see Sarah on Friday after she had moved into the barn she was described as having a â€Å"saintly expression of her face†(529). With that, and the fact that she acts so rude to him, especially since he’s a minister, shows that she does believe she is right under the Lords will and he is not. The author also implies this by the name she gives to the minister, Mr. Hersey. His name sounds just like the word heresy and is spelled very similar. This is another indication that, in fact, the minister is going against the Lords own will and Sarah is not. The narrator has also described the minister as being â€Å" a sickly man† and that, â€Å"he had scourge himself up to some of his pastoral duties as relentlessly as a Catholic ascetic†(530). This seems harsh at first but it is just conveying the ignorance of the minister. In the times of this story the town would have to be Protestant or maybe even Puritan, but definitely not Catholic because it is set in early New England times and for the simple fact that he is a minister with a wife. The fact that he is referred to as a â€Å"Cathol... ...other was able to start the revolt. By the end of the story Adoniram is not in power. This aspect is shown through how Father lacked the power to even remove his jacket, even though he is described as having a â€Å"sturdily healthy†(531) frame. He is also not referred to as father, but as an old man. Because old people are usually represented as being weaker and more needing of help, Father takes on the position of lesser power in the family. So because Sarah moved from Adoniram’s servitude to the Lords, father falls to a lesser power. It is in this position that he gives into his wife and builds windows and partitions as she asks. In the end Sarah has moved from servitude to a position of power in the family. And Adoniram has fallen from his position of not listening to what Sarah wants to one of submission to her needs. But there hasn’t been sufficient foundation laid by Sarah to foreshadow that it will stay this way forever. First because the majority of the revolt took place when Adoniram was absent, so it was easier for her to make this transition. But mainly because as the name implies this was only a revolt. Just because you won a revolt doesn’t mean you’ve won the war.

Friday, August 2, 2019

? Analyses and Compare the Physical Storage Structures and Types of Available Index of the Latest Versions of: 1. Oracle 2. Sql Server 3. Db2 4. Mysql 5. Teradata

Assignment # 5 (Individual) Submission 29 Dec 11 Objective: To Enhance Analytical Ability and Knowledge * Analyses and Compare the Physical Storage Structures and types of available INDEX of the latest versions of: 1. Oracle 2. SQL Server 3. DB2 4. MySQL 5. Teradata First of all define comparative framework. Recommend one product for organizations of around 2000-4000 employees with sound reasoning based on Physical Storage Structures Introduction to Physical Storage Structures One characteristic of an RDBMS is the independence of logical data structures such as  tables,  views, and  indexes  from physical storage structures.Because physical and logical structures are separate, you can manage physical storage of data without affecting access to logical structures. For example, renaming a database file does not rename the tables stored in it. The following sections explain the physical database structures of an Oracle database, including datafiles, redo log files, and control f iles. Datafiles Every Oracle database has one or more physical  datafiles. The datafiles contain all the database data. The data of logical database structures, such as tables and indexes, is physically stored in the datafiles allocated for a database.The characteristics of datafiles are: * A datafile can be associated with only one database. * Datafiles can have certain characteristics set to let them automatically extend when the database runs out of space. * One or more datafiles form a logical unit of database storage called a tablespace. Data in a datafile is read, as needed, during normal database operation and stored in the memory cache of Oracle. For example, assume that a user wants to access some data in a table of a database. If the requested information is not already in the memory cache for the database, then it is read from the appropriate atafiles and stored in memory. Modified or new data is not necessarily written to a datafile immediately. To reduce the amount of disk access and to increase performance, data is pooled in memory and written to the appropriate datafiles all at once, as determined by the  database writer process (DBWn)  background process. Control Files Every Oracle database has a  control file. A control file contains entries that specify the physical structure of the database. For example, it contains the following information: * Database name * Names and locations of datafiles and redo log files * Time stamp of database creationOracle can  multiplex  the control file, that is, simultaneously maintain a number of identical control file copies, to protect against a failure involving the control file. Every time an  instance  of an Oracle database is started, its control file identifies the database and redo log files that must be opened for database operation to proceed. If the physical makeup of the database is altered, (for example, if a new datafile or redo log file is created), then the control file is autom atically modified by Oracle to reflect the change. A control file is also used in database recovery. Redo Log FilesEvery Oracle database has a set of two or more  redo log files. The set of redo log files is collectively known as the redo log for the database. A redo log is made up of redo entries (also called  redo records). The primary function of the redo log is to record all changes made to data. If a failure prevents modified data from being permanently written to the datafiles, then the changes can be obtained from the redo log, so work is never lost. To protect against a failure involving the redo log itself, Oracle allows a  multiplexed redo log  so that two or more copies of the redo log can be maintained on different disks.The information in a redo log file is used only to recover the database from a system or media failure that prevents database data from being written to the datafiles. For example, if an unexpected power outage terminates database operation, then data in memory cannot be written to the datafiles, and the data is lost. However, lost data can be recovered when the database is opened, after power is restored. By applying the information in the most recent redo log files to the database datafiles, Oracle restores the database to the time at which the power failure occurred.The process of applying the redo log during a recovery operation is called  rolling forward. Archive Log Files You can enable automatic archiving of the redo log. Oracle automatically archives log files when the database is in  ARCHIVELOG  mode. Parameter Files Parameter files contain a list of configuration parameters for that instance and database. Oracle recommends that you create a server parameter file (SPFILE) as a dynamic means of maintaining initialization parameters. A server parameter file lets you store and manage your initialization parameters persistently in a server-side disk file.Alert and Trace Log Files Each server and background proces s can write to an associated trace file. When an internal error is detected by a process, it dumps information about the error to its trace file. Some of the information written to a trace file is intended for the database administrator, while other information is for Oracle Support Services. Trace file information is also used to tune applications and instances. The alert file, or alert log, is a special trace file. The alert file of a database is a chronological log of messages and errors. Backup Files To restore a file is to replace it with a backup file.Typically, you restore a file when a media failure or user error has damaged or deleted the original file. User-managed backup and recovery requires you to actually restore backup files before you can perform a trial recovery of the backups. Server-managed backup and recovery manages the backup process, such as scheduling of backups, as well as the recovery process, such as applying the correct backup file when recovery is needed . A database  instance  is a set of memory structures that manage database files. Figure 11-1  shows the relationship between the instance and the files that it manages.Figure 11-1 Database Instance and Database Files Mechanisms for Storing Database Files Several mechanisms are available for allocating and managing the storage of these files. The most common mechanisms include: 1. Oracle Automatic Storage Management (Oracle ASM) Oracle ASM includes a file system designed exclusively for use by Oracle Database. 2. Operating system file system Most Oracle databases store files in a  file system, which is a data structure built inside a contiguous disk address space. All operating systems have  file managers that allocate and deallocate disk space into files within a file system.A file system enables disk space to be allocated to many files. Each file has a name and is made to appear as a contiguous address space to applications such as Oracle Database. The database can creat e, read, write, resize, and delete files. A file system is commonly built on top of a  logical volume  constructed by a software package called a  logical volume manager (LVM). The LVM enables pieces of multiple physical disks to be combined into a single contiguous address space that appears as one disk to higher layers of software. 3. Raw device Raw devices  are disk partitions or logical volumes not formatted with a file system.The primary benefit of raw devices is the ability to perform  direct I/O  and to write larger buffers. In direct I/O, applications write to and read from the storage device directly, bypassing the operating system buffer cache. 4. Cluster file system A  cluster file system  is software that enables multiple computers to share file storage while maintaining consistent space allocation and file content. In an Oracle RAC environment, a cluster file system makes shared storage appears as a file system shared by many computers in a clustered env ironment.With a cluster file system, the failure of a computer in the cluster does not make the file system unavailable. In an operating system file system, however, if a computer sharing files through NFS or other means fails, then the file system is unavailable. A database employs a combination of the preceding storage mechanisms. For example, a database could store the control files and online redo log files in a traditional file system, some user data files on raw partitions, the remaining data files in Oracle ASM, and archived the redo log files to a cluster file system. Indexes in OracleThere are several types of indexes available in Oracle all designed for different circumstances: 1. b*tree indexes – the most common type (especially in OLTP environments) and the default type 2. b*tree cluster indexes – for clusters 3. hash cluster indexes – for hash clusters 4. reverse key indexes – useful in Oracle Real Application Cluster (RAC) applications 5. bi tmap indexes – common in data warehouse applications 6. partitioned indexes – also useful for data warehouse applications 7. function-based indexes 8. index organized tables 9. domain indexesLet's look at these Oracle index types in a little more detail. B*Tree Indexes B*tree stands for balanced tree. This means that the height of the index is the same for all values thereby ensuring that retrieving the data for any one value takes approximately the same amount of time as for any other value. Oracle b*tree indexes are best used when each value has a high cardinality (low number of occurrences)for example primary key indexes or unique indexes. One important point to note is that NULL values are not indexed. They are the most common type of index in OLTP systems. B*Tree Cluster IndexesThese are B*tree index defined for clusters. Clusters are two or more tables with one or more common columns and are usually accessed together (via a join). CREATE INDEX product_orders_ix O N CLUSTER product_orders; Hash Cluster Indexes In a hash cluster rows that have the same hash key value (generated by a hash function) are stored together in the Oracle database. Hash clusters are equivalent to indexed clusters, except the index key is replaced with a hash function. This also means that here is no separate index as the hash is the index. CREATE CLUSTER emp_dept_cluster (dept_id NUMBER) HASHKEYS 50; Reverse Key IndexesThese are typically used in Oracle Real Application Cluster (RAC) applications. In this type of index the bytes of each of the indexed columns are reversed (but the column order is maintained). This is useful when new data is always inserted at one end of the index as occurs when using a sequence as it ensures new index values are created evenly across the leaf blocks preventing the index from becoming unbalanced which may in turn affect performance. CREATE INDEX emp_ix ON emp(emp_id) REVERSE; Bitmap Indexes These are commonly used in data warehouse app lications for tables with no updates and whose columns have low cardinality (i. . there are few distinct values). In this type of index Oracle stores a bitmap for each distinct value in the index with 1 bit for each row in the table. These bitmaps are expensive to maintain and are therefore not suitable for applications which make a lot of writes to the data. For example consider a car manufacturer which records information about cars sold including the colour of each car. Each colour is likely to occur many times and is therefore suitable for a bitmap index. CREATE BITMAP INDEX car_col ON cars(colour) REVERSE; Partitioned IndexesPartitioned Indexes are also useful in Oracle datawarehouse applications where there is a large amount of data that is partitioned by a particular dimension such as time. Partition indexes can either be created as local partitioned indexes or global partitioned indexes. Local partitioned indexes mean that the index is partitioned on the same columns and wit h the same number of partitions as the table. For global partitioned indexes the partitioning is user defined and is not the same as the underlying table. Refer to the create index statement in the Oracle SQL language reference for details. Function-based IndexesAs the name suggests these are indexes created on the result of a function modifying a column value. For example CREATE INDEX upp_ename ON emp(UPPER(ename((; The function must be deterministic (always return the same value for the same input). Index Organized Tables In an index-organized table all the data is stored in the Oracle database in a B*tree index structure defined on the table's primary key. This is ideal when related pieces of data must be stored together or data must be physically stored in a specific order. Index-organized tables are often used for information retrieval, spatial and OLAP applications.Domain Indexes These indexes are created by user-defined indexing routines and enable the user to define his or h er own indexes on custom data types (domains) such as pictures, maps or fingerprints for example. These types of index require in-depth knowledge about the data and how it will be accessed. Indexes in Sql Server Index type| Description| Clustered| A clustered index sorts and stores the data rows of the table or view in order based on the clustered index key. The clustered index is implemented as a B-tree index structure that supports fast retrieval of the rows, based on their clustered index key values. Nonclustered| A nonclustered index can be defined on a table or view with a clustered index or on a heap. Each index row in the nonclustered index contains the nonclustered key value and a row locator. This locator points to the data row in the clustered index or heap having the key value. The rows in the index are stored in the order of the index key values, but the data rows are not guaranteed to be in any particular order unless a clustered index is created on the table. | Unique| A unique index ensures that the index key contains no duplicate values and therefore every row in the table or view is in some way unique.Both clustered and nonclustered indexes can be unique. | Index with included columns| A nonclustered index that is extended to include nonkey columns in addition to the key columns. | Full-text| A special type of token-based functional index that is built and maintained by the Microsoft Full-Text Engine for SQL Server. It provides efficient support for sophisticated word searches in character string data. | Spatial| A spatial index provides the ability to perform certain operations more efficiently on spatial objects (spatial data) in a column of the  geometry  data type.The spatial index reduces the number of objects on which relatively costly spatial operations need to be applied. | Filtered| An optimized nonclustered index especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to index a portion of rows in the table. A well-designed filtered index can improve query performance, reduce index maintenance costs, and reduce index storage costs compared with full-table indexes. | XML| A shredded, and persisted, representation of the XML binary large objects (BLOBs) in the  xml  data type column. | SQL Server Storage StructuresSQL Server does not see data and storage in exactly the same way a DBA or end-user does. DBA sees initialized devices, device fragments allocated to databases, segments defined within Databases, tables defined within segments, and rows stored in tables. SQL Server views storage at a lower level as device fragments allocated to databases, pages allocated to tables and indexes within the database, and information stored on pages. There are two basic types of storage structures in a database. * Linked data pages * Index trees. All information in SQL Server is stored at the page level. When a database is created, all spaceAllocated to it is divid ed into a number of pages, each page 2KB in size. There are five types of pages within SQL Server: 1. Data and log pages 2. Index pages 3. Text/image pages 4. Allocation pages 5. Distribution pages All pages in SQL Server contain a page header. The page header is 32 bytes in size and contains the logical page number, the next and previous logical page numbers in the page linkage, the object_id of the object to which the page belongs, the minimum row size, the next available row number within the page, and the byte location of the start of the free space on the page.The contents of a page header can be examined by using the dbcc page command. You must be logged in as sa to run the dbcc page command. The syntax for the dbcc page command is as follows: dbcc page (dbid | page_no [,0 | 1 | 2]) The SQL Server keeps track of which object a page belongs to, if any. The allocation of pages within SQL Server is managed through the use of allocation units and allocation pages. Allocation Pages Space is allocated to a SQL Server database by the create database and alter database commands. The space allocated to a database is divided into a number of 2KB pages.Each page is assigned a logical page number starting at page 0 and increased sequentially. The pages are then divided into allocation units of 256 contiguous 2KB pages, or 512 bytes (1/2 MB) each. The first page of each allocation unit is an allocation page that controls the allocation of all pages within the allocation unit. The allocation pages control the allocation of pages to tables and indexes within the database. Pages are allocated in contiguous blocks of eight pages called extents. The minimum unit of allocation within a database is an extent.When a table is created, it is initially assigned a single extent, or 16KB of space, even if the table contains no rows. There are 32 extents within an allocation unit (256/8). An allocation page contains 32 extent structures for each extent within that allocation unit. Each extent structure is 16 bytes and contains the following information: 1. Object ID of object to which extent is allocated 2. Next extent ID in chain 3. Previous extent ID in chain 4. Allocation bitmap 5. Deallocation bitmap 6. Index ID (if any) to which the extent is allocated 7. StatusThe allocation bitmap for each extent structure indicates which pages within the allocated extent are in use by the table. The deallocation bit map is used to identify pages that have become empty during a transaction that has not yet been completed. The actual marking of the page as unused does not occur until the transaction is committed, to prevent another transaction from allocating the page before the transaction is complete. Data Pages A data page is the basic unit of storage within SQL Server. All the other types of pages within a database are essentially variations of the data page.All data pages contain a 32-byte header, as described earlier. With a 2KB page (2048 bytes) this leaves 2016 bytes for storing data within the data page. In SQL Server, data rows cannot cross page boundaries. The maximum size of a single row is 1962 bytes, including row overhead. Data pages are linked to one another by using the page pointers (prevpg, nextpg) contained in the page header. This page linkage enables SQL Server to locate all rows in a table by scanning all pages in the link. Data page linkage can be thought of as a two-way linked list.This enables SQL Server to easily link new pages into or unlink pages from the page linkage by adjusting the page pointers. In addition to the page header, each data page also contains data rows and a row offset table. The row-offset table grows backward from the end of the page and contains the location or each row on the data page. Each entry is 2 bytes wide. Data Rows Data is stored on data pages in data rows. The size of each data row is a factor of the sum of the size of the columns plus the row overhead. Each record in a data page is assi gned a row number. A single byte is used within each row to store the row number.Therefore, SQL Server has a maximum limit of 256 rows per page, because that is the largest value that can be stored in a single byte (2^8). For a data row containing all fixed-length columns, there are four bytes of overhead per row: 1. Byte to store the number of variable-length columns (in this case, 0) 1 byte to store the row number. 2. Bytes in the row offset table at the end of the page to store the location of the row on the page. If a data row contains variable-length columns, there is additional overhead per row. A data row is variable in size if any column is defined as varchar, varbinary, or allows null values.In addition to the 4 bytes of overhead described previously, the following bytes are required to store the actual row width and location of columns within the data row: 2 bytes to store the total row width 1 byte per variable-length column to store the starting location of the column wi thin the row 1 byte for the column offset table 1 additional byte for each 256-byte boundary passed Within each row containing variable-length columns, SQL Server builds a column offset table backward for the end of the row for each variable-length column in the table.Because only 1 byte is used for each column with a maximum offset of 255, an adjust byte must be created for each 256-byte boundary crossed as an additional offset. Variable-length columns are always stored after all fixed-length columns, regardless of the order of the columns in the table definition. Estimating Row and Table Sizes Knowing the size of a data row and the corresponding overhead per row helps you determine the number of rows that can be stored per page.The number of rows per page affects the system performance. A greater number of rows per page can help query performance by reducing the number of ages that need to be read to satisfy the query. Conversely, fewer rows per page help improve performance for c oncurrent transactions by reducing the chances of two or more users accessing rows on the same page that may be locked. Let's take a look at how you can estimate row and table sizes. Fixed-length fields with no null values.Sum of column widths overhead- The Row Offset Table The location of a row within a page is determined by using the row offset table at the end of the page. To find a specific row within the page, SQL Server looks in the row offset table for the starting byte address within the data page for that row ID. Note that SQL Server keeps all free space at the end of the data page, shifting rows up to fill in where a previous row was deleted and ensuring no space fragmentation within the page.If the offset table contains a zero value for a row ID that indicates that the row has been deleted. Index Structure All SQL Server indexes are B-Trees. There is a single root page at the top of the tree, branching out into N number of pages at each intermediate level until it reaches the bottom, or leaf level, of the index. The index tree is traversed by following pointers from the upper-level pages down through the lower-level pages. In addition, each index level is a separate page chain. There may be many intermediate levels in an index.The number of levels is dependent on the index key width, the type of index, and the number of rows and/or pages in the table. The number of levels is important in relation to index performance. Non-clustered Indexes A non-clustered index is analogous to an index in a textbook. The data is stored in one place, the index in another, with pointers to the storage location of the data. The items in the index are stored in the order of the index key values, but the information in the table is stored in a different order (which can be dictated by a clustered index).If no clustered index is created on the table, the rows are not guaranteed to be in any particular order. Similar to the way you use an index in a book, Microsoft ® SQL Serverâ„ ¢ 2000 searches for a data value by searching the non-clustered index to find the location of the data value in the table and then retrieves the data directly from that location. This makes non-clustered indexes the optimal choice for exact match queries because the index contains entries describing the exact location in the table of the data values being searched for in the queries.If the underlying table is sorted using a clustered index, the location is the clustering key value; otherwise, the location is the row ID (RID) comprised of the file number, page number, and slot number of the row. For example, to search for an employee ID (emp_id) in a table that has a non-clustered index on the emp_id column, SQL Server looks through the index to find an entry that lists the exact page and row in the table where the matching emp_id can be found, and then goes directly to that page and row. Clustered IndexesA clustered index determines the physical order of data in a table . A clustered index is analogous to a telephone directory, which arranges data by last name. Because the clustered index dictates the physical storage order of the data in the table, a table can contain only one clustered index. However, the index can comprise multiple columns (a composite index), like the way a telephone directory is organized by last name and first name. Clustered Indexes are very similar to Oracle's IOT's (Index-Organized Tables).A clustered index is particularly efficient on columns that are often searched for ranges of values. After the row with the first value is found using the clustered index, rows with subsequent indexed values are guaranteed to be physically adjacent. For example, if an application frequently executes a query to retrieve records between a range of dates, a clustered index can quickly locate the row containing the beginning date, and then retrieve all adjacent rows in the table until the last date is reached. This can help increase the perf ormance of this type of query.Also, if there is a column(s) that is used frequently to sort the data retrieved from a table, it can be advantageous to cluster (physically sort) the table on that column(s) to save the cost of a sort each time the column(s) is queried. Clustered indexes are also efficient for finding a specific row when the indexed value is unique. For example, the fastest way to find a particular employee using the unique employee ID column emp_id is to create a clustered index or PRIMARY KEY constraint on the emp_id column.Note  Ã‚  PRIMARY KEY constraints create clustered indexes automatically if no clustered index already exists on the table and a non-clustered index is not specified when you create the PRIMARY KEY constraint. Index Structures Indexes are created on columns in tables or views. The index provides a fast way to look up data based on the values within those columns. For example, if you create an index on the primary key and then search for a row of data based on one of the primary key values, SQL Server first finds that value in the index, and then uses the index to quickly locate the entire row of data.Without the index, a table scan would have to be performed in order to locate the row, which can have a significant effect on performance. You can create indexes on most columns in a table or a view. The exceptions are primarily those columns configured with large object (LOB) data types, such as  image,  text,  and  varchar(max). You can also create indexes on XML columns, but those indexes are slightly different from the basic index and are beyond the scope of this article. Instead, I'll focus on those indexes that are implemented most commonly in a SQL Server database.An index is made up of a set of pages (index nodes) that are organized in a B-tree structure. This structure is hierarchical in nature, with the root node at the top of the hierarchy and the leaf nodes at the bottom, as shown in Figure 1. Figure 1: B-t ree structure of a SQL Server index When a query is issued against an indexed column, the query engine starts at the root node and navigates down through the intermediate nodes, with each layer of the intermediate level more granular than the one above. The query engine continues down through the index nodes until it reaches the leaf node.For example, if you’re searching for the value 123 in an indexed column, the query engine would first look in the root level to determine which page to reference in the top intermediate level. In this example, the first page points the values 1-100, and the second page, the values 101-200, so the query engine would go to the second page on that level. The query engine would then determine that it must go to the third page at the next intermediate level. From there, the query engine would navigate to the leaf node for value 123.The leaf node will contain either the entire row of data or a pointer to that row, depending on whether the index is clustered or nonclustered. Clustered Indexes A clustered index stores the actual data rows at the leaf level of the index. Returning to the example above, that would mean that the entire row of data associated with the primary key value of 123 would be stored in that leaf node. An important characteristic of the clustered index is that the indexed values are sorted in either ascending or descending order.As a result, there can be only one clustered index on a table or view. In addition, data in a table is sorted only if a clustered index has been defined on a table. Note:  A table that has a clustered index is referred to as a  clustered table. A table that has no clustered index is referred to as a  heap. Nonclustered Indexes Unlike a clustered indexed, the leaf nodes of a nonclustered index contain only the values from the indexed columns and row locators that point to the actual data rows, rather than contain the data rows themselves.This means that the query engine must t ake an additional step in order to locate the actual data. A row locator’s structure depends on whether it points to a clustered table or to a heap. If referencing a clustered table, the row locator points to the clustered index, using the value from the clustered index to navigate to the correct data row. If referencing a heap, the row locator points to the actual data row. Nonclustered indexes cannot be sorted like clustered indexes; however, you can create more than one nonclustered index per table or view.SQL Server 2005 supports up to 249 nonclustered indexes, and SQL Server 2008 support up to 999. This certainly doesn’t mean you should create that many indexes. Indexes can both help and hinder performance, as I explain later in the article. In addition to being able to create multiple nonclustered indexes on a table or view, you can also add  included columns  to your index. This means that you can store at the leaf level not only the values from the indexed column, but also the values from non-indexed columns. This strategy allows you to get around some of the limitations on indexes.For example, you can include non-indexed columns in order to exceed the size limit of indexed columns (900 bytes in most cases). Index Types In addition to an index being clustered or nonclustered, it can be configured in other ways: * Composite index:  An index that contains more than one column. In both SQL Server 2005 and 2008, you can include up to 16 columns in an index, as long as the index doesn’t exceed the 900-byte limit. Both clustered and nonclustered indexes can be composite indexes. * Unique Index:  An index that ensures the uniqueness of each value in the indexed column.If the index is a composite, the uniqueness is enforced across the columns as a whole, not on the individual columns. For example, if you were to create an index on the FirstName and LastName columns in a table, the names together must be unique, but the individual n ames can be duplicated. A unique index is automatically created when you define a primary key or unique constraint: * Primary key:  When you define a primary key constraint on one or more columns, SQL Server automatically creates a unique, clustered index if a clustered index does not already exist on the table or view.However, you can override the default behavior and define a unique, nonclustered index on the primary key. * Unique:  When you define a unique constraint, SQL Server automatically creates a unique, nonclustered index. You can specify that a unique clustered index be created if a clustered index does not already exist on the table. * Covering index:  A type of index that includes all the columns that are needed to process a particular query. For example, your query might retrieve the FirstName and LastName columns from a table, based on a value in the ContactID column.You can create a covering index that includes all three columns. Teradata What is the Teradata R DBMS? The Teradata RDBMS is a complete relational database management system. With the Teradata RDBMS, you can access, store, and operate on data using Teradata Structured Query Language (Teradata SQL). It is broadly compatible with IBM and ANSI SQL. Users of the client system send requests to the Teradata RDBMS through the Teradata Director Program (TDP) using the Call-Level Interface (CLI) program (Version 2) or via Open Database Connectivity (ODBC) using the Teradata ODBC Driver.As data requirements grow increasingly complex, so does the need for a faster, simpler way to manage data warehouse. That combination of unmatched performance and efficient management is built into the foundation of the Teradata Database. The Teradata Database is continuously being enhanced with new features and functionality that automatically distribute data and balance mixed workloads even in the most complex environments.Teradata Database 14  currently offers low total cost of ownership in a simple, scalable, parallel and self-managing solution. This proven, high-performance decision support engine running on the  Teradata Purpose-Built Platform Family offers a full suite of data access and management tools, plus world-class services. The Teradata Database supports installations from fewer than 10 gigabytes to huge warehouses with hundreds of terabytes and thousands of customers. Features & BenefitsAutomatic Built-In Functionality  | Fast Query Performance  | â€Å"Parallel Everything† design and smart Teradata Optimizer enables fast query execution across platforms| | Quick Time to Value  | Simple set up steps with automatic â€Å"hands off† distribution of data, along with integrated load utilities result in rapid installations| | Simple to Manage  | DBAs never have to set parameters, manage table space, or reorganize data| | Responsive to Business Change  | Fully parallel MPP â€Å"shared nothing† architecture scales linearly across data, us ers, and applications providing consistent and predictable performance and growth| Easy Set & G0† Optimization Options  | Powerful, Embedded Analytics  | In-database data mining, virtual OLAP/cubes, geospatial and temporal analytics, custom and embedded services in an extensible open parallel framework drive efficient and differentiated business insight| | Advanced Workload Management  | Workload management options by user, application, time of day and CPU exceptions| | Intelligent Scan Elimination  | â€Å"Set and Go† options reduce full file scanning (Primary, Secondary, Multi-level Partitioned Primary, Aggregate Join Index, Sync Scan)| Physical Storage Structure of Teradata Teradata offers a true hybrid row and Column database.All database management systems constantly tinker with the internal structure of the files on disk. Each release brings an improvement or two that has been steadily improving analytic workload performance. However, few of the key player s in relational database management systems (RDBMS) have altered the fundamental structure of having all of the columns of the table stored consecutively on disk for each record. The innovations and practical use cases of â€Å"columnar databases† have come from the independent vendor world, where it has proven to be quite effective in the performance of an increasingly important class of analytic query.These columnar databases store data by columns instead of rows. This means that all values of a single column are stored consecutively on disk. The columns are tied together as â€Å"rows† only in a catalog reference. This gives a much finer grain of control to the RDBMS data manager. It can access only the columns required for the query as opposed to being forced to access all columns of the row. It’s optimal for queries that need a small percentage of the columns in the tables they are in but suboptimal when you need most of the columns due to the overhead in a ttaching all of the columns together to form the result sets.Teradata 14 Hybrid Columnar The unique innovation by Teradata, in Teradata 14, is to add columnar structure to a table, effectively mixing row structure, column structures and multi-column structures directly in the DBMS which already powers many of the largest data warehouses in the world. With intelligent exploitation of Teradata Columnar in Teradata 14, there is no longer the need to go outside the data warehouse DBMS for the power of performance that columnar provides, and it is no longer necessary to sacrifice robustness and support in the DBMS that holds the post-operational data.A major component of that robustness is parallelism, a feature that has obviously fueled much of Teradata’s leadership position in large-scale enterprise data warehousing over the years. Teradata’s parallelism, working with the columnar elements, are creating an entirely new paradigm in analytic computing – the pinpoint accuracy of I/O with column and row partition elimination. With columnar and parallelism, the I/O executes very precisely on data interesting to the query. This is finally a strong, and appropriate, architectural response to the I/O bottleneck issue that analytic queries have been living with for a decade.It also may be Teradata Database’s most significant enhancement in that time. The physical structure of each container can also be in row (extensive page metadata including a map to offsets) which is referred to as â€Å"row storage format,† or columnar (the row â€Å"number† is implied by the value’s relative position). Partition Elimination and Columnar The idea of data division to create smaller units of work as well as to make those units of work relevant to the query is nothing new to Teradata Database, and most DBMSs for that matter.While the concept is being applied now to the columns of a table, it has long been applied to its rows in the form of partitioning and parallelism. One of the hallmarks of Teradata’s unique approach is that all database functions (table scan, index scan, joins, sorts, insert, delete, update, load and all utilities) are done in parallel all of the time. There is no conditional parallelism. All units of parallelism participate in each database action. Teradata eliminates partitions from needing I/O by reading its metadata to understand the range of data placed into the partitions and eliminating those that are washed out by the predicates.See Figure There is no change to partition elimination in Teradata 14 except that the approach also works with columnar data, creating a combination row and column elimination possibility. In a partitioned, multi-container table, the unneeded containers will be virtually eliminated from consideration based on the selection and projection conditions of the query. See Figure Following the column elimination, unneeded partitions will be virtually eliminated fro m consideration based on the projection conditions.For the price of a few metadata reads to facilitate the eliminations, the I/O can now specifically retrieve a much focused set of data. The addition of columnar elimination reduces the expensive I/O operation, and hence the query execution time, by orders of magnitude for column-selective queries. The combination of row and column elimination is a unique characteristic of Teradata’s implementation of columnar. Compression in Teradata Columnar Storage costs, while decreasing on a per-capita basis over time, are still consuming increasing budget due to the massive increase in the volume of data to store.While the data is required to be under management, it is equally required that the data be compressed. In addition to saving on storage costs, compression also greatly aids the I/O problem, effectively offering up more relevant information in each I/O. Columnar storage provides a unique opportunity to take advantage of a series of compression routines that make more sense when dealing with well-defined data that has limited variance like a column (versus a row with high variability. ) Teradata Columnar utilizes several compression methods that take advantage of the olumnar orientation of the data. A few methods are highlighted below. Run-Length Encoding When there are repeating values (e. g. , many successive rows with the value of ‘12/25/11’ in the date container), these are easily compressed in columnar systems like Teradata Columnar, which uses â€Å"run length encoding† to simply indicate the range of rows for which the value applies. Dictionary Encoding Even when the values are not repeating successively, as in the date example, if they are repeating in the container, there is opportunity to do a dictionary representation of the data to further save space.Dictionary encoding is done in Teradata Columnar by storing compressed forms of the complete value. The dictionary representatio ns are fixed length which allows the data pages to remain void of internal maps to where records begin. The records begin at fixed offsets from the beginning of the container and no â€Å"value-level† metadata is required. This small fact saves calculations at run-time for page navigation, another benefit of columnar. For example, 1=Texas, 2=Georgia and 3=Florida could be in the dictionary, and when those are the column values, the 1, 2 and 3 are used in lieu of Texas, Georgia and Florida.If there are 1,000,000 customers with only 50 possible values for state, the entire vector could be stored with 1,000,000 bytes (one byte minimum per value). In addition to dictionary compression, including the â€Å"trimming†8 of character fields, traditional compression (with algorithm UTF8) is made available to Teradata Columnar data. Delta Compression Fields in a tight range of values can also benefit from only storing the offset (â€Å"delta†) from a set value. Teradata Co lumnar calculates an average for a container and can store only the offsets from that value in place of the field.Whereas the value itself might be an integer, the offsets can be small integers, which double the space utilization. Compression methods like this lose their effectiveness when a variety of field types, such as found in a typical row, need to be stored consecutively. The compression methods are applied automatically (if desired) to each container, and can vary across all the columns of a table or even from container to container within a column9 based on the characteristics of the data in the container.Multiple methods can be used with each column, which is a strong feature of Teradata Columnar. The compounding effect of the compression in columnar databases is a tremendous improvement over the standard compression that would be available for a strict row-based DBMS. Teradata Indexes Teradata provides several indexing options for optimizing the performance of your relati onal databases. i. Primary Indexes ii. Secondary Indexes iii. Join Indexes iv. Hash Indexes v. Reference Indexes Primary Index Primary index determines the distribution of table rows on the disks controlled by AMPs.In Teradata RDBMS, a primary index is required for row distribution and storage. When a new row is inserted, its hash code is derived by applying a hashing algorithm to the value in the column(s) of the primary code (as show in the following figure). Rows having the same primary index value are stored on the same AMP. Rules for defining primary indexes The primary indexes for a table should represent the data values most used by the SQL to access the data for the table. Careful selection of the primary index is one of the most important steps in creating a table.Defining primary indexes should follow the following rules: * A primary index should be defined to provide a nearly uniform distribution of rows among the AMPs, the more unique the index, the more even the distrib ution of rows and the better space utilization. * The index should be defined on as few columns as possible. * Primary index can be either Unique or non-unique. A unique index must have a unique value in the corresponding fields of every row;   a non-unique index permits the insertion of duplicate field values. The unique primary index is more efficient. Once created, the primary index cannot be dropped or modified, the index must be changed by recreating the table. If a primary index is not defined in the CREATE TABLE statement through an explicit declaration of a PRIMARY INDEX, the default is to use one of the following: * PRIMARY key * First UNIQUE constraint * First column The primary index values are stored in an integral part of the primary table. It should be based on the set selection most frequently used to access rows from a table and on the uniqueness of the value.Secondary Index In addition to a primary index, up to 32 unique and non-unique secondary indexes can be def ined for a table. Comparing to primary indexes, Secondary indexes allow access to information in a table by alternate, less frequently used paths. A secondary index is a subtable that is stored in all AMPs, but separately from the primary table. The subtables, which are built and maintained by the system, contain the following; * RowIDs of the subtable rows * Base table index column values * RowIDs of the base table rows (points)As shown in the following figure, the secondary index subtable on each AMP is associated with the base table by the rowID . Defining and creating secondary index Secondary index are optional. Unlike the primary index, a secondary index can be added or dropped without recreating the table. There can be one or more secondary indexes in the CREATE TABLE statement, or add them to an existing table using the CREATE INDEX statement or ALTER TABLE statement. DROP INDEX can be used to dropping a named or unnamed secondary index.Since secondary indexes require subtab les, these subtables require additional disk space and, therefore, may require additional I/Os for INSERTs, DELETEs, and UPDATEs. Generally, secondary index are defined on column values frequently used in WHERE constraints. Join Index A join index is an indexing structure containing columns from multiple tables, specifically the resulting columns form one or more tables. Rather than having to join individual tables each time the join operation is needed, the query can be resolved via a join index and, in most cases, dramatically improve performance.Effects of Join index Depending on the complexity of the joins, the Join Index helps improve the performance of certain types of work. The following need to be considered when manipulating join indexes: * Load Utilities  Ã‚  Ã‚   The join indexes are not supported by MultiLoad and FastLoad utilities, they must be dropped and   recreated after the table has been loaded. * Archive and Restore  Ã‚  Ã‚   Archive and Restore cannot be us ed on join index itself. During a restore of   a base table or database, the join index is marked as invalid.The join index must be dropped and recreated before it can be used again in the execution of queries. * Fallback Protection  Ã‚  Ã‚   Join index subtables cannot be Fallback-protected. * Permanent Journal Recovery  Ã‚  Ã‚   The join index is not automatically rebuilt during the recovery process. Instead, the join index is marked as invalid and the join index must be dropped and recreated before it can be used again in the execution of queries. * Triggers  Ã‚  Ã‚   A join index cannot be defined on a table with triggers. Collecting Statistics  Ã‚  Ã‚   In general, there is no benefit in collecting statistics on a join index for joining columns specified in the join index definition itself. Statistics related to these columns should be collected on the underlying base table rather than on the join index. Defining and creating secondary index Join indexes can be create d and dropped by using CREATE JOIN INDEX and DROP JOIN INDEX statements. Join indexes are automatically maintained by the system when updates (UPDATE, DELETE, and INSERT) are performed on the underlying base tables.Additional steps are included in the execution plan to regenerate the affected portion of the stored join result. Hash Indexes Hash indexes are used for the same purposes as single-table join indexes. The principal difference between hash and single-table join indexes are listed in the following table. Hash indexes create a full or partial replication of a base table with a primary index on a foreign key column table to facilitate joins of very large tables by hashing them to the same AMP. You can define a hash index on one table only.The functionality of hash indexes is a superset to that of single-table join indexes. Hash indexes are not indexes in the usual sense of the word. They are base tables that cannot be accessed directly by a query. The Optimizer includes a has h index in a query plan in the following situations. * The index covers all or part of a join query, thus eliminating the need to redistribute rows to make the join. In the case of partial query covers, the Optimizer uses certain implicitly defined elements in the hash index to join it with its underlying base table to pick up the base table columns necessary to complete the cover. A query requests that one or more columns be aggregated, thus eliminating the need to perform the aggregate computation For the most part, hash index storage is identical to standard base table storage except that hash indexes can be compressed. Hash index rows are hashed and partitioned on their primary index (which is always defined as non-unique). Hash index tables can be indexed explicitly, and their indexes are stored just like non-unique primary indexes for any other base table.Unlike join indexes, hash index definitions do not permit you to specify secondary indexes. The major difference in storage between hash indexes and standard base tables is the manner in which the repeated field values of a hash index are stored. Reference Indexes A reference index is an internal structure that the system creates whenever a referential integrity constraint is defined between tables using a PRIMARY KEY or UNIQUE constraint on the parent table in the relationship and a REFERENCES constraint on a foreign key in the child table.The index row contains a count of the number of references in the child, or foreign key, table to the PRIMARY KEY or UNIQUE constraint in the parent table. Apart from capacity planning issues, reference indexes have no user visibility. References for Teradata http://www. teradata. com/products-and-services/database/ http://teradata. uark. edu/research/wang/indexes. html http://www. teradata. com/products-and-services/database/teradata-13/ http://www. odbms. org/download/illuminate%20Comparison. pdf

Thursday, August 1, 2019

Central Secretariat

The Central Secretariat system in India is based on two principles: (1) The task of policy formulation needs to be separated from policy implementation. (2) Maintaining Cadre of Officers operating on the tenure system is a prerequisite to the working of the Secretariat system. The Central Secretariat is a policy making body of the government and is not, to undertake work of execution, unless necessitated by the lack of official agencies to perform certain tasks. The Central Secretariat normally performs the following functions: (1)  Assisting the minister in the discharge of his policy making and parliamentary functions. 2)  Framing legislation, rules and principles of procedure. (3)  Sect oral planning and programme formulation. (4)  (a) Budgeting and control of expenditure in respect of activities of the Ministry/department. (b)  Securing administrative and financial approval to operational programme and their subsequent modifications. (c)  Supervision and control over the execution of policies and programmes by the executive departments or semi-autonomous field agencies. (d)  Imitating steps to develop greater personnel and organizational competence both in the ministry/department and its executive agencies. e)  Assisting in increasing coordination at the Central level. | Structure of Central Secretariat Structure of Central Secretariat is such that the entire system is divided into a number of secretaries, deputy secretaries, joint secretaries and so on. The division of posts is hierarchical in nature. | | | | | | | | The Central Secretariat is a collection of various ministries and departments. But the Cabinet Secretariat, which is in reality a ministry comprising more than one department, is still known as the secretariat. A ministry is the charge allotted to ministers.This may include one or more departments depending upon administrative convenience, each under the charge of a secretary. A department on the other hand is an organizational unit consisting of a secretary to government together with a part of the central secretariat under his administrative control on which the responsibility of performing specific functions has been conferred. Thus technically, a department should be identified with a secretary`s charge and a ministry with a minister`s charge. However, this distinction is not always maintained.Thus, if a ministry has more than one department within itself, it may have more than one secretary in which case there will arise the need for making one secretary superior to other secretaries who will represent the ministry. A ministry is responsible for the formation of the government policy within its sphere of responsibility as well as for the execution of that policy. Thus in terms of internal organisation, a ministry is divided into the following segments within an officer in charge of each of them to expedite matters:Department- Secretary/Additional/Special Secretary Wing- Joint/Additional Secretary. Di vision- Under Secretary. Section- Section Officer The lowest of such units is the section in charge of a Section Officer and consists of a number of assistants, clerks, â€Å"Daftaries,† typists and peons. It deals with the work relating to the subject allotted to it. It is also referred to as the Office. Two sections constitute the branch which is under the charge of an under secretary, also known as the Branch Officer.Two branches ordinarily form a division which is normally headed by a deputy secretary. When the volume of work in a ministry exceeds the manageable charge of a secretary, one or more wings are established with a joint secretary in charge of each wing. At the top of the hierarchy comes the department which is headed by the secretary himself or in some cases by an additional/ special secretary. In some cases, a department may be as autonomous as a ministry and equivalent to it in rank. | | | FUNCTIONS