473,788 Members | 3,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2stop

Hi, we are using db2 V8.2 on windows, i try to deleted the data from
the table but i change my mind and stop the process, then if i do
db2stop, seems it is doing a rollback and take the same amount of time
as delete rows to try to stop the server, is there any better way to do
this? thanks

Jan 13 '07 #1
2 2242
"db2group88 " <tu*****@gmail. comwrote in message
news:11******** **************@ 11g2000cwr.goog legroups.com...
Hi, we are using db2 V8.2 on windows, i try to deleted the data from
the table but i change my mind and stop the process, then if i do
db2stop, seems it is doing a rollback and take the same amount of time
as delete rows to try to stop the server, is there any better way to do
this? thanks
The rollback has to go to logs and retrieve your deletes and then backout
every single one of them. So it is not surprising that it takes at least as
long as the original delete. This maintains data integrity for the unit of
work.

If you want a toy database, try MS Access.
Jan 13 '07 #2
I don't think so as what you are doing is terminating the transaction
without a commit so you get a roll back and everything delete has to be
undone!!!
Regards, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"db2group88 " <tu*****@gmail. coma écrit dans le message de news:
11************* *********@11g20 00...legro ups.com...
Hi, we are using db2 V8.2 on windows, i try to deleted the data from
the table but i change my mind and stop the process, then if i do
db2stop, seems it is doing a rollback and take the same amount of time
as delete rows to try to stop the server, is there any better way to do
this? thanks
Jan 13 '07 #3

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

Similar topics

3
2240
by: Bruce Pullen | last post by:
db27.2 fp7 on AIX5.2 I just bounced the database (as a specific db2dari process had reached user memory limit), and some (orpahned) db2dari processes are still there. db2fenc1 42682 1 108 Sep 28 - 14308:10 db2dari (81842) .... db2fenc1 90546 1 108 Sep 28 - 431:39 db2dari (63356)
3
10759
by: Praveen_db2 | last post by:
Hi All db2 version 8.2.2 Windows I have installed the database and created Sample db. Now when I am giving db2stop ,it says C:\Documents and Settings\buntyaru>db2stop 11/10/2005 00:13:14 0 0 SQL1025N The database manager was not stopped because databases are still active. SQL1025N The database manager was not stopped because databases are still
1
9393
by: Ranjay | last post by:
i've installed db2 on my aix box with the following configuration bash-3.00$ uname -a -v -r AIX symibm10 2 5 00CE60AA4C00 bash-3.00$ oslevel 5.2.0.0 I installed it in the compact mode and created 2 instances db2inst1 and db2fenc1
6
9651
by: Roger Eriksson | last post by:
I want to thank all of you that have answered my earlier questions, thanks. New problems though. The database doesn't start with the operating system and I can't find out how it does that on the other server. Can't find anything in the rc-files that seems to apply so I figure that there's some kind of magic involved ;-) The second question is why I have to re-apply the licence every time I restart the dbm? Shouldn't it be enough to do...
1
2699
by: Laurence | last post by:
Hi folks, The sentence "If you are an HACMPâ„¢ user, you must use the ha_db2stop command to stop DB2 instead of the db2stop command. If you use the db2stop command instead of the ha_db2stop command, you will trigger a failure event.". If I also do HADR with HACMP, should I also use the ha_db2stop command, or just db2stop command? Thanks in advance,
11
11536
by: zgh1970 | last post by:
Hi, Friends, I need to know how to stop all database process even after db2stop. How can I stop all database processes? I have finished upgraded our system test and UAT region from 32-bit to 64-bit. I followed the following for my system test region: 1. log on aix with root 2. stop the instance 3. db2iupdt -w 64 instance
4
3786
by: db2dbdba | last post by:
Hi All, How can I check for when a db2stop command is last issued? Or when a db2 force applications all command is last issued? Thanks in advance R
3
5517
by: danfan46 | last post by:
Hi! I'm trying to set up a database instance on a prime Linux server, using db2 V9.5 with fixpack 1 applied. I issued db2set DB2RSHCMD=/usr/bin/ssh After adding 2 partitions, when issuing db2stop (as instance owner), I have to give the password 6 times. When i the run db2start it suffices with 3 times. What did I miss?
5
7254
by: sandeep.iitk | last post by:
Hi All, When i am trying to take offline backup of my production db .. it is taking more time in db2stop command (around 15 min.) while earlier max was 2 mins. what might be the reason for this delay. To stop the db I am using following sequence of commands:- db2set db2comm= db2 force application all db2stop force
0
9498
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
10363
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
10172
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...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
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
6749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
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...
1
4069
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
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.