Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. theshowmecanuck

    how do I... pseudo dynamic sql (like Oracle)?

    hey e.b. yeah, I am pretty sure that will work too, but I was hoping for something a little more elegant and less clunky. That is a very very rough and tough way to do something that is very very simple to do using SQL (and is used quite extensively) in other rdbms systems. If I keep using...
  2. theshowmecanuck

    how do I... pseudo dynamic sql (like Oracle)?

    How horrible. Ah well. I will look to Postgres (since they now have a full Windows port)... if it doesn't have it, back to MySQL. At least it is free as in beer. Thanks for the info! Cheers.
  3. theshowmecanuck

    how do I... pseudo dynamic sql (like Oracle)?

    I am trying to write some pseudo dynamic sql to generate a script. It is something I have done much of in Oracle and SQL Server, but I can't figure out the data dictionary for MySQL Example (what I would do in Oracle): select "select " || column_name || " from " || table_name || ";" from...
  4. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Well... one, obviously there is a problem, or people would not be asking about it. Or are you saying people here are not intelligent. I would say there is a lot of experience here. A lot of the folks posting and replying here are not newbies. In fact, I would say that a good number probably...
  5. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    And if you have a large volume of data that needs to be fed into the temporary table you will have the same problem.
  6. theshowmecanuck

    retreive outside data in a trigger or procedure

    I forgot to add this: Can I make a procedure in Java, call it from the trigger, and have the java procedure do what-ever web page crawling is necessary? Hoping I am making sense. :-)
  7. theshowmecanuck

    retreive outside data in a trigger or procedure

    This is an odd request... I have a friend who asked if there was a way to pull data from a web page from within a trigger or stored procedure using a 'get' type of command and specifying a URL. It sounded pretty odd to me... and very unlikely, but what the heck, there are a lot of folks with...
  8. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    p.s. holy crap... the thread that never dies... I suspect that eventually we can publish this as a book: "The ORA-01555 Affair" or "How ORA-01555 Gave Me Hearburn".
  9. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    I would suspect that it is because data warehouses are usually updated/inserted very infrequently relative to an OLTP database. Many times just once a day, when the past days activities are loaded. Once the data is loaded, the data warehouse is used 99% of the time for query only. This means...
  10. theshowmecanuck

    FIRST_ROWS optimizer question

    This is for Chris... We have a DBA who thinks otherwise and I wanted to hear some other opinions. I am also looking through documentation.
  11. theshowmecanuck

    FIRST_ROWS optimizer question

    I am trying to get some information on the FIRST_ROWS optimizer option in Oracle 9i. I know that this option tells the optimizer to return the first row of the result set as fast as possible. However, I know that in many product's cost based optimizers, that when the first rows type of option...
  12. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Here is something interesting from the Oracle manual for 8i: "Changed data blocks queried by a read-only transaction are reconstructed using data from rollback segments. Therefore, long running read-only transactions sometimes receive a "snapshot too old" error (ORA-01555)...
  13. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Hey Dima, I thought about that too. I think you are right about this for most users. In our case the consistancy is not as much of an issue. This operation is repeated over and over again all day in a near real time data feed. This means if we made a large data consitant read this time...
  14. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Hey Dave, We have determined that we have a way to 'chunk' up our data. That is, grab the data that makes up the report in chunks, rather than all at once. This reduces the amount of data returned from the query making it less likely that rollback segment becomes an issue, since it will...
  15. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Ya... I get it now. Trouble is that this is part of an enterprise solutions that is really really huge. This means that usually I don't have access to how many rollback segments that we have or how they are named. And likely I won't know if they add or decrease the number of rollback...
  16. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    So now I am at a loss. The short of it is that the only DML is an insert into a temp table. What confuses me is that I thought temp tables don't require the use of a rollback seqment since operations on them are not logged. For background, the error occurs when running a complex report...
  17. theshowmecanuck

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Hi Guys, sorry for tagging on to the end of this, but it sound like the folks here might have an answer to a very similar issue. I am getting the same error message (ORA-01555: snapshot too old... rollback blah blah blah), but it is relating to the use of a global temporary table. I don't...

Part and Inventory Search

Back
Top