473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How 2 split priority, reports low, transactions fast


I'm at a loss (and, like a hard-core alcoholic) the "experts" I'm
working with won't even acknowledge there is a problem. . .

Is there any way to run "interactive transactions" at one priority and
yet run long running reports at a lower priority.

From a raw Unix/Linux/AIX standpoint, I understand and have used "nice"
of course. The problem arises when the "interactive requests" coming
from the front line users need priority, and the long running
reports/queries are both running to the same Oracle DB. (Through the
same PL/SQL, same instances. . .)

It's not that the long running reports would take that long to run, if
they ran at 1/2 priority compared to the rest of the system. Its that
when they are running. . . they seem to "want it all", and they "want it
all RIGHT NOW" to the exclusion of all else. (The other "individual
user" transactions performing simple-single updates/queries suffer
horrible response times while the long running query runs.)

Is there any way to run some queries / "sessions" (/threads/???
somethin) or use some other segregating feature, to what is ultimately
the same back end Oracle Instance?

We've discussed pushing copies of the DB to another box and letting a
2nd cpu run the "reports". Its not the cost/difficulty so much as the
"live syncing" makes that unacceptable.

The current "experts" have two suggestions. . .

#1 Let them (the users) run the reports from the Datawarehouse. (Which
is in another country, beyond comm lines that can't be trusted to be up
24x7. So it's in impractical solution for any "report" that is critical
to production line uptime.)

#2 Put a limit on query run length. (Which is a half-a$$ed non-
solution, since it doesn't actually "finish" the long running report, it
just kills it instead.)

So . . . is there any way to run the long-running report at a lower
priority, so that it "eventually" gets done, but doesn't bog down the
individual users entering new data and using the "day to day" single
transactions?

Yes, I suppose adding CPU's is an option. . . and I'm sure adding memory
is an option, and I'm sure sprinkling fairy dust is too. . . But, if
(as in 99% of the real world cases) money / resources aren't infinitely
available. . . can Oracle have "paths of inquiry" be split/prioritized
in any way?

Sorry for the rambling, I'm just frustrated. I've spent some time
scouring the web, but if the answer is out there (even in an obvious
place) I can either find not enough info. . . or an overload of non-
helpful search responses.

Thanks,

jkh

John K. Humkey - jh@acm.org
Aug 18 '06 #1
1 3915
John K. Humkey wrote:
Is there any way to run "interactive transactions" at one priority and
yet run long running reports at a lower priority.
Two things

1) This is a defunct newsgroup - most of the action is over on
comp.databases.oracle.server
2) If on a release higher than Oracle8i, check out resource manager in
the manuals - for example
http://download.oracle.com/docs/cd/B...m.htm#ADMIN027
Aug 18 '06 #2

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

Similar topics

23
by: BlackHawke | last post by:
Hello! This is my second post. Ppl really helped me with the first. I hope there are answers for this one as well I own a game company (www.aepoxgames.net) releasing the beta for our first...
1
by: Norm | last post by:
I have a program that is cpu intensive so I want to change it's priority to BelowNormal. The code functions without error, the VS Debugger shows the change but when I then go to "Windows Task...
5
by: Dan H. | last post by:
Hello, I have implemented a C# priority queue using an ArrayList. The objects being inserted into the priority queue are being sorted by 2 fields, Time (ulong) and Priority (0-100). When I...
3
by: Brian Keating EI9FXB | last post by:
Hello again, I've already placed a few posts on this topic. This time i've a simple application that exhibits my problem, I've placed sample solution 8k on my website should anyone be interested...
2
by: Nalaka | last post by:
Hi, How come, there is no "split cell" functionality in vs2005? Makes life a little difficult without this. Nalaka
0
by: savajx1 | last post by:
The programming task is to run a simulation model, as a distributed computing model, in the background on 250 departmental computers. I intend to allocate work (per machine) into say "5-10 cpu...
12
by: Rami | last post by:
I have some requirement for an automated payment system. The system has four machines setup as follows: 1- Two machines have a clustered database. 2- Two machines have a .net business logic...
1
by: John K. Humkey | last post by:
I'm at a loss (and, like a hard-core alcoholic) the "experts" I'm working with won't even acknowledge there is a problem. . . Is there any way to run "interactive transactions" at one priority...
7
by: =?Utf-8?B?VG9kZCBKYXNwZXJz?= | last post by:
Hey Guys, I'm totally flipping out. I developed an application which makes use of the built in Visual Studio 2005 Crystal Reports components. I have references on my solution which state: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...

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.