Need For Speed Series Archives
Need For Speed Series Archives
Tag Archives: Need for Speed movie
Team Speedhunters
Commercial Director: Ben Chandler
Creative Director: Mark Riccioni
Contributing Editor: Dino Dalle Carbonare
Technical Editor: Ryan Stewart
Concept Artist: Khyzyl Saleem
Contributors: Will Beaumont, Keiron Berndt, Jordan Butters, Ron Celestine, Mario Christou, Cian Donnellan, Matthew Everingham, Blake Jones, Stefan Kotze, Vladimir Ljadov, Paddy McGrath, Sara Ryan, Trevor Yale Ryan, Dave Thomas, Simon Woolley, Naveed Yousufzai
IAB Webinars – Archive
November 15, 2018 | CCPA Demystified: California’s Privacy Legislation Explained The 2018 California Consumer Privacy Act (CCPA) will have a profound impact on the digital advertising ecosystem. This webinar will help you and your business prepare for when the law takes effect and hear insights from subject matter experts. Go to Webinar Recording |
November 13, 2018 | IAB 2018 Half Year Revenue Report Webinar IAB and PWC give an overview of the latest ad revenue numbers from the 2018 Half Year IAB Internet Advertising Revenue Report. The results of this report are considered the most accurate measurement of Internet/online advertising revenues since the data is compiled directly from information supplied by companies selling advertising online. Go to Webinar Recording |
November 8, 2018 | IAB Make Mobile Work Webinar: The Power of In-App Advertising Apps take up more than 50% of our digital time spent, according to comScore’s mobile app report published in September 2017. Brands know that they should be doing something in mobile apps. However, the details of how to make it work are not clear. Join industry leaders to learn the steps to make mobile apps work for you and complete the user experience you would like to create for your customers. Go to Webinar Recording |
September 12, 2018 | IAB Make Mobile Work Webinar: Dynamic Mobile Creative Case Studies Dynamic creatives, customized in real-time based on data, offer personalized experiences that have fueled the success of many direct-to-consumer brands. The ideal is a perfect marriage of Silicon Valley and Madison Avenue, though the actual implementation is easier said than done. In this webinar, you will see case studies of how other brands have done it successfully, in particular on mobile platforms. We’ll guide you to overcome organizational chasms and technological difficulties and inspire you to activate your creative juice. Go to Webinar Recording |
July 26, 2018 | IAB & ViralGains Present: Don’t Chase Eyeballs, Capture Hearts – The Journey to Better Video Advertising Todd Loofbourrow, CEO of ViralGains; Georgina Goode, Director of Digital at Boeing; and Nina Munoz, Director of the Video Center of Excellence at the IAB discuss video advertising strategies that will help marketers cut through the noise, get in front of the right audiences, and drive high-impact results at every stage of the funnel. Go to Webinar Recording |
June 27, 2018 | Beyond the Device: Tranforming Data Into Human Connections With the shift from device-focused marketing to personalized audience engagement, how do we find the people who matter across all the devices they use? During this webinar, IgnitionOne and StartApp will share insights from a variety of verticals on how brands are using their data to map out consumer paths-to-purchase. The conversation will address how activity on various devices is considered, as well as how brands combine their own data with other data sources to scale their audiences and magnify their reach. Compelling storytelling, unique behaviors and a richer understanding of the consumer path-to-purchase help marketers make lasting connections with their audiences and it starts with data. Go to Webinar Recording |
May 14, 2018 | Open Measurement SDK: Show and Tell Webinars IAB Tech Lab recently released the Open Measurement (OM) Software Development Kit (SDK) for general availability. In these webinars, we will provide in depth information about the Open Measurement SDK- how it works, how to integrate in your app or Ad SDK and how to enable different types of ads. Go to Webinar Recording |
December 14, 2017 | IAB Webinar: What Does AI Mean For Day-to-Day Marketing? We get it – Artificial Intelligence is the “new shiny object,” but what are some practical applications of AI that can lead to a competitive advantage in your Marketing? Join industry leaders from Time Inc., AdTheorent and Xaxis to learn:
Go to Webinar Recording |
October 31, 2017 | Troubleshooting Video Ads: Debugging Broken Creatives Using VAST Error Codes If you have been involved with Video Advertising, you already know that there are a number of challenges in delivering video ads successfully. In this webinar, our speakers will go over a number of issues they have faced in the past, and will provide a deeper understanding of the VAST error codes as well as other video creative issues. We will also release a useful resource detailing common root causes for various VAST error codes that should help you debug video ad delivery issues. Go to Webinar Recording |
October 26, 2017 | How to Monetize Mobile and What Works Consumer time spent is higher on mobile than desktop, however it hasn’t completely translated to advertising dollars for publishers on mobile. Have you heard enough of the challenges in monetizing mobile content and wondered what is currently working for publishers? Join us and hear from industry leaders about how to monetize your mobile inventory through
Go to Webinar Recording |
September 20, 2017 | How Marketers Can Capitalize on Attention on Mobile Apps More than half digital media time spent is on apps, according to comScore 2017 U.S. Mobile App Report. However, apps are often stigmatized as the arena for social-centric performance-marketing only. While social apps are popular, mobile apps across categories like news, entertainment, sports, and gaming have become universal and they reach valuable users across demographics and psychographics, offering brands engaged audiences.Go to Webinar Recording |
July 13, 2017 | How to Use Data to Understand the Country – and Transform Your Strategy For most digital publishers, there are two uses for data today: machine learning to optimize your tactics and human learning to drive your strategy. In this webinar, Dr. Jon Roberts, Chief Innovation Officer, Dotdash, will discuss how publishers should listen to the internet everyday in order to transform their overall strategy. Go to Webinar Recording |
May 22, 2017 | VAST4 and Server Side Ad Insertion – Technology and Best Practices Webinar On this Webinar hosted by the IAB Tech Lab, domain experts from Google/DoubleClick and Ad-ID will discuss the standards, technology and best practices around using SSAI and VAST4.Go to Webinar Recording |
April 18, 2017 | The Value of the Advertising-Supported Internet Ecosystem The Interactive Advertising Bureau recently released the third iteration of the Economic Value of Advertising-Supported Internet Ecosystem study. The study aims to quantify the contribution of the industry to employment and GDP at the national, state, and congressional district levels.Go to Webinar Recording |
March 29, 2017 | Key Marketing Strategies: Digital Audio’s Value Proposition Innovation in connected cars, smartphones, wearables, and home appliances means that today’s consumer is constantly online. In this overcrowded connected media environment, consumers are bombarded with impressions, leaving advertisers searching for opportunities to penetrate the clutter. Digital Audio’s unique ability to overcome these challenges makes it an important tool for today’s marketers.Go to Webinar Recording |
March 23, 2017 | IAB Cross Media Ad Effectiveness Study Webinar IAB and Research Now walk through the findings of the IAB’s Cross Media Ad Effectiveness Research.Go to Webinar RecordingDownload the presentation |
December 14, 2016 | Monetizing OTT – What’s Holding Us Back? Publishers are launching an increasing amount of premium content on OTT platforms. With the movement of audiences to this channel the expectation is that ad dollars should follow. But in reality publishers are leaving money on the table. In this webinar, Ooyala and TubeMogul discuss how in the new world of OTT, viewing is rising but monetization isn’t keeping pace. Learn what is holding monetization back, who is responsible for enabling these opportunities, the challenges publishers face, and how they can take charge of existing disparities to maximize their OTT futures.Go to Webinar Recording |
November 10, 2016 | Driving Data Conversations Forward: Introducing the IAB Data Maturity Model The IAB and the IAB Data Center of Excellence recently developed the IAB Data Maturity Model. This new benchmarking system enables brands, agencies, publishers, and data technology vendors to determine where they or their clients and prospects rank in data usage sophistication, guiding further investment, implementation, and strategy. This webinar will explore how this framework can help publishers, agencies, brands and data providers to partner more effectively and drive data conversations. Go to Webinar Recording |
November 1, 2016 | IAB Internet Advertising Revenue Half Year 2016 Report Digital Ad Revenues Grow 19% Year-Over-Year in First Half of 2016, Hitting Landmark High of $32.7 Billion. Go to Webinar Recording |
October 27, 2016 | The Data Centric Organization Transforming for the Next Generation of Audience Marketing In recent decades, advertising and marketing have undergone a number of transformative shifts. Underlying the change has been a common theme: the growing role of data. But while data has proliferated in volume and availability, the organizations that aim to use it haven’t evolved at the same pace. Many enterprises remain saddled with legacy technology, operating processes and talent constraints that keep them from realizing the potential of the information at their disposal.With this in mind, DMA and IAB’s Data Center of Excellence teamed up with Winterberry Group to explore the challenges and opportunities data users are encountering in their efforts to become “data-centric” across all facets of their interactions. In this webinar, we’ll review the results of Winterberry Group’s research, highlighting:• The role that people, technology platforms, supply chain partners and business processes play in supporting a “data-centric” business transformation • Challenges and pitfalls that marketers, publishers and others encounter in their efforts to leverage data across their businesses, and • A framework for marketing and advertising practitioners to adopt as they attempt to make data more integral to their organization’s work.*This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations Recertification Go to Webinar Recording |
October 26, 2016 | The IAB New Ad Portfolio: What, Why, & When In this Webinar, you will learn more about the IAB New Standard Ad Unit Portfolio that will be released in 2017 – currently in public comment until November 28, 2016.IAB released a complete overhaul of the IAB Standard Ad Unit Portfolio for public comment, updating its digital ad formats to adapt across screens, and to incorporate the LEAN Principles of Lightweight, Encrypted, AdChoice supported and Non-invasive advertising. Developed by the IAB Tech Lab, the revised portfolio is based on HTML5 technology and comprised of flexible display ads, mobile ads, video ads, native ads, also introducing guidelines for new content experiences such as virtual reality and social messaging ads.Visit iab.com/newadportfolio for further information and to view examples Go to Webinar RecordingQ&A Session Post Webinar |
October 18, 2016 | IAB Make Mobile Work Webinar Series: Mobile App Engagement You worked really hard to get your app in the app store and make users aware of it and install it. However, there is a big gap between downloads and active users. Also you would like your active users to engage with the app more often. How to draw your users back to the app and increase their time spent within your app through engagement ad campaigns? This webinar offers practical, tactical advice on ad campaigns for engaging your mobile app users. We’ll help you understand how to find the most qualified audience, pique their interest, and measure success. *This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations Recertification Go to Webinar Recording |
August 30, 2016 | 4 Ways Publishers Can Use Location to Enhance Ad/Content Products Location-enabled inventory usually drives an increase between 20%-30% in eCPMs for publishers, according to an IAB survey in late 2015. Location-targeted mobile ad spend is expected to grow from $8.4 billion in 2015 to $11.3 billion in 2016. It is an area of tremendous potential for publishers. *This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations Recertification Go to Webinar Recording |
August 4, 2016 | IAB Make Mobile Work Webinar Series: Make Mobile Advertising Welcome In today’s mobile advertising world, marketers must be continually mindful of how consumers experience their ad creatives. This webinar addresses how to develop ads that deserve to be called “creatives” and that consumers will not only tolerate but actually welcome. Join Karin Hennessy, Product Manager at Google, as she discusses the following key issues along with Celtra and Padsquad. *This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations Recertification Go to Webinar Recording |
August 3, 2016 | The Need for Speed: Four Main Elements that Impact Page Load for Publishers In an age where users expect content to be readily available and easily accessible, it is increasingly challenging for publishers to provide a seamless user experience. In addition to delivering that experience, publishers rely on digital advertising to generate revenue for their business. Both are increasingly linked to speed.So why is speed top of mind now? The recent rise of container solutions, header bidding and the shift to mobile have created competition for the same resources in the user’s browser or app that are required to quickly load a page, making it critical for the entire online advertising ecosystem to solve for speed and minimize latency. IAB and OpenX explore the four main elements that impact page load and how publishers can optimize for speed. *This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations Recertification Go to Webinar Recording |
August 2, 2016 | HTML5 Platform Showcase As more and more networks and platforms transition to HTML5, operational efficiency for building and delivering is a priority for the industry. This event focuses on how HTML5 creative platforms can help overcome challenges and take advantage of opportunities HTML5 offers to build better digital ads. Go to Webinar Recording |
June 28, 2016 | Mobile Engagement Currencies You Can Trust: How to Create and Cultivate Sustainable Brand Engagements As investment into mobile advertising accelerate, ad fraud and ad blocking concerns are also on the rise. Will this booming industry be sustainable without advertiser confidence and user acceptance? What does it mean to put the user-first in mobile campaigns? How can advertisers define and trade with the right metrics to achieve mobile campaign success?This webinar explores how to qualify and measure mobile engagements to create and cultivate sustainable brand engagement.Presenters: Fred Joseph, US CEO and Global COO, S4M Tom Cijffers, Chief Client Officer, MediaCom USA Joe Laszlo, VP Industry Initiatives, IAB *This webinar qualifies for 1.0 CE credits toward IAB Digital Media Sales and IAB Digital Ad Operations RecertificationGo to Webinar Recording |
June 23, 2016 | The Role of Digital Data for the Modern Marketer Patrick Dolan of Interactive Advertising Bureau speaks with Frannie Danzinger of 6sense, Jason Downie of Lotame, and Stacia O’Connor of eXelate/Nielsen about where digital data is today and where it is heading in an omni-channel world. Video Recording |
June 15, 2016 | TV 2020: Clear Vision of the Future of TV Advertising From apps to OTT to mobile devices, new advances in technology and content delivery have blurred the delineation between TV and digital video. TV is beginning to embrace and gain access to what has traditionally made digital so powerful – the application of precise data segmenting and measurement. TV buyers can now apply massive data sets to their strategy, understanding much more about a consumer than the traditional “age and gender” demographics. This webinar demystifies the elusive Programmatic TV landscape while offering modern strategies for planning holistic TV and digital video advertising campaigns. Speakers discussed the declining silos of ad delivery, measurement and optimization as well as the ROI benefit of leveraging cross-platform marketing initiatives.Go to Webinar Recording |
June 9, 2016 | IAB Make Mobile Work Webinar Series: Build Creatives that Work Across Devices To effectively engage the “liquid consumer” as they move from screen to screen throughout the customer journey, marketers need to understand how to build unified, high-quality creative that captures attention while delivering the best user experience regardless of which device the consumer is using. The good news is, with HTML5, the promise of developing and delivering rich cross-screen experiences with full interactivity and motion graphics (without compatibility issues), is now a reality. Key questions remain however, including how to break through operational silos to integrate scalable designs that are both impactful and respectful of the consumer experience. AvatarLabs, Campbell Soup Company, and Kargo discussed how new approaches and tools for cross-screen creative are inspiring a shift in creativity, execution and performance. This webinar covers:
Go to Webinar Recording |
June 8, 2016 | 3MS Progress: Transitioning from Improving Advertising Delivery to Understanding Advertising’s Value This webinar covers a summary of the study which focused on impact of viewability on ad recall as well as impact of time in view for a variety of ad formats and scenarios. As well as 3MS Progress: Transitioning from Improving Advertising Delivery to Understanding Advertising’s Value. Plus, updates on:
Additionally, the MRC provides an update on the Mobile Viewable Impression guidelines, which are close to completion, and implementation of the Invalid Traffic guidelines (the vendor implementation grace-period recently expired). This will be the first time the projects related to engagement, ad-effectiveness and ad-value will be reviewed, with MRC plans identified. Go to Webinar Recording |
May 25, 2016 | Content Marketing Campaign Metrics: Moving Beyond the Click The definition of campaign success is shifting from tracking clicks to ensuring a more meaningful exchange between a brand and their audience. Andrew Stark, SVP of Content Solutions at Pulsepoint and a cadre of experts from MOAT Analytics, AKQA, and TaylorMade-adidas Golf Company explored metrics that matter, including time spent on a page, scroll depth, scroll velocity, and social actions taken once the user arrives on the page. Go to Webinar Recording |
March 22, 2016 | IAB International Webinar: Digital Video Learn about the genesis of the IAB Digital Video Center of Excellence, its key initiatives, the video technical group’s updates, and the growth of the IAB NewFronts. Leaders from IAB Russia, IAB UK, and IAB Europe shared their key projects around digital video and discussed recent and upcoming IAB video research. Go to Webinar Recording |
March 22, 2016 | 3MS Educational Forum Participants in this session were the first to see, hear, learn, and discuss the Primer for Publishers on Improving Ad Viewability. Developed and written by IAB member leaders, the primer distills hours of collective wisdom on how to ensure accurate measurement, site design, good UX and get better viewability. Go to Webinar Recording |
February 12, 2016 | What’s New in the IAB Digital Video In-Stream Ad Format Guidelines The IAB Tech Lab published the Digital Video In-Stream Ad Format Guidelines in January 2016 – the first major update to the document since 2008. These guidelines provide guidance on minimum submission recommendations for ads used in digital video streams, and feature elements of interest to video content publishers, video ad developers, creative agencies, production studios, and video ad technology and ad-serving partners. They also accommodate high-quality video needs for cross-screen linear advertising in mobile, desktop, and TV online. In this webinar, project contributor Ryan Vega, Lead Digital Video Publisher at Hulu, and leads from the IAB Tech Lab, discussed ways that video companies can utilize the new guidelines and how this document complements the recently-released VAST 4.0. View Presentation Slides |
February 5, 2016 | Understanding and Adopting VAST 4.0 The IAB Tech Lab published the Digital Video Ad Serving Template (VAST) 4.0 in January 2016 – a document with significant updates that help publishers monetize long-form video content through improved delivery and measurement of digital video advertising.This webinar, hosted by the IAB Tech Lab and members of the Digital Video (DV) Technical Standards Working Group (including contributors Mike McLeod from PGA TOUR and Saar Paamoni from DoubleVerify), reviewed the the revised specifications, including what went into developing VAST 4.0, the challenges it solves, and ways companies in the online video ecosystem can adopt 4.0. The recording of the webinar includes all discussions and Q&A. Go to Webinar Recording |
December 2, 2015 | IAB Make Mobile Work Webinar: Promoting Mobile Apps Building an app can be a great way to create a deeper relationship with customers, or gain a new audience. But once you build an app, how do you make sure people who should know about it can find it? This webinar offered practical, tactical advice on ad campaigns for promoting mobile apps that will help you understand how to find the most qualified audience, pique their interest, and measure success. Go to Webinar Recording |
December 1, 2015 | IAB/EY Webinar: What is an Untrustworthy Supply Chain Costing the Digital Ad Industry? IAB and EY held a webinar to share the findings from the first independent assessment of the costs associated with digital advertising supply chain issues such as invalid traffic, infringed content, and malvertising.The report, “What is an Untrustworthy Supply Chain Costing the Digital Advertising Industry?,” identifies areas of corruption in the digital advertising supply chain and estimates their costs to the U.S. ecosystem. It provides an in-depth view of where the ecosystem must go to solve supply chain issues, and for the first time, comprehensively estimates the costs to the U.S. digital advertising ecosystem. The study also provides benchmarks against which to assess future progress in securing a trustworthy supply chain. Go to Webinar Recording |
November 19, 2015 | New IAB and Winterberry Group webinar: “Data as Competitive Advantage” In this webinar, Patrick Dolan, Executive Vice President and COO, IAB, and Jonathan Margulies, Managing Director, Winterberry Group, presented the IAB and Winterberry Group’s latest white paper, “Data as Competitive Advantage.” The research explores how practitioners are leveraging data to fuel marketing, advertising and media efforts today, how that data’s contribution is evaluated and what resources will be needed to fuel more valuable data-driven efforts moving forward. Go to Webinar Recording |
October 21, 2015 | Half Year 2015 IAB Internet Advertising Revenue Report Webinar IAB and PWC gave an overview of the latest digital and mobile ad revenue numbers from the Half Year 2015 IAB Internet Advertising Revenue Report. The results of this report were considered the most accurate measurement of Internet/online advertising revenues since the data is compiled directly from information supplied by companies selling advertising online. This survey conducted independently by PricewaterhouseCoopers and is released in full twice a year. Go to Webinar Recording |
October 14, 2015 | IAB Make Mobile Work Webinar: Cross-Device Measurement This webinar gave a sense of the state of the science and art of cross-device measurement. How can you know who is seeing your advertising or content, and how they traverse different screens and devices? This provided practical examples and share learning that will help you navigate better in the omni-screen world. Go to Webinar Recording |
September 1, 2015 | Essentials to Successful HTML5 Transition The audience capable of viewing Flash content continues to diminish. Mobile devices unable to play Flash content, combined with changes to the major desktop browsers are rapidly accelerating this downward trend. HTML5 is the logical migration path for ad creative. However, HTML5 for digital advertising has many fundamental differences from Flash development. Many elements play a role in the HTML5 development workflow, ranging from tools to video formats, to browser differences, code libraries, testing, and more.The below panel of experts from Yahoo and PointRoll addressed the most pressing questions about how to manage the transition to HTML5. • Shailley Singh, IAB • Dan Mouradian, Cofactor • Rob Hall, Cofactor • Yael Avidan, Yahoo • Danny Roosevelt, Brightroll The webinar focused on key considerations around: 1. Optimizing HTML5 Ads 2. Animations and Video 3. Tracking implementation download presentation |
August 11, 2015 | Field Guide for Validating Premium Ad Inventory, filtering out Non-Human Traffic Many of the current technologies used to detect fraud are great at detecting the amount of fraud (e.g., post-bid analysis). However, we need more technologies and techniques that focus on how to stop fraud before it happens. Having continuous, real-time data is important for this; but equally important are the policies and disclosures of the publishers and ad networks themselves. Ask our panel of experts your most challenging questions regarding digital ad fraud. Key takeaways include: • The State of Digital Ad Fraud — Terminology, landscape and trends • The advertiser and publisher perspective — Top issues and concerns • Tools of the trade and best practices — The different technologies and approaches to detecting and mitigating digital ad fraud • Anatomy of a successful premium ad inventory program — Whitepages’ guiding principles, policies and procedures download presentation |
July 13, 2015 | TAG: The latest on the Trustworthy Accountability Group Without trust between marketers, publishers, consumers, and the multitude of parties in between, the growth of our industry—and by extension all of the monumental innovations our industry supports—is indefinitely debilitated. We need an industry-wide behavior change at an unprecedented scale. |
July 8, 2015 | 3MS Educational Forum Part of a series of 3MS educational forums where publishers can learn and ask questions about challenges and solutions for implementing viewable impression currency measurement and reporting. The overall intent of 3MS is to revolutionize the way digital media is measured, planned, and transacted across the advertising industry in order to make it a more valuable medium for everyone involved in brand advertising. View the July 8 deck (PDF)*Qualifies for 1 CE Credit toward Digital Media Sales Recertification and Digital Ad Operations Recertification. |
June 30, 2015 | Ad & Traffic Quality: Fraud Prevention in a Premium Programmatic Marketplace In order to maintain a premium, programmatic marketplace, proven ad quality and traffic quality standards must be agreed to in advance and adhered to by both buyers and publishers. In order to better grasp this intersection of ad quality and traffic quality, John Murphy, VP of Marketplace Quality at OpenX, along with Vin Palozzi from IPG Media Brands representing a buyer, and Jeremy Hlvacek from the Weather Channel representing a publisher, will discuss concerns about quality, as well as how creative categorization, exchange scanners and viewability all play a role in building a premium programmatic exchange. |
June 12, 2015 | Digital Data Solutions Certification Info Session Webinar Join us for a discussion about the IAB Digital Data Solutions Certification program. Get all of the answers to your questions regarding the exam, including eligibility, the exam blue print, preparation, testing windows, requirements for maintaining certification, and the incredible impact the certification program has had on the industry since its inception. Interactive Q&A to follow. This is the only official credential in digital advertising that demonstrates individuals have the knowledge needed to manage complex data programs for their clients and across their own company. Webinar Attendees included: Digital Media, Data and Analytics professionals considering taking the exam Managers considering certifying their team HR and Training professionals who are looking for new professional development opportunities. |
June 11, 2015 | Digital Media Sales Certification Info Session Get all of the answers to your questions regarding the IAB Digital Media Sales Certification exam, including eligibility, the exam blue print, resources for preparation, testing windows, requirements for maintaining certification, and the incredible impact the certification program has had on the industry since its inception. |
June 4, 2015 | IAB Mobile Webinar: The State of MRAID The IAB MRAID standard has reshaped the landscape for mobile rich media advertising, making it much easier for creative shops to build mobile rich media ads that can run across a variety of rich media vendors, apps, and platforms. This session reviews:
Nathan Carver, VP, Engineering, Crisp Media |
June 2, 2015 | IAB Ad Operations Certification Informational Webinar Get all of the answers to your questions regarding the exam, including eligibility, the exam blue print, resources for preparation, testing windows, requirements for maintaining certification, and the incredible impact the certification program has had on the industry since its inception. Interactive Q&A to follow. Attendees to this session included Digital Ad Operations professionals considering taking the exam as well as Ad Operations Managers, Executives and Human Resources considering certifying their team. |
April 23, 2015 | IAB International Webinar: Viewability This webinar led by Sherrill Mane, Senior Vice President, Research, Analytics and Measurement who will share an update on 3MS and Viewability in the US and Steve Chester, Director of Data & Industry Programmes, who will review where Viewability stands in UK and in Europe |
April 16, 2015 | Digital Media Sales Certification Info Session Get all of the answers to your questions regarding the exam, including eligibility, the exam blue print, resources for preparation, testing windows, requirements for maintaining certification, and the incredible impact the certification program has had on the industry since its inception. |
April 15, 2015 | IAB Webinar: Marketing ROI and Location Data Case Studies How does location enable you to understand the impact of your digital advertising campaigns and marketing efforts? What mobile capabilities exist to analyze actions taken based on media exposure across platforms? The IAB recently released a primer titled Marketing ROI and Location Data, which helps marketers understand how location data is increasingly being used to measure campaign effectiveness. This webinar will feature an overview of the IAB primer and four case studies illustrating specific applications of location data that will illuminate this topic for newbies and experts alike. |
March 24, 2015 | 3MS Educational Forum Part of a series of 3MS educational forums where publishers can learn and ask questions about challenges and solutions for implementing viewable impression currency measurement and reporting. The overall intent of 3MS is to revolutionize the way digital media is measured, planned, and transacted across the advertising industry in order to make it a more valuable medium for everyone involved in brand advertising. View the March 24 Deck (PDF)*Qualifies for 1 CE Credit toward Digital Media Sales Recertification and Digital Ad Operations Recertification. |
March 17, 2015 | Next Generation Retargeting: Cross-Device Retargeting (also referred to as remarketing) has long been one of the most successful digital strategies for marketers. In today’s multiscreen environment the ability to retarget audiences across screens and devices is a must for any marketer. Join us as we discuss the current cross-screen landscape and hear from successful innovators in the cross-device retargeting space as they take us through methodology, best practices and case studies for this high-performance tactic. Presentations will be followed by a Q&A. Be sure to sign up now as this session will fill up quickly! *Qualifies for 1 CE Credit toward Digital Media Sales Recertification and Digital Ad Operations Recertification. |
February 19, 2015 | 3MS Educational Forum Part of a series of 3MS educational forums where publishers can learn and ask questions about challenges and solutions for implementing viewable impression currency measurement and reporting. The overall intent of 3MS is to revolutionize the way digital media is measured, planned, and transacted across the advertising industry in order to make it a more valuable medium for everyone involved in brand advertising. *Qualifies for 1 CE Credit toward Digital Media Sales Recertification and Digital Ad Operations Recertification. |
January 15, 2015 | Digital Media Sales Certification Info Session Get all of the answers to your questions regarding the exam, including eligibility, the exam blue print, resources for preparation, testing windows, requirements for maintaining certification, and the incredible impact the certification program has had on the industry since its inception. |
December 16, 2014 | State of Viewability Transaction 2015 In 2011, the Association of National Advertisers (ANA), the American Association of Advertising Agencies (4A’s) and the Interactive Advertising Bureau (IAB) came together to fix digital measurement, by all accounts the single greatest obstacle to marketer, publisher and agency growth. After $6 million of collective investment by the three associations in Making Measurement Make Sense (3MS), we are on the verge of accomplishing something never before achieved in media: a wholesale change in media currency with the aim of improving results for all parties in a transaction. *Qualifies for 1 CE Credit toward Digital Media Sales Recertification and Digital Ad Operations Recertification. |
November 4, 2014 | IAB Make Mobile Work Webinar Series #4: Measuring Mobile Success for Agencies and Brands. Hear all about the current state of mobile measurement and best practices for setting campaigns up for mobile measurement success including hands-on examples. download presentation |
October 30, 2014 |
24.3. Continuous Archiving and Point-in-Time Recovery (PITR)
At all times, PostgreSQL maintains a write ahead log (WAL) in the subdirectory of the cluster's data directory. The log records every change made to the database's data files. This log exists primarily for crash-safety purposes: if the system crashes, the database can be restored to consistency by "replaying" the log entries made since the last checkpoint. However, the existence of the log makes it possible to use a third strategy for backing up databases: we can combine a file-system-level backup with backup of the WAL files. If recovery is needed, we restore the file system backup and then replay from the backed-up WAL files to bring the system to a current state. This approach is more complex to administer than either of the previous approaches, but it has some significant benefits:
We do not need a perfectly consistent file system backup as the starting point. Any internal inconsistency in the backup will be corrected by log replay (this is not significantly different from what happens during crash recovery). So we do not need a file system snapshot capability, just tar or a similar archiving tool.
Since we can combine an indefinitely long sequence of WAL files for replay, continuous backup can be achieved simply by continuing to archive the WAL files. This is particularly valuable for large databases, where it might not be convenient to take a full backup frequently.
It is not necessary to replay the WAL entries all the way to the end. We could stop the replay at any point and have a consistent snapshot of the database as it was at that time. Thus, this technique supports point-in-time recovery: it is possible to restore the database to its state at any time since your base backup was taken.
If we continuously feed the series of WAL files to another machine that has been loaded with the same base backup file, we have a warm standby system: at any point we can bring up the second machine and it will have a nearly-current copy of the database.
Note:pg_dump and pg_dumpall do not produce file-system-level backups and cannot be used as part of a continuous-archiving solution. Such dumps are logical and do not contain enough information to be used by WAL replay.
As with the plain file-system-backup technique, this method can only support restoration of an entire database cluster, not a subset. Also, it requires a lot of archival storage: the base backup might be bulky, and a busy system will generate many megabytes of WAL traffic that have to be archived. Still, it is the preferred backup technique in many situations where high reliability is needed.
To recover successfully using continuous archiving (also called "online backup" by many database vendors), you need a continuous sequence of archived WAL files that extends back at least as far as the start time of your backup. So to get started, you should set up and test your procedure for archiving WAL files before you take your first base backup. Accordingly, we first discuss the mechanics of archiving WAL files.
24.3.1. Setting Up WAL Archiving
In an abstract sense, a running PostgreSQL system produces an indefinitely long sequence of WAL records. The system physically divides this sequence into WAL segment files, which are normally 16MB apiece (although the segment size can be altered when building PostgreSQL). The segment files are given numeric names that reflect their position in the abstract WAL sequence. When not using WAL archiving, the system normally creates just a few segment files and then "recycles" them by renaming no-longer-needed segment files to higher segment numbers. It's assumed that segment files whose contents precede the checkpoint-before-last are no longer of interest and can be recycled.
When archiving WAL data, we need to capture the contents of each segment file once it is filled, and save that data somewhere before the segment file is recycled for reuse. Depending on the application and the available hardware, there could be many different ways of "saving the data somewhere": we could copy the segment files to an NFS-mounted directory on another machine, write them onto a tape drive (ensuring that you have a way of identifying the original name of each file), or batch them together and burn them onto CDs, or something else entirely. To provide the database administrator with flexibility, PostgreSQL tries not to make any assumptions about how the archiving will be done. Instead, PostgreSQL lets the administrator specify a shell command to be executed to copy a completed segment file to wherever it needs to go. The command could be as simple as a , or it could invoke a complex shell script — it's all up to you.
To enable WAL archiving, set the wal_level configuration parameter to (or ), archive_mode to , and specify the shell command to use in the archive_command configuration parameter. In practice these settings will always be placed in the file. In , is replaced by the path name of the file to archive, while is replaced by only the file name. (The path name is relative to the current working directory, i.e., the cluster's data directory.) Use if you need to embed an actual character in the command. The simplest useful command is something like:
archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' # Unix archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windowswhich will copy archivable WAL segments to the directory . (This is an example, not a recommendation, and might not work on all platforms.) After the and parameters have been replaced, the actual command executed might look like this:
test ! -f /mnt/server/archivedir/00000001000000A900000065 && cp pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900000065A similar command will be generated for each new file to be archived.
The archive command will be executed under the ownership of the same user that the PostgreSQL server is running as. Since the series of WAL files being archived contains effectively everything in your database, you will want to be sure that the archived data is protected from prying eyes; for example, archive into a directory that does not have group or world read access.
It is important that the archive command return zero exit status if and only if it succeeds. Upon getting a zero result, PostgreSQL will assume that the file has been successfully archived, and will remove or recycle it. However, a nonzero status tells PostgreSQL that the file was not archived; it will try again periodically until it succeeds.
The archive command should generally be designed to refuse to overwrite any pre-existing archive file. This is an important safety feature to preserve the integrity of your archive in case of administrator error (such as sending the output of two different servers to the same archive directory).
It is advisable to test your proposed archive command to ensure that it indeed does not overwrite an existing file, and that it returns nonzero status in this case. The example command above for Unix ensures this by including a separate step. On some Unix platforms, has switches such as that can be used to do the same thing less verbosely, but you should not rely on these without verifying that the right exit status is returned. (In particular, GNU will return status zero when is used and the target file already exists, which is not the desired behavior.)
While designing your archiving setup, consider what will happen if the archive command fails repeatedly because some aspect requires operator intervention or the archive runs out of space. For example, this could occur if you write to tape without an autochanger; when the tape fills, nothing further can be archived until the tape is swapped. You should ensure that any error condition or request to a human operator is reported appropriately so that the situation can be resolved reasonably quickly. The directory will continue to fill with WAL segment files until the situation is resolved. (If the file system containing fills up, PostgreSQL will do a PANIC shutdown. No committed transactions will be lost, but the database will remain offline until you free some space.)
The speed of the archiving command is unimportant as long as it can keep up with the average rate at which your server generates WAL data. Normal operation continues even if the archiving process falls a little behind. If archiving falls significantly behind, this will increase the amount of data that would be lost in the event of a disaster. It will also mean that the directory will contain large numbers of not-yet-archived segment files, which could eventually exceed available disk space. You are advised to monitor the archiving process to ensure that it is working as you intend.
In writing your archive command, you should assume that the file names to be archived can be up to 64 characters long and can contain any combination of ASCII letters, digits, and dots. It is not necessary to preserve the original relative path () but it is necessary to preserve the file name ().
Note that although WAL archiving will allow you to restore any modifications made to the data in your PostgreSQL database, it will not restore changes made to configuration files (that is, , and ), since those are edited manually rather than through SQL operations. You might wish to keep the configuration files in a location that will be backed up by your regular file system backup procedures. See Section 18.2 for how to relocate the configuration files.
The archive command is only invoked on completed WAL segments. Hence, if your server generates only little WAL traffic (or has slack periods where it does so), there could be a long delay between the completion of a transaction and its safe recording in archive storage. To put a limit on how old unarchived data can be, you can set archive_timeout to force the server to switch to a new WAL segment file at least that often. Note that archived files that are archived early due to a forced switch are still the same length as completely full files. It is therefore unwise to set a very short — it will bloat your archive storage. settings of a minute or so are usually reasonable.
Also, you can force a segment switch manually with if you want to ensure that a just-finished transaction is archived as soon as possible. Other utility functions related to WAL management are listed in Table 9-61.
When is some SQL commands are optimized to avoid WAL logging, as described in Section 14.4.7. If archiving or streaming replication were turned on during execution of one of these statements, WAL would not contain enough information for archive recovery. (Crash recovery is unaffected.) For this reason, can only be changed at server start. However, can be changed with a configuration file reload. If you wish to temporarily stop archiving, one way to do it is to set to the empty string (). This will cause WAL files to accumulate in until a working is re-established.
24.3.2. Making a Base Backup
The easiest way to perform a base backup is to use the pg_basebackup tool. It can create a base backup either as regular files or as a tar archive. If more flexibility than pg_basebackup can provide is required, you can also make a base backup using the low level API (see Section 24.3.3).
It is not necessary to be concerned about the amount of time it takes to make a base backup. However, if you normally run the server with disabled, you might notice a drop in performance while the backup runs since is effectively forced on during backup mode.
To make use of the backup, you will need to keep all the WAL segment files generated during and after the file system backup. To aid you in doing this, the base backup process creates a backup history file that is immediately stored into the WAL archive area. This file is named after the first WAL segment file that you need for the file system backup. For example, if the starting WAL file is the backup history file will be named something like . (The second part of the file name stands for an exact position within the WAL file, and can ordinarily be ignored.) Once you have safely archived the file system backup and the WAL segment files used during the backup (as specified in the backup history file), all archived WAL segments with names numerically less are no longer needed to recover the file system backup and can be deleted. However, you should consider keeping several backup sets to be absolutely certain that you can recover your data.
The backup history file is just a small text file. It contains the label string you gave to pg_basebackup, as well as the starting and ending times and WAL segments of the backup. If you used the label to identify the associated dump file, then the archived history file is enough to tell you which dump file to restore.
Since you have to keep around all the archived WAL files back to your last base backup, the interval between base backups should usually be chosen based on how much storage you want to expend on archived WAL files. You should also consider how long you are prepared to spend recovering, if recovery should be necessary — the system will have to replay all those WAL segments, and that could take awhile if it has been a long time since the last base backup.
24.3.3. Making a Base Backup Using the Low Level API
The procedure for making a base backup using the low level APIs contains a few more steps than the pg_basebackup method, but is relatively simple. It is very important that these steps are executed in sequence, and that the success of a step is verified before proceeding to the next step.
Ensure that WAL archiving is enabled and working.
Connect to the database as a superuser and issue the command:
SELECT pg_start_backup('label');where is any string you want to use to uniquely identify this backup operation. (One good practice is to use the full path where you intend to put the backup dump file.) creates a backup label file, called , in the cluster directory with information about your backup, including the start time and label string. The file is critical to the integrity of the backup, should you need to restore from it.
It does not matter which database within the cluster you connect to to issue this command. You can ignore the result returned by the function; but if it reports an error, deal with that before proceeding.
By default, can take a long time to finish. This is because it performs a checkpoint, and the I/O required for the checkpoint will be spread out over a significant period of time, by default half your inter-checkpoint interval (see the configuration parameter checkpoint_completion_target). This is usually what you want, because it minimizes the impact on query processing. If you want to start the backup as soon as possible, use:
SELECT pg_start_backup('label', true);This forces the checkpoint to be done as quickly as possible.
Perform the backup, using any convenient file-system-backup tool such as tar or cpio (not pg_dump or pg_dumpall). It is neither necessary nor desirable to stop normal operation of the database while you do this.
Again connect to the database as a superuser, and issue the command:
SELECT pg_stop_backup();This terminates the backup mode and performs an automatic switch to the next WAL segment. The reason for the switch is to arrange for the last WAL segment file written during the backup interval to be ready to archive.
Once the WAL segment files active during the backup are archived, you are done. The file identified by 's result is the last segment that is required to form a complete set of backup files. If is enabled, does not return until the last segment has been archived. Archiving of these files happens automatically since you have already configured . In most cases this happens quickly, but you are advised to monitor your archive system to ensure there are no delays. If the archive process has fallen behind because of failures of the archive command, it will keep retrying until the archive succeeds and the backup is complete. If you wish to place a time limit on the execution of , set an appropriate value.
Some file system backup tools emit warnings or errors if the files they are trying to copy change while the copy proceeds. When taking a base backup of an active database, this situation is normal and not an error. However, you need to ensure that you can distinguish complaints of this sort from real errors. For example, some versions of rsync return a separate exit code for "vanished source files", and you can write a driver script to accept this exit code as a non-error case. Also, some versions of GNU tar return an error code indistinguishable from a fatal error if a file was truncated while tar was copying it. Fortunately, GNU tar versions 1.16 and later exit with 1 if a file was changed during the backup, and 2 for other errors. With GNU tar version 1.23 and later, you can use the warning options to hide the related warning messages.
Be certain that your backup dump includes all of the files under the database cluster directory (e.g., ). If you are using tablespaces that do not reside underneath this directory, be careful to include them as well (and be sure that your backup dump archives symbolic links as links, otherwise the restore will corrupt your tablespaces).
You can, however, omit from the backup dump the files within the cluster's subdirectory. This slight adjustment is worthwhile because it reduces the risk of mistakes when restoring. This is easy to arrange if is a symbolic link pointing to someplace outside the cluster directory, which is a common setup anyway for performance reasons. You might also want to exclude and , which record information about the running postmaster, not about the postmaster which will eventually use this backup. (These files can confuse pg_ctl.)
It's also worth noting that the function makes a file named in the database cluster directory, which is removed by . This file will of course be archived as a part of your backup dump file. The backup label file includes the label string you gave to , as well as the time at which was run, and the name of the starting WAL file. In case of confusion it is therefore possible to look inside a backup dump file and determine exactly which backup session the dump file came from. However, this file is not merely for your information; its presence and contents are critical to the proper operation of the system's recovery process.
It is also possible to make a backup dump while the server is stopped. In this case, you obviously cannot use or , and you will therefore be left to your own devices to keep track of which backup dump is which and how far back the associated WAL files go. It is generally better to follow the continuous archiving procedure above.
24.3.4. Recovering Using a Continuous Archive Backup
Okay, the worst has happened and you need to recover from your backup. Here is the procedure:
Stop the server, if it's running.
If you have the space to do so, copy the whole cluster data directory and any tablespaces to a temporary location in case you need them later. Note that this precaution will require that you have enough free space on your system to hold two copies of your existing database. If you do not have enough space, you should at least save the contents of the cluster's subdirectory, as it might contain logs which were not archived before the system went down.
Remove all existing files and subdirectories under the cluster data directory and under the root directories of any tablespaces you are using.
Restore the database files from your file system backup. Be sure that they are restored with the right ownership (the database system user, not !) and with the right permissions. If you are using tablespaces, you should verify that the symbolic links in were correctly restored.
Remove any files present in ; these came from the file system backup and are therefore probably obsolete rather than current. If you didn't archive at all, then recreate it with proper permissions, being careful to ensure that you re-establish it as a symbolic link if you had it set up that way before.
If you have unarchived WAL segment files that you saved in step 2, copy them into . (It is best to copy them, not move them, so you still have the unmodified files if a problem occurs and you have to start over.)
Create a recovery command file in the cluster data directory (see Chapter 26). You might also want to temporarily modify to prevent ordinary users from connecting until you are sure the recovery was successful.
Start the server. The server will go into recovery mode and proceed to read through the archived WAL files it needs. Should the recovery be terminated because of an external error, the server can simply be restarted and it will continue recovery. Upon completion of the recovery process, the server will rename to (to prevent accidentally re-entering recovery mode later) and then commence normal database operations.
Inspect the contents of the database to ensure you have recovered to the desired state. If not, return to step 1. If all is well, allow your users to connect by restoring to normal.
The key part of all this is to set up a recovery configuration file that describes how you want to recover and how far the recovery should run. You can use (normally located in the installation's directory) as a prototype. The one thing that you absolutely must specify in is the , which tells PostgreSQL how to retrieve archived WAL file segments. Like the , this is a shell command string. It can contain , which is replaced by the name of the desired log file, and , which is replaced by the path name to copy the log file to. (The path name is relative to the current working directory, i.e., the cluster's data directory.) Write if you need to embed an actual character in the command. The simplest useful command is something like:
restore_command = 'cp /mnt/server/archivedir/%f %p'which will copy previously archived WAL segments from the directory . Of course, you can use something much more complicated, perhaps even a shell script that requests the operator to mount an appropriate tape.
It is important that the command return nonzero exit status on failure. The command will be called requesting files that are not present in the archive; it must return nonzero when so asked. This is not an error condition. Not all of the requested files will be WAL segment files; you should also expect requests for files with a suffix of . Also be aware that the base name of the path will be different from ; do not expect them to be interchangeable.
WAL segments that cannot be found in the archive will be sought in ; this allows use of recent un-archived segments. However, segments that are available from the archive will be used in preference to files in .
Normally, recovery will proceed through all available WAL segments, thereby restoring the database to the current point in time (or as close as possible given the available WAL segments). Therefore, a normal recovery will end with a "file not found" message, the exact text of the error message depending upon your choice of . You may also see an error message at the start of recovery for a file named something like . This is also normal and does not indicate a problem in simple recovery situations; see Section 24.3.5 for discussion.
If you want to recover to some previous point in time (say, right before the junior DBA dropped your main transaction table), just specify the required stopping point in . You can specify the stop point, known as the "recovery target", either by date/time, named restore point or by completion of a specific transaction ID. As of this writing only the date/time and named restore point options are very usable, since there are no tools to help you identify with any accuracy which transaction ID to use.
Note: The stop point must be after the ending time of the base backup, i.e., the end time of . You cannot use a base backup to recover to a time when that backup was in progress. (To recover to such a time, you must go back to your previous base backup and roll forward from there.)
If recovery finds corrupted WAL data, recovery will halt at that point and the server will not start. In such a case the recovery process could be re-run from the beginning, specifying a "recovery target" before the point of corruption so that recovery can complete normally. If recovery fails for an external reason, such as a system crash or if the WAL archive has become inaccessible, then the recovery can simply be restarted and it will restart almost from where it failed. Recovery restart works much like checkpointing in normal operation: the server periodically forces all its state to disk, and then updates the file to indicate that the already-processed WAL data need not be scanned again.
24.3.5. Timelines
The ability to restore the database to a previous point in time creates some complexities that are akin to science-fiction stories about time travel and parallel universes. For example, in the original history of the database, suppose you dropped a critical table at 5:15PM on Tuesday evening, but didn't realize your mistake until Wednesday noon. Unfazed, you get out your backup, restore to the point-in-time 5:14PM Tuesday evening, and are up and running. In this history of the database universe, you never dropped the table. But suppose you later realize this wasn't such a great idea, and would like to return to sometime Wednesday morning in the original history. You won't be able to if, while your database was up-and-running, it overwrote some of the WAL segment files that led up to the time you now wish you could get back to. Thus, to avoid this, you need to distinguish the series of WAL records generated after you've done a point-in-time recovery from those that were generated in the original database history.
To deal with this problem, PostgreSQL has a notion of timelines. Whenever an archive recovery completes, a new timeline is created to identify the series of WAL records generated after that recovery. The timeline ID number is part of WAL segment file names so a new timeline does not overwrite the WAL data generated by previous timelines. It is in fact possible to archive many different timelines. While that might seem like a useless feature, it's often a lifesaver. Consider the situation where you aren't quite sure what point-in-time to recover to, and so have to do several point-in-time recoveries by trial and error until you find the best place to branch off from the old history. Without timelines this process would soon generate an unmanageable mess. With timelines, you can recover to any prior state, including states in timeline branches that you abandoned earlier.
Every time a new timeline is created, PostgreSQL creates a "timeline history" file that shows which timeline it branched off from and when. These history files are necessary to allow the system to pick the right WAL segment files when recovering from an archive that contains multiple timelines. Therefore, they are archived into the WAL archive area just like WAL segment files. The history files are just small text files, so it's cheap and appropriate to keep them around indefinitely (unlike the segment files which are large). You can, if you like, add comments to a history file to record your own notes about how and why this particular timeline was created. Such comments will be especially valuable when you have a thicket of different timelines as a result of experimentation.
The default behavior of recovery is to recover along the same timeline that was current when the base backup was taken. If you wish to recover into some child timeline (that is, you want to return to some state that was itself generated after a recovery attempt), you need to specify the target timeline ID in . You cannot recover into timelines that branched off earlier than the base backup.
24.3.6. Tips and Examples
Some tips for configuring continuous archiving are given here.
24.3.6.1. Standalone Hot Backups
It is possible to use PostgreSQL's backup facilities to produce standalone hot backups. These are backups that cannot be used for point-in-time recovery, yet are typically much faster to backup and restore than pg_dump dumps. (They are also much larger than pg_dump dumps, so in some cases the speed advantage might be negated.)
As with base backups, the easiest way to produce a standalone hot backup is to use the pg_basebackup tool. If you include the parameter when calling it, all the transaction log required to use the backup will be included in the backup automatically, and no special action is required to restore the backup.
If more flexibility in copying the backup files is needed, a lower level process can be used for standalone hot backups as well. To prepare for low level standalone hot backups, set to (or ), to , and set up an that performs archiving only when a switch file exists. For example:
archive_command = 'test ! -f /var/lib/pgsql/backup_in_progress || (test ! -f /var/lib/pgsql/archive/%f && cp %p /var/lib/pgsql/archive/%f)'This command will perform archiving when exists, and otherwise silently return zero exit status (allowing PostgreSQL to recycle the unwanted WAL file).
With this preparation, a backup can be taken using a script like the following:
touch /var/lib/pgsql/backup_in_progress psql -c "select pg_start_backup('hot_backup');" tar -cf /var/lib/pgsql/backup.tar /var/lib/pgsql/data/ psql -c "select pg_stop_backup();" rm /var/lib/pgsql/backup_in_progress tar -rf /var/lib/pgsql/backup.tar /var/lib/pgsql/archive/The switch file is created first, enabling archiving of completed WAL files to occur. After the backup the switch file is removed. Archived WAL files are then added to the backup so that both base backup and all required WAL files are part of the same tar file. Please remember to add error handling to your backup scripts.
24.3.6.2. Compressed Archive Logs
If archive storage size is a concern, you can use gzip to compress the archive files:
archive_command = 'gzip < %p > /var/lib/pgsql/archive/%f'You will then need to use gunzip during recovery:
restore_command = 'gunzip < /mnt/server/archivedir/%f > %p'24.3.6.3. Scripts
Many people choose to use scripts to define their , so that their entry looks very simple:
archive_command = 'local_backup_script.sh "%p" "%f"'Using a separate script file is advisable any time you want to use more than a single command in the archiving process. This allows all complexity to be managed within the script, which can be written in a popular scripting language such as bash or perl.
Examples of requirements that might be solved within a script include:
Copying data to secure off-site data storage
Batching WAL files so that they are transferred every three hours, rather than one at a time
Interfacing with other backup and recovery software
Interfacing with monitoring software to report errors
Tip: When using an script, it's desirable to enable logging_collector. Any messages written to stderr from the script will then appear in the database server log, allowing complex configurations to be diagnosed easily if they fail.
24.3.7. Caveats
At this writing, there are several limitations of the continuous archiving technique. These will probably be fixed in future releases:
Operations on hash indexes are not presently WAL-logged, so replay will not update these indexes. This will mean that any new inserts will be ignored by the index, updated rows will apparently disappear and deleted rows will still retain pointers. In other words, if you modify a table with a hash index on it then you will get incorrect query results on a standby server. When recovery completes it is recommended that you manually REINDEX each such index after completing a recovery operation.
If a CREATE DATABASE command is executed while a base backup is being taken, and then the template database that the copied is modified while the base backup is still in progress, it is possible that recovery will cause those modifications to be propagated into the created database as well. This is of course undesirable. To avoid this risk, it is best not to modify any template databases while taking a base backup.
CREATE TABLESPACE commands are WAL-logged with the literal absolute path, and will therefore be replayed as tablespace creations with the same absolute path. This might be undesirable if the log is being replayed on a different machine. It can be dangerous even if the log is being replayed on the same machine, but into a new data directory: the replay will still overwrite the contents of the original tablespace. To avoid potential gotchas of this sort, the best practice is to take a new base backup after creating or dropping tablespaces.
It should also be noted that the default format is fairly bulky since it includes many disk page snapshots. These page snapshots are designed to support crash recovery, since we might need to fix partially-written disk pages. Depending on your system hardware and software, the risk of partial writes might be small enough to ignore, in which case you can significantly reduce the total volume of archived logs by turning off page snapshots using the full_page_writes parameter. (Read the notes and warnings in Chapter 29 before you do so.) Turning off page snapshots does not prevent use of the logs for PITR operations. An area for future development is to compress archived WAL data by removing unnecessary page copies even when is on. In the meantime, administrators might wish to reduce the number of page snapshots included in WAL by increasing the checkpoint interval parameters as much as feasible.
What’s New in the Need For Speed Series Archives?
Screen Shot
System Requirements for Need For Speed Series Archives
- First, download the Need For Speed Series Archives
-
You can download its setup from given links: