Parallel Threads in Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sesling
    New Member
    • Nov 2006
    • 84

    #1

    Parallel Threads in Access

    I currently use an SQL command line that utilizes parallel threads. ex.
    select /*+ PARALLEL (ACCOUNT 20) */ Account_ID, Customer_Name, Add_Date from Customer_Info. By running this query using parallel threads, it returns results in less than one minute. If I did not use the parallel threads, it would take 20 minutes or more to run. This command is run using SQL+
    Is it possible to use Parallel thread processing in Access? If so, how?
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    I think that no! If there was an opportunity to do this.... It should be great!

    But let other experts on Access tell their opinion!

    :(

    Comment

    • PEB
      Recognized Expert Top Contributor
      • Aug 2006
      • 1418

      #3
      A question?

      Are u using Access database or u use your SQL database?

      If u use your original SQL database you can pass queris directly to the Server and in this case it should be possible!

      But with Access database seems impossible!

      :)

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32669

        #4
        The only parallel processing supported by Access, as far as I know, is Asynchronous execution of queries.
        Originally posted by Help
        Execute Method


        Runs an action query or executes an SQL statement on a specified Connection or Database object.

        Syntax

        object.Execute source, options

        querydef.Execut e options

        The Execute method syntax has these parts.

        Part Description
        object A Connection or Database object variable on which the query will run.
        querydef An object variable that represents the QueryDef object whose SQL property setting specifies the SQL statement to execute.
        source A String that is an SQL statement or the Name property value of a QueryDef object.
        options Optional. A constant or combination of constants that determines the data integrity characteristics of the query, as specified in Settings.



        Settings

        You can use the following constants for options.

        Constant Description
        dbDenyWrite Denies write permission to other users (Microsoft Jet workspaces only).
        dbInconsistent (Default) Executes inconsistent updates (Microsoft Jet workspaces only).
        dbConsistent Executes consistent updates (Microsoft Jet workspaces only).
        dbSQLPassThroug h Executes an SQL pass-through query. Setting this option passes the SQL statement to an ODBC database for processing (Microsoft Jet workspaces only).
        dbFailOnError Rolls back updates if an error occurs (Microsoft Jet workspaces only).
        dbSeeChanges Generates a run-time error if another user is changing data you are editing (Microsoft Jet workspaces only).
        dbRunAsync Executes the query asynchronously (ODBCDirect Connection and QueryDef objects only).
        dbExecDirect Executes the statement without first calling SQLPrepare ODBC API function (ODBCDirect Connection and QueryDef objects only).

        Comment

        • sesling
          New Member
          • Nov 2006
          • 84

          #5
          Originally posted by NeoPa
          The only parallel processing supported by Access, as far as I know, is Asynchronous execution of queries.

          Thanks for the updates. I have created a passthrough query that is working for me

          Comment

          Working...