Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > kill user command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-03, 09:00
nor nor is offline
Registered User
 
Join Date: Jan 2003
Location: malaysia
Posts: 6
kill user command

i want to backup my database in informix.
how to kill user in informix
Reply With Quote
  #2 (permalink)  
Old 01-09-03, 10:40
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
onmode -z <sess-id>

to find out what session id is still open:
onstat -g sql or onstat -g ses.

Why do you want to kill sessions for backup? Ever heard of onilne backup?
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 01-09-03, 23:10
nor nor is offline
Registered User
 
Join Date: Jan 2003
Location: malaysia
Posts: 6
Re: kill user command

i have tried to run dbexport command. when i run that command, i got error : database open by another user.
Reply With Quote
  #4 (permalink)  
Old 01-10-03, 02:46
ladwig ladwig is offline
Registered User
 
Join Date: May 2002
Location: Osnabrueck Germany
Posts: 59
Hi,
if you use dbexport, any user isn't allowed to habe a connection to Informix. So you have to find who have a connection in that way Roelwe wrote. If you don't find any connection, shut down informix.
__________________
Juergen Ladwig
Reply With Quote
  #5 (permalink)  
Old 01-10-03, 05:47
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
dbexport is not the best way of making backups. ontape or onbar can be configured to create online backups. In that case users can still work in the database without harming any data consisteny.
__________________
rws
Reply With Quote
  #6 (permalink)  
Old 01-15-03, 22:39
nor nor is offline
Registered User
 
Join Date: Jan 2003
Location: malaysia
Posts: 6
Re: kill user command

thanks Roelwe and ladwig
Reply With Quote
  #7 (permalink)  
Old 01-16-03, 11:03
Angst Angst is offline
Registered User
 
Join Date: Jan 2003
Posts: 1
I use

"onmode -uy" to kill all users
and
"onmode -m" to get server multiuser again,next I run dbexport
Reply With Quote
  #8 (permalink)  
Old 01-17-03, 04:50
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
re

Informix have ontape , onbar ,onarchive to backup database in online mode
You don't have to use dbexport for backup ,this command is suit for reorganize more than backup
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On