Jdbc bridge efficiency in many tables inquire

i found that when inquiring many tables,the program will become slow after three or more times.
The database is access.

It could be a lot of things--we'll need more information. For example, bad schema design, forgot to create an appropriate index, etc.

Similar Messages

  • SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)

    Hi Gurus,
    I am trying to load a HANA column table using the import function and get the following error even though the mappings from the file to the table are 1:1.
    I get the following errors:
    Error 1: SAP DBTech JDBC: Result set is positioned before first row.
    Error 2: SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
    With the following stack trace:
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259] (at 26): invalid table name:  Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
      at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)
      at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:165)
      at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)
      at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1141)
      at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)
      at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:929)
      at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:978)
      at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)
      at com.sap.db.jdbc.StatementSapDB.executeQuery(StatementSapDB.java:401)
      at com.sap.db.jdbc.trace.Statement.executeQuery(Statement.java:131)
      at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getPoolTables(DBUtil.java:200)
      at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getTablesToHide(DBUtil.java:188)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.createDialogArea(SelectTableDialog.java:108)
      at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
      at org.eclipse.jface.window.Window.create(Window.java:432)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.create(SelectTableDialog.java:186)
      at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.ImportFileSelectionWizardPage$14.widgetSelected(ImportFileSelectionWizardPage.java:779)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
      at org.eclipse.jface.window.Window.open(Window.java:802)
      at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:152)
      at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
      at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
      at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
    I'm sure many of you have come across this before. Any help will be much appreciated.
    Thanks in advance

    Hello Akhtar,
    Have you tryed to delete the heador row from your file?
    I received the same error when loading a csv file, but when I delete the heador row it worked.
    Best Regards,
    Juliana Genova

  • JDBC-BRidge driver exception(for sybase database)

    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.
    2)authentication violation.
    can you help what can be the reason?

    "Jignesh" <[email protected]> wrote in message
    news:3bfbc796$[email protected]..
    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.I think this problem is connected with setting of SQLAnywhere ODBC driver.
    2)authentication violation.Create a small standalone java program that
    successfuly connects to the server and use those
    settings to setup the connection pool.
    Just FYI, JDBC-ODBC driver is unsupported,
    and not thread-safe. You will likely not be able
    to use it in production. I'd try to switch to a
    fat Sybase server and corresponding JDBC driver.
    Regards,
    Slava Imeshev

  • How can I treat many tables with one handler(?) ?

    Hello~
    I am applying BDB to my embbeded system not rich in resource.
    Some *.db files are called frequently.
    But, Opening a *.db file [db_create(&dbp, NULL, 0) AND dbp->open] takes a long time in BDB
    So, I loaded this functions onto a booting module to call opening functions just one time.
    And all D/B handlers(?) are loaded in all run time
    But, a D/B handler takes about 360Kbytes. And there are too many *.db files(10) where a table is
    How can I treat many tables with one handler(?) ?
    Or
    If you have the most efficient way to call openning functions just one time, please tell me
    Thank you

    Hello,
    Opening the database handles is expensive due to
    opening a file on disk. Is it possible for the application
    to use in-memory dbs? Otherwise is there a way for the application
    to cache the DB handles and reduce the overhead associated with
    opening and closing them?
    Thank you,
    Sandra

  • Easysoft odbc jdbc bridge

    I have written aprogram which reading data from Msaccess using easysoft odbc jdbc bridge . but got error in connectivity looks like something wrong in
    Class.forName ("jdbc.easysoft");
    pls help if anybody is using easysoft bridge
    thx

    LanceJ wrote:
    I'm facing a challenge providing ODBC for an in-memory Java application. There are commercial frameworks such as Simba and DataDirect but both involve extensive licensing and are too elaborate (given only read-only capability with basic single table querying required).
    As stated that is not possible.
    Read the following and then restate the question
    [http://forums.sun.com/thread.jspa?threadID=211735&start=2&forumID=48]
    Another option I'm investigating is to use an ODBC-JDBC bridge driver (such as provided by EasySoft) in combination with a bespoke JDBC connector. The question is, how complex is it to implement a SELECT-only JDBC driver to interface directly with a Java app? (And as extension, are there any libraries that can assisting in creating a JDBC driver?)That doesn't make sense.
    The bridge and any "ODBC" interface is going to interact with the ODBC shell and a ODBC driver (nothing to do with java.) You can't create a ODBC driver without creating a ODBC driver. Which would seem obvious.
    If you want to create a JDBC driver - which is not the same as an ODBC driver then you must implement the interfaces. Simple as that. That however requires that you must have some way to actually access the database.

  • Bex Query: Too many table names in the query The maximum allowable is 256

    Hi Experts,
    I need your help, Im working on a Query using a multiprovider of 2 datastores, I need to work with cells to assign specific acconts values to specific rows and columns, so I was creating a Structure with elements from a Hierarchy, but I get this error when I'm half way of the structure:
    "Too many table names in the query. The maximum allowable is 256.Incorrect syntax near ')'.Incorrect syntax near 'O1'."
    Any idea what is happening? is ti possible to fix it? do I need to ask for a modification of my Infoproviders? Some one told me is possible to combine 2 querys, is it true?
    Thanks a lot for your time and pacience.

    Hi,
    The maximum allowable limit is 256 holds true. It is the max no. of characteristics and key figures that can be used in the column side. While creating a structure, you create key figures (restricted or calculated) and formulas etc.. The objects that you use to create these should not be more than 256.
    http://help.sap.com/saphelp_nw70/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/frameset.htm
    Not sure if combination of 2 query's is possible.  You can use RRI. Or have a woorkbook with 2 queries.
    Hope it helps.

  • One-to-many table linking

    Hi all,
    I'm trying to write a report with multiple one-to-many table links.  The issue is I only want a single record from the linked tables.  The main table is an item table and the linked tables are issue and receipt.  I want to display information from the last issue record and the last receipt record along with the item information.  Not sure how to restrict the joins to just a single record (also need to sort desc on dates in the linked tables).  Does this require the use of a view? or a custom sp?
    Thanks for taking your time to help.
    Kevin

    To bring back a single record then you will probably need to use a View , command or SP.
    However, in Crystal you can bring back multiple records and only display the record you want. The easiest way will be to group
    Data on Date and then Item code.
    Place the data you want to see in in Item group footer and suppress details and all other Group headers and footers.
    To get receipt date just use a maximum summary of receipt date in item group footer
    Ian

  • Uploading many text file into many table

    hi there,
    my problem is that i have lots of text files (about 360 files), what i need is to upload them to many tables already created in oracle, as far as i know, i can upload only one file per command using the SQL loader, any help would be appreciated.
    thanks in advance.
    i am using oracle 10G and Windows XP SP3
    Edited by: user5724824 on Nov 20, 2009 4:36 AM

    Hello user5724824.
    Besides what drop.any and Toni Lazarin have provided, the only thing I could add would be the option to load one file to multiple tables, reading the file only once. Using Toni's example from another thread and a slight revision
    LOAD DATA
      INFILE mon200601.dat
      INFILE mon200602.dat
      INFILE mon200603.dat
      APPEND
      INTO TABLE emp1
      ( empno  POSITION(1:4)   INTEGER EXTERNAL,
        ename  POSITION(6:15)  CHAR,
        deptno POSITION(17:18) CHAR,
        mgr    POSITION(20:23) INTEGER EXTERNAL
      INTO TABLE emp2
      ( empno  POSITION(1:4)   INTEGER EXTERNAL,
        ename  POSITION(6:15)  CHAR,
        deptno POSITION(17:18) CHAR,
        mgr    POSITION(20:23) INTEGER EXTERNAL
      )If you want specific code to dynamically create all of your control files and execution of sqlldr for each created control file, a small example of table names and file names and their relationships that you'd like to be used would get me started. Include a three line sample example control file, that way we know whether you are using fixed or delimited data (this is significant).
    Hope this helps,
    Luke

  • How many tables are in my database

    I wanted to check how many tables I have so I ran the following query to list all of the tables in all of the tablespaces.
    select t.table_name, df_name from dba_tables t, v$tablespace df
    where t.tablespace_name = df.name;
    I got back 34377 tables or records.
    but if I wanted to count the number of tables I have I could run the following command.
    SQL> select count(*) from dba_tables;
    I got back 34700 tables.
    Can anyone tell me why these numbers don't match or what I am missing here?

    Also you can try to count them regarding to your tablespace which is better
    SELECT COUNT(*),tablespace_name  FROM USER_TABLES group by tablespace_name;also Laurent Schnieder provide with way that you count your tables in specific schema like the following :
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6     dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables;http://www.dba-oracle.com/t_count_tables_schema.htm

  • Select from (too many) tables

    Hi all,
    I'm a proud Oracle Apex developer. We have developed an Interactive Report that is generated from many joined tables in a remote system. I've read that to improve performances we can do the following:
    1) Create a temporary table on our system that stores the app_user id and the colmun as a result of the query
    2) Create a procedure that does:
    declare
    param1:= :PXX_item
    param2:= :PXY_item.
    param3:= :V('APP_USER')
    insert into <our_table>
    (select param3, <query from remore system>)
    commit;
    3) Rediresct to a query page where IR reads from this temp table
    On "Exit" button there's a procedure that purge table data of that user (delete from temp where user=V('app_user'), so the temp table is only filled with necessary data.
    Do you see any inconvenience? Application will be used from about 500 users, about 50 concurrent users at a time.
    Thank you!

    1) We don't have a control on source syste, we can only perform query on itI was referring to a materialized view on the system where Apex is installed, not on the source database.
    2) There are many tables involvedI don't understand why this is a problem. Too much data I can see, but too many tables... not so much.
    3) Data has to be in real time, with no delayThis would a problem for MV or collections. The collections would store the data as of the initial query. Any IRs using the collection after the fact would be using stale data. If you absolutely have to have the data as of right now every time, then the full query must run on the remote system every time. Tuning that query is the only option to make it faster.
    4) There are many transactions on the source tables (they are the core of the source system) and so MV could not be refreshed so fastProbably could be with fast refresh enabled, but not necessarily practical to do so. As I indicated in 3, you have painted yourself into a corner here. You have indicated a need for a real-time query and that eliminates a number of possibilities for query-once use-many performance solutions.

  • How to check how many tables used in one particular program

    Hi Gurus,
          I am wondering how to check for how many tables are used for one particular  program whether its a custom (Y* or Z* program) or
    a sap program (R*) .I have tried ST05 .But its not satisfactory .Could u help me plz in this  regard .
    Thanks in Advance !!!!!!!!

    hi,
    Go with the transaction se80
    select type as the Progarm
    in the below block provide your program name.....
    there u can find the drop down of your object related tables, types, fields, etc.....go with the tables u can find the respective information of the tables....
    or
    go with the se30
    and enter the program name...
    and go with the trips and tricks....
    u can find the drop down of the
    abap objects performanceexamples....
    and go with the required thing.....
    then u can find the required....
    Cheers,
    Brahma

  • Why do Photoshop and Bridge have so many, almost daily updates?

    Why do Photoshop and Bridge have so many, almost daily updates?  Almost every day when I open my computer up there are updates waiting.  This seems a bit much...

    This forum is about the Cloud as a delivery process... you might ask in the individual program forums
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll
    But... when Adobe went to the Cloud, one of the selling points was that updates AND enhancements would be delivered more often

  • Oracle Instanc has too many tables, way to subset?

    <p>Hello,</p><p> </p><p>When i try to bring up an Oracle instance and do a query, thereare so many tables that it takes 10 minutes for H. to bring up thelist of tables.</p><p> </p><p>Is there a way to subset by Owner like TOAD does, so that i'mnot trying to bit off the whole thing at once?</p><p> </p><p>Thanks very much!</p><p> </p><p>BobK</p>

    Thanks for the idea. I use the filters all of the time to find tables of interest. Like if I'm looking for tables with product info, I'll put "%prod%", or something like that. But as you suggest, I guess there's no reason why I couldn't key in every one of my 100+ tables of interest so I don't see 300+ tables that are empty and unused.
    One thing that worries me is that I would make this huge investment in time (keying into the filter) and I'd hit "clear filter" by accident one day.
    I think I'll write a macro in AutoIt and enter the interesting tables in the filter using the (reusable) macro. Thanks again.
    -- Dale --

  • Many Tables & Group Summaries

    I've been away from CR for a while and need some help with a report. The database I'm reporting from has many tables and the ones I'm using are:
    Units
    Workorders
    Activity Detail
    Activity Master
    Labor Details
    Parts
    The report is based on a unit with Workorder then all the activity listed in ascending order (group #1) reporting subsequent activity information all of which is reporting correctly. I now need to pull from the Labor table listing the activity's total hours and amount, total parts cost, total contract labor hours and amount, total of all costs per activity (group subtotals). Then at the end of the entire report a totals of all hours, amount, part costs, contract hours, contract amount, grand total of all costs.
    I was thinking I'd need to do a group subreport, but can't get it to work. Thank you in advance for your help.
    I'm also getting an error message when I try to view the report or export it to Excel.  It shows it's 42 pages long.  The error message is:
    crw32.exe has encounter a problem and needs to close.  We are sorry for the inconvenience.  Then CR crashes.

    What Operating system are you using?  Win XP Pro
    Any Service packs for CR and the OS installed? I've selected updates and it says it's up to date.  (I'm using the downloaded trial version.)
    Issue is with all the report or single report?  The entire report
    I think my real issue is needing to better understand their database and how to properly link the tables within the report.  I'm quite certain I'll need to do subreports, but when I've tried that, nothing shows up on the report.  I know this is all quite vague, but if there's anything that can at least get me pointed in the right direction, I'd be very appreciative.
    Thanks much!

  • How many tables can i create in Oracle 10g ?

    hi every body !
    how many tables can create in oracle 10g ?
    thank you !

    Unlimited
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm

Maybe you are looking for

  • What will happen to the information on iCloud, if I delete the iCloud account on one device?*

    My iPad I have inherited from my wife. I wish to delete her iCloud account on my iPad and connect it to my existing iCloud account. If I delete her iCloud account from my IPad will the information on her iCloud account be disrupted (lost)?

  • Vendor invoice MIRO

    Hi experts,           Can anybody will explain me how to close a vendor invoice. I have made goods receipt. If we dont require to do invoice plz explain me how to close the invoice? Thank you Sap MM

  • Please recommend a tool for stress-testing ?

    Could anyone please recommend a (free) tool to do multi-threaded stress-test, on plain java classes ? In more detail: I'd like to do unit-test for some plain java methods (only mathematical calculations. No web interface, no swing). The emphasis is s

  • Please suggest forum for me

    can any final cut pro user direct me to a forum, anywhere on the web that i may find information on how i can convert a project created in final cut with .mov extension-file type, to play on a web site that only recognizes mpeg,mpg,avi,wma. I asked t

  • Removing Veritas DEMO License

    Hi All, I�m running Cluster (2x440 and 2 x 3510) with sun cluster, veritas volume manager and oracle RAC. During install we have used veritas volume manager demo license and later upgraded to a final license. For some reason I can�t start the cluster