Giter VIP home page Giter VIP logo

databooster / dataaccess Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 10.0 9.07 MB

(Migrated from CodePlex) The dbParallel DataBooster library is a high-performance extension to ADO.NET Data Provider. (DbAccess, OracleLauncher and SqlLauncher for accessing mass data)

Home Page: https://databooster.codeplex.com/

License: Apache License 2.0

C# 75.13% HTML 0.18% Pascal 8.58% Batchfile 1.00% Scilab 0.12% PLSQL 2.06% Puppet 12.94%
ado-net sql-server associative-array table-valued throughput speed rocket signalr pl-sql performance

dataaccess's People

Contributors

abelcheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dataaccess's Issues

Oracle 9i .NET Core support

Looking into this package to upgrade a system using an old oracle version. Would like to know if this still supports Oracle 9i and is .NET standard/.net core compatible?

How to set CommandTimeout

We are using the DBWebAPI and calling the DynExecuteDbApi. Unfortunately, this does not have a parameter for the CommandTimeout. We have a stored procedure that runs for 1 minute, but the query times out before complete. We tried calling the DbAccess.ExecuteReader and pass in the Command Timeout, but that is too low level. We had to loop through the datareader and populate the StoredProcedureResponse class.
Is there a way to set the command timeout when calling the DynExecuteDBApi?

Option to fill DataSet directly from result

Hi,

Is there any option to directly fill a DataSet object with the results of the query or simply produce a DataTable result from the execution of a Stored Procedure using Oracle? Thanks in advance for the help.

Order of parameters in DbParameterBuilder causes error while executing a StoredProcedure

I assume that when adding named parameters using DbParameterBuilder the order of parameters should not matter. But i have a problem using the following procedure:

PROCEDURE ConsultarProcesos(pCanal IN varchar2, pRegistros OUT SYS_REFCURSOR, pUsuarioId in varchar2 := '-')

if i consume the procedure adding the parameters in the same order as the procedure it works, like this way:

parameters => { parameters.Add("pCanal", pCanal); parameters.AddRefCursor("pRegistros"); parameters.Add("pUsuarioId", pUsuarioId); }

But, if i change the order procedure throws the following error:

ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'CONSULTARPROCESOS'
ORA-06550: line 1, column 7

I think that when working with named parameters the addition order should not matter as they are added using their parameterName property.

Concurrency Problems

Is there any recommended way to deal with 1000+ simultaneous users? I use the library in the Data Access and it gets so slow when multiple users are interacting with the database. Any help is appreciated. Here's a snippet of the way i'm interacting with my Oracle Database:

using (DbAccess db = DbPackage.CreateConnection()) { db.ExecuteReader(DbPackage.GetProcedure("trk_pkg_tracking.ConsultarMisCasosConFiltro"), parameters => { ((OracleCommand)parameters.Command).BindByName = true; parameters.Add("pUsuario", pUsuario); parameters.Add("pCasoID", pCasoID); parameters.Add("pCasoTitulo", pCasoTitulo); parameters.Add("pProcesoID", pProcesoId); parameters.Add("pActividadDescripcion", pActividadDescripcion); parameters.Add("pEnviadoPor", pEnviadoPor); parameters.Add("pUsuarioAsignado", pUsuarioAsignado); parameters.Add("pIdentificacionCaso", pIdentificacionCaso); if (pFechaDesde.HasValue) { parameters.Add("pFechaDesde", pFechaDesde.Value); } if (pFechaHasta.HasValue) { parameters.Add("pFechaHasta", pFechaHasta.Value); } parameters.AddRefCursor("pRegistros"); }, resultReader => { dtCasos.Load(resultReader); }, bulkRead: true); }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.