IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I talked to a real DBA
And you're right about NOLOGGING. I had misremembered what we do with sessions. It turns out that we just suffer lots of redo from that. :-(

According to the DBA, a dblink won't work either. Oracle considers redo and transactional integrity to be a basic part of being a database. You can't turn it off.

I don't know what you have done in terms of configuring things. I assume that you've done obvious things like making sure that writes are spread evenly across multiple disks and all that.

If all else has been tried, you either need to use another database, or you need to scale up in some way.

A large company that I am familiar with has a similar problem on a much larger scale. Their answer is to divide their data across many independent databases so that each one stays at acceptable load. There are some problems with the exact approach that they take, but the principle remains good.

I have not tried Oracle's clustering solution, which they like to call a "database grid", but they claim that it can be for any combination that you want of high availability or performance. Setting it up for performance could make your problem go away in a scaleable way. (With, of course, scaleable licensing costs...)

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New Re: I talked to a real DBA
According to the DBA, a dblink won't work either. Oracle considers redo and transactional integrity to be a basic part of being a database. You can't turn it off.
My understanding is that you can at least turn off archiving, which is (I believe) when our problems happen.

I don't know what you have done in terms of configuring things. I assume that you've done obvious things like making sure that writes are spread evenly across multiple disks and all that.
No idea. I'm approaching this from a relatively uninformed "I can't believe they can't fix this" standpoint. :-)

If all else has been tried, you either need to use another database, or you need to scale up in some way.
There's a direct path thing that's being worked on, but holy bovine it's complicated and fraught with danger.

A large company that I am familiar with has a similar problem on a much larger scale. Their answer is to divide their data across many independent databases so that each one stays at acceptable load. There are some problems with the exact approach that they take, but the principle remains good.
Won't work here, for various reasons.

I have not tried Oracle's clustering solution, which they like to call a "database grid", but they claim that it can be for any combination that you want of high availability or performance. Setting it up for performance could make your problem go away in a scaleable way. (With, of course, scaleable licensing costs...)
10g would be nice for several reasons (I know some people in ops are keen on it) but we're naturally conservative on changes that drastically affect how things work.

Thanks.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New If the data isn't critical, then put it in MySQL.
More important, threatening to has a remarkable motivational effect on Oracle DBAs. :-)

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New Ain't gonna happen...
We're HEAVILY invested in Oracle.

HEAVILY.

As in, most of the web pages are generated with PL/SQL...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New You know that phonograph label?
The one with the dog with his head cocked to the side? That's what I did when I read that last line.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New The RCA label? "The Masters Voice"
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
Expand Edited by folkert Dec. 13, 2005, 01:20:23 AM EST
New You know what that dog's thinking of, don't you?
Database permissions.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New I fixed my permissions problem
I got it put on the sysadmin's TODO list.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New I'm not too surprised
[link|http://www.unix.org.ua/orelly/oracle/webapp/ch07_01.htm|http://www.unix.org....ebapp/ch07_01.htm]

It's difficult to find an actual "this is what it is and what it does" page, especially from Oracle, without a lot of digging.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I had to use that approach once, briefly
Even though I was a pretty raw programmer at the time, it didn't take me long to figure out that it was easier to write valid HTML then autogenerate PL/SQL to write that than it was to write it directly in PL/SQL. OK, that was a long time ago (Oracle 7), but I remember being distinctly unimpressed by the environment.

I also remember thinking that it was inherently going to be a scalability problem, putting everything into the database. If you offload at least something to webservers, then you can easily increase the number of webservers for that component, and hit database bottlenecks later.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New As it turns out...
The query performance behind the pages completely overshadows any hit from running HTML-producing PL/SQL. By orders of magnitude. Moving the page generation to the web servers, while a good idea for other reasons, just means that your page generation can run quickly but the queries are still just as slow, so there's no speed increase.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I see your point but...
performance on individual pages is very different than overall system throughput.

In fact I would expect the usual webserver approach makes individual pages slower to generate (greater latency between webserver and database). What I was saying, though, is that I'd expect the overall system to be able to generate more pages/second.

My two major areas of concern would be overall I/O throughput (HTML tends to be more data than query results) and CPU bottlenecks (Oracle loves to waste lots of CPU on spinlocks, generating very high loads).

However this is all theoretical. I've never seen two equivalent systems created and benchmarked against each other.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     Oracle tuning question - (admin) - (23)
         Try doing it in JavaScript - (drewk) - (1)
             Attach the table to MS Access? -NT - (ChrisR)
         ln /dev/null /oradata/archive/redolog.log -NT - (boxley)
         Answers - (ben_tilly) - (13)
             Re: Answers - (admin) - (12)
                 I talked to a real DBA - (ben_tilly) - (11)
                     Re: I talked to a real DBA - (admin) - (10)
                         If the data isn't critical, then put it in MySQL. - (ben_tilly) - (9)
                             Ain't gonna happen... - (admin) - (8)
                                 You know that phonograph label? - (drewk) - (7)
                                     The RCA label? "The Masters Voice" -NT - (folkert)
                                     You know what that dog's thinking of, don't you? - (pwhysall) - (1)
                                         I fixed my permissions problem - (drewk)
                                     I'm not too surprised - (admin) - (3)
                                         I had to use that approach once, briefly - (ben_tilly) - (2)
                                             As it turns out... - (admin) - (1)
                                                 I see your point but... - (ben_tilly)
         Need to have stats of what is happening. - (broomberg) - (5)
             That will take me a bit. - (admin) - (4)
                 Re: That will take me a bit. - (broomberg) - (3)
                     Sent you an email. -NT - (admin) - (2)
                         Email had no DB info, was address stuff only -NT - (broomberg) - (1)
                             Was just making sure before I sent it; sent. -NT - (admin)

I hope you don't mind if I don't read this. I don't know if it's going where I don't want it to be going, but if it is going there, I *don't* want to go there, so the best place for me to be is here, not there, and here is where I'm staying.
*puts on blinders*
*whistles very loudly*
*claws out own eyes*
76 ms