LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2006, 01:20 AM   #1
alfrednone
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Unhappy mkfifo and oracle


hi all ,
i have an oracle database 10g and i want user not to block the table while doing update or insert and even with select using wildcards which takes a lot of time and others will wait till they finish.

i thought of a FIFO file , that i can create under Linux , where i can put all the transactions there and i will not lock the users from work ..
this fifo file , will have IN and OUT pointers , one is used to read and the other to write .

the transactions will be executed one by one and i will not have lock or freeze system .


can i achieve that with mkfifo in Linux ? how to write in a fifo file and later read from it and put in the database?
am i using the right commands and is it true what i thought doing ?

tx for ur replies.
Regards
 
Old 04-19-2006, 02:09 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I'm confused; 1st you say you DON'T want a user to block the table, then you say you're going to do queries consecutively (one by one), which means the table IS blocked to other users ...
Anyway, I've used Oracle from V5-V8 and they brought in (default) row (record) level locking in the RDBMS engine as of V6.0.33 iirc.
You don't need to worry about this stuff surely?
 
Old 04-19-2006, 02:59 AM   #3
alfrednone
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Exclamation mkfifo and oracle

Hi,

in fact i am facing a problem when people are doing a search for a criteria ( ex: A*) or ( BC*) and suppose i have 100 person doing that search using wildcards , i have a slow response and i have to wait for a time before i will got the results of the search.
and maybe 2 persons are doing the same search so my system will be very slow .

so i thought about FIFO to minimize the wait time .
put all these select in the FIFO file and later on create something to retrieve them and execute them.

am i thinking right ? is this feasible ?

but i dunno how to use this FIFO , to be able to write to it and read from it .

Tx for the replies
Regards
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
start|stop multiple oracle databases in the same oracle server prozac Linux - Software 8 01-23-2007 03:01 AM
write in pipe based system+mkfifo sahel Programming 1 12-27-2005 11:39 AM
Read+mkfifo sahel Programming 1 12-27-2005 11:33 AM
Device named with mkfifo disappears on reboot ColKurtz Linux - Newbie 1 01-28-2005 10:46 PM
mkfifo command Alf829 Programming 3 08-30-2003 08:32 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration