RE: DBIx::Recordset and Oracle
- From: tvilliers@xxxxxxxxx (Tielman de Villiers)
- Date: Tue, 26 Jul 2005 18:07:41 +0100
On Tue, 2005-07-26 at 10:45 -0600, Reidy, Ron wrote:
> What takes so long for you? What query is being executed and what are the DB waits generated? Are you getting SYS owned objects as described in that old posting?
>
Yes indeed I am getting SYS owned objects as described in the old
posting. The problem seems to be that the user which runs the script
does not have any permissions on the SYS tables.
It takes more than 120 seconds seconds before the script returns with
values, BUT, if I use DBD::JDBC in stead of DBD::Oracle, the script
throws an immediate error:
[Tue Jul 26 17:04:31 2005] unimported.cgi:
DBIx::Database::Base::savecroak('DBIx::Recordset=HASH(0xcb085c)','Cannot
list tables for hostname=xxx;port=xxx;url=jdbc:or...') called at xxx
line xxx
> -----Original Message-----
> From: Tielman de Villiers [mailto:tvilliers@xxxxxxxxx]
> Sent: Tuesday, July 26, 2005 10:40 AM
> To: dbi-users@xxxxxxxx
> Subject: DBIx::Recordset and Oracle
>
>
>
> I have the same problem as described here:
> http://www.nntp.perl.org/group/perl.dbi.users/7343
> (searching from Oracle databases take extremely long because
> DBIx::Recordset tries to get metadata for all tables), even though
> I use modern versions of DBIX::Recordset (0.26), the
> DBI(1.40) and perl (5.8.0).
>
> I have tried to set '!TableFilter' with the same values I feed to
> '!Tables', but without luck. As a temporary measure I have changed #342
> in DBIx/Database.pm to
> "
> my $ListTables = 0; ##DBIx::Compat::GetItem ($drv, 'ListTables') ;
> "
> which is not ideal, but works.
>
> Any other suggestions?
>
.
- References:
- RE: DBIx::Recordset and Oracle
- From: Ron Reidy
- RE: DBIx::Recordset and Oracle
- Prev by Date: RE: DBIx::Recordset and Oracle
- Next by Date: RE: DBIx::Recordset and Oracle
- Previous by thread: RE: DBIx::Recordset and Oracle
- Next by thread: RE: DBIx::Recordset and Oracle
- Index(es):
Relevant Pages
|