Summary
In this tutorial you will learn how to create a snapshot in Local Storage and how to use Automation to create and refresh snapshots.
Note: This feature is available in the Toad Data Studio Professional Edition only.
In this tutorial you will learn:
You will need:
Watch Automate Creating and Refreshing Snapshots to see a video presentation of this tutorial.
Local Storage snapshots are a very useful tool. You can use them to temporarily store data for reporting or querying purposes, similar to Local Storage tables. Snapshots however have an additional feature—they can be refreshed at any time to reflect the current data in the source database. This gives you the added flexibility to import and manipulate data, and then easily refresh it from the source data.
You can save data as a Local Storage snapshot in a variety of different ways in Toad. In addition, you can also create and refresh snapshots using an Automation script.
There are several different ways to create a snapshot in Local Storage.
In the Save to Local Storage dialog, select Snapshot. Then select or create a database, and select or create a snapshot name. If this is the first time you have used your Local Storage, you must first create a new database. Simply enter a name in the Database field.
Note: You can also designate a primary key and modify the data types using this dialog.
Refresh a Snapshot
In the Save to Local Storage dialog, select Snapshot. Then select or create a database, and select or create a snapshot name.
Note: You can also designate a primary key and modify the data types using this dialog.
You can also save data to Local Storage when you import data using the Import Wizard.
You can automate the process of saving data to a Local Storage snapshot. These Automation activities allow you to save their output as a Local Storage snapshot: Execute Script and Clean Data (in addition to the Import Wizard).
In the Activity Input tab, enter the following query: Select * from ADDRESS. Then select Local Storage and Snapshot in export options section.
In the Activity Input tab, in the Export to Local Storage section, select a database and select Snapshot. This will instruct your script to export the modified data to a snapshot in Local Storage.
After you create a snapshot in Local Storage, you can automate the process of refreshing the snapshot.
See Schedule Your Script to learn how to schedule the Automation script.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center