473,808 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

database file and drop a table

hello,

What is the simplest way, with no lost of data hopefully to recover
from a dropped table. I am using hot backup.

Also, what constitute database files in the backup statement and is
there a list of how to recover for each type of file corruption eg
data file or config file? The doc doesn't seem to list the case
scenario of how to recover from each case.

Thanks

DB2 Convert
Nov 12 '05 #1
2 1982
The tablespace needs to have DROPPED TABLE RECOVERY=ON (this is the
default option on CREATE TABLESPACE).

To learn more, search on DROPPED TABLE RECOVERY here:

http://publib.boulder.ibm.com/infoce...help/index.jsp

DB2 Convert wrote:
hello,

What is the simplest way, with no lost of data hopefully to recover
from a dropped table. I am using hot backup.

Also, what constitute database files in the backup statement and is
there a list of how to recover for each type of file corruption eg
data file or config file? The doc doesn't seem to list the case
scenario of how to recover from each case.

Thanks

DB2 Convert


Nov 12 '05 #2
blair,

Thanks. But it seems to me there is lost of data implied for the tablespace
level rollforward recovery. Beside the dropped table that causes possible data
lost, what else can cost the data lost in an irrecoverable manner. Reason being
if I can guard against those, I can do pretty well in avoiding losing data.

Thanks
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
16186
by: konsu | last post by:
hello, i would like to write a batch file with all sql commands necessary to create a database, its tables, and populate them with initial data. would the experts please help me with these problems: 1. how to programmatically, in sql script, check if a known database already exists on the server, and drop it if it does? 2. similarly, how to check if a table exists and drop it?
1
3571
by: Beyonder | last post by:
I'm using InnoDB with Mysql and I've used delete to delete over 10 million records, but the InnoDB database is still the same size on the disk (over 100 gigs) is there a way to get Mysql/InnoDB to shrink or trim this size? and also, can I set a maximum size and make it so itll rotate itself, as in purge out old entries as new ones come in when it hits the maximum? I'm not used to InnoDBs... so I could use some help with this...
6
34184
by: Clay Beatty | last post by:
When you create database diagrams in Enterprise Manager, the details for constructing those diagrams is saved into the dtproperties table. This table includes an image field which contains most of the relevant infomation, in a binary format. SQL Enterprise manager offers no way to script out those diagrams, so I have created two Transact SQL components, one User Function and one User Procedure, which together provide a means to script...
1
4408
by: Michael D | last post by:
What are the pros and cons of the following two design methods ? (1) Using foreign keys to form a composite primary key of a child tables -- as in Example. POOR MAN'S ERD PROVIDED FOR SUMMARY OVERVIEW (Code provided below) *** Example 1 COMPOSITE FOREIGN KEY *** PK = Primary Key FK = Foreign Key
2
1379
by: peter.mathews | last post by:
Hello, I have ran a script in which I created a temporary table and dropped the table at the end of the script. Unfortuantely not only was this table dropped but all of the other tables in the database were dropped as well. Unfortuantely, the backups are made every day at midnight. So all of the information for the past 23 hours has been currently destroyed. What I need to know.
8
2043
by: David | last post by:
Hi, Could someone please xplain how to add a field to an existing SQL table in VB.Net I have added the field in the Server Explorer and it shows up when I reload the program but I cannot access the field from within my program. Is there something I need to refresh or do I need to recreate he Dataapdtors
3
3629
by: Ulrich Wisser | last post by:
Hi, last night I tried to reindex my database with some really ugly results. I can no longer use the database. backend> REINDEX DATABASE "CLIX1" NOTICE: relation 16416 was reindexed NOTICE: relation 1255 was reindexed NOTICE: relation 16410 was reindexed NOTICE: relation 1247 was reindexed
4
1991
by: burgensteen | last post by:
Hi all, New to this forum, so to start 'A big hello to you all'. My question: I have a drop down menu that is created from the username in my database but is distinct: <td><class="tdText"><strong><?php echo $lang;?></strong></td> <td align="right"> <? $query= mysql_query("SELECT DISTINCT username FROM CubeCart_admin_sessions");
1
1459
by: Tlholo | last post by:
Here are the requirements for the project. I have also included the other project that I am working on and is also giving me some problems. i need code examples. Project 1 This program actually has 4 parts that I have to do. There is a master database and an excel file that has to be downloaded from the server once a week 1.design a piece of code that will make this program run or download the file from the server once a week, let’s...
2
3983
by: astolpho | last post by:
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output: D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>asant database Buildfile: build.xml env-user: prop-user: set-user:
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10631
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.