Amount of data read / write in particular database

Dear All,
Hi,
I am using mssql server 2005 on windows server 2008 sp2.
I want to know how can I check what amount of data is written or read in a particular database
in specific time in kb or mb.
Regards,

One way I can think of to do what you are looking for is to use the DMV sys.dm_io_virtual_file_stats.  By using that DMV you can figure out over a given period of time the amount of disk activity associated with a particular database file.  The
thing the DMV doesn't show you is total activity because any activity associated with data cached by SQL Server won't be reflected.  It only reflects the activity associated with reads and writes that cannot be satisfied by the SQL Server cache.
Anyway, try the following code.  It'll tell you how much data SQL Server is accessing from the disk:
select db_name(f.database_id) as [db_name],
f.name,
f.physical_name,
s.sample_ms,
s.num_of_bytes_read,
s.num_of_bytes_written,
s.num_of_reads,
s.num_of_writes
from sys.master_files as f
cross apply sys.dm_io_virtual_file_stats(f.database_id, f.file_id) as s
where db_name(f.database_id) = 'MyDatabase'

Similar Messages

  • Read/write access to database

    I am designing a database application using java and DB2.i want to know that if one user is accessing(write) a particular table in the database then how to prevent other users to do any update in the same table(give him only read option).if he try to update a message should pop up that other user is currently having the write permission on that particular table.
    Thanx
    Jigs

    thanx for the help
    i'll go through the documentation and get back if i have any doubts
    thanks
    jignesh

  • Can PL/SQL read/write from a database server to another server?

    hi,
    please advise.
    thanks

    what i mean is output text file to other servers using pl/sql through utl_file package.No. utl_file reads/writes only on the server where your pl/sql code is running.
    But maybe you could map a network drive. Haven't tried that.

  • How to read/write from Access database

    Hi everybody
    I need a little help for doing what I wrote in the topic!
    I use LabVIEW 6i student edition, do Ireally need to install the Database
    connectivity toolkit?

    Hi Vicio,
    There are a couple of different methods to communicate with Access in LabVIEW, and some are more difficult than others. You can use ActiveX Automation to open Microsoft Access and control many aspects of the Access Application. For actual database manipulation however, the Access automation classes rely upon the Microsoft DAO (Data Access Object) and/or ADO (ActiveX Data Object) classes. These classes can be used independently or through the Access automation classes to read and write data into an Access database. These classes can be difficult to use and may require a fair amount of SQL knowledge to accomplish a complicated task. Attached is a very simple example of how you can use DAO from the Access automation classes to read an Access table.
    For more information about the Microsoft Access automation classes, DAO or ADO classes refer to the Microsoft website and Developer Network:
    MSDN
    It is also possible to use Dynamic Data Exchange (DDE) communication between LabVIEW and Access. DDE is a Microsoft technology that preceded COM and ActiveX. DDE is NOT recommended as it is considered by most to be obsolete. However, examples still ship with LabVIEW that demonstrate how to communicate with MS Access using DDE. The examples are located in ..\LabVIEW\examples\comm\access.llb
    Note: The LabVIEW Database Connectivity Toolset is the preferred method of database communication with LabVIEW. The LabVIEW Database Connectivity Toolset offers many powerful tools and extended capabilites for quickly accessing databases. The LabVIEW Database Connectivity Toolset offers connectivity to most popular databases through Microsoft ADO technology, complete SQL Functionality, and the ability to save records in XML format. It provides both easy-to-use and advanced functions to allow common database operations as well as detailed database accessibility. The LabVIEW Database Connectivity Toolset is sold separately or in the LabVIEW Enterprise Connectivity Toolset along with the LabVIEW Statistical Process Toolkit and the LabVIEW Internet Developers Toolkit.
    Sincerely,
    Feroz
    National Instruments
    Attachments:
    Access_ActiveX.vi ‏43 KB

  • Read Write to a database in a network

    I have a program that reads and writes data to a database it works OK as long the data base is located in the local PC where the program is executing. I wrote the program so I can set up by changing the ini file. In the ini file I indicate the path to the data base also what UDL to use.
    I have checked the vi, it opens the connection ok but when it goes thru the loop and goes and executes the SQL it comes out with  error
    -2147217900 and he vi stops working. I change the ini file back to the original setup and work fine. I forgot to mention that a copy of the Access database is in the local PC and another is in a network drive which the pc has access to. I made a UDL I veryfied that the connection works it come back test OK. I am  using the database connectivity VIs. I amusing LabView 10.
    Solved!
    Go to Solution.

    The Access driver does not support networked access, as it is entirely file based. For real network access to the database you would need to use something more professional like Oracle, MySQL, SQL Server or similar. Those databases are server based and get accessed through various network protocols.
    The only thing that will likely work is to map the remote directory where your Access mdb file is located into a local drive and access it in that way.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Unable to install 2nd SCOM 2012 Management Server - Services Fails and fails trying to get data reader writer accounts?

    2<sup>nd </sup>Management Server Setup fails at "Data Warehouse Configuration".
    error log:
    [12:33:20]:           Always:                :Current Action: StartServices
    [12:33:20]:           Always:                :Starting OM Services.
    [12:33:20]:           Debug: :StartService: attempting to start service OMSDK
    [12:33:50]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:33:50]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:33:50]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to the start
    or control request in a timely fashion
    [12:33:50]:           Error:     :InnerException.StackTrace:
    [12:34:51]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:34:51]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:34:51]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to the start
    or control request in a timely fashion
    [12:34:51]:           Error:     :InnerException.StackTrace:
    [12:35:55]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:35:55]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:35:55]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to the start
    or control request in a timely fashion
    [12:35:55]:           Error:     :InnerException.StackTrace:
    [12:36:32]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:36:32]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:36:32]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to the start
    or control request in a timely fashion
    [12:36:32]:           Error:     :InnerException.StackTrace:
    [12:37:36]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:37:36]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:37:36]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to
    the start or control request in a timely fashion
    [12:37:36]:           Error:     :InnerException.StackTrace:
    [12:38:12]:           Error:     :StartService: Could not get service status.: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message:
    Cannot start service OMSDK on computer '.'.
    [12:38:12]:           Error:     :StackTrace:   at System.ServiceProcess.ServiceController.Start(String[] args)
       at Microsoft.SystemCenter.Essentials.SetupFramework.ServiceControlFunctions.StartService(String serviceName)
    [12:38:12]:           Error:     :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131509, Exception.Message: The service did not respond to
    the start or control request in a timely fashion
    [12:38:12]:           Error:     :InnerException.StackTrace:
    [12:41:19]:           Error:     :StartService: Unable to start the service OMSDK after 3 minutes.
    [12:41:19]:           Warn:    :Warning:OMSDK service could not be started
    [12:41:19]:           Debug: :StartService: attempting to start service healthservice
    [12:41:19]:           Debug: :StartService: Able to start the service healthservice after 0 minutes.
    [12:41:19]:           Debug: :StartService: attempting to start service cshost
    [12:41:19]:           Debug: :StartService: Able to start the service cshost after 0 minutes.
    [12:41:19]:           Info:      :StartServices completed.
    [12:41:19]:           Always:                :Current Action: GetDataReaderWriterAccounts
    [12:41:22]:           Error:     :GetDataReaderWriterAccounts failed with the following exception: : Threw Exception.Type: System.Reflection.TargetInvocationException, Exception
    Error Code: 0x80131604, Exception.Message: Exception has been thrown by the target of an invocation.
    [12:41:22]:           Error:     :StackTrace:   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct&
    sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at Microsoft.EnterpriseManagement.SetupFramework.ActionEngine.Action.Run(String displayStringNamespace, ProgressData progressData, Func`2 progressDelegate)
       at Microsoft.EnterpriseManagement.SetupFramework.ActionEngine.InstallStep.Run(String displayStringNamespace, ProgressData progressData, Func`2 progressDelegate)
    [12:41:22]:           Error:     :Inner Exception.Type: Microsoft.EnterpriseManagement.Common.ServiceNotRunningException, Exception Error Code: 0x80131604, Exception.Message: The Data
    Access service is either not running or not yet initialized. Check the event log for more information.
    [12:41:22]:           Error:     :InnerException.StackTrace:   at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportingComponent.GetDWWriterAccountFromManagementGroup(String managementServerName, String& userName, String& userDomain)
       at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDataWarehouseProcessor.GetDataReaderWriterAccounts()
    [12:41:22]:           Error:     :Inner Exception.Type: System.ServiceModel.EndpointNotFoundException, Exception Error Code: 0x80131604, Exception.Message: Could not connect to net.tcp://localhost:5724/DispatcherService.
    The connection attempt lasted for a time span of 00:00:00.9950000. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:5724.
    [12:41:22]:           Error:     :InnerException.StackTrace:
    Server stack trace:
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
    [12:41:22]:           Error:     :Inner Exception.Type: System.Net.Sockets.SocketException, Exception Error Code: 0x80131604, Exception.Message: No connection could be made because the
    target machine actively refused it 127.0.0.1:5724
    [12:41:22]:           Error:     :InnerException.StackTrace:   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    [12:41:22]:           Error:     :FATAL ACTION: GetDataReaderWriterAccounts
    [12:41:22]:           Error:     :FATAL ACTION: DWInstallActionsPostProcessor
    [12:41:22]:           Error:     :ProcessInstalls: Running the PostProcessDelegate returned false.
    [12:41:22]:           Always:                :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse Configuration
    [12:41:22]:           Error:     :ProcessInstalls: Running the PostProcessDelegate for OMDATAWAREHOUSE failed.... This is a fatal item.  Setting rollback.
    [12:41:22]:           Info:      :SetProgressScreen: FinishMinorStep.
    [12:41:22]:           Always:                :!***** Installing: POSTINSTALL ***
    [12:41:22]:           Info:      :ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    [12:41:22]:           Always:                :****************************************************************
    [12:41:22]:           Always:                :****Starting*RollBack*******************************************
    [12:41:22]:           Always:                :****************************************************************

    Hi,
    Pls ensure there is no firewall in between DB, DW and MS or required ports are open and you have permission on DW for the account being used for installation.
    http://technet.microsoft.com/en-us/library/hh298609.aspx
    http://technet.microsoft.com/library/hh205990.aspx   supported configuration
    Thanks,
    Varun

  • Help with utl_file (read/write file from local directory)

    Need help reading/writing file on local machine from plsql using 10.2 DB.
    I am trying to read/write a file from a local directory(laptop) without success.
    I have been able to read/write to the database server directory but can't write to directory on local machine.
    The utl_file_dir parm has been set to * and the db restarted but I can't get it to work... Here's the plsql statement.
    out_file := UTL_FILE.FOPEN ( 'C:\PLSQL', 'TEST.TXT', 'W' ,32767);
    Whenever I run it continues to write to c:\PLSQL dir on the database server. Have looked at the "Directory" object and created MY_DIR = C:\PLSQL but it writes to the db server.
    Running 10.2 on a remote windows server, running PLSQL using sql*navigator.
    Thanks in advance for your help..

    I don't see how you expect the server to be able to see your laptop across the network, hack into it and start writing files. Even if it could, what if there is more than one laptop with a C: drive? How would it know which one to write to?
    Is there a shared drive on the server you can access via the laptop?

  • Saving Data Objects in INDX-Type Database

    Hi,
    I am using the EXPORT statement to store data in a table into INDx table.
    EXPORT gt_update TO DATABASE indx(tt) ID index.
    And then I am using IMPORT statement to get that data.
    IMPORT gt_update to tb_update FROM DATABASE indx(tt) ID 'TTUPDATE'.
    The 'TT' is put into INDX- RELID and 'TTUPDATE' into INDX-SRTFD.
    The Export statement was working fine and a record got created in INDX table, but the IMPORT is not working. Can anyone please let me know what could be the problem ?
    'gt_update' and 'tb_update' are of the same type in the IMPORT statement.
    Also please let me know what exactly is the significance of the field INDX-SRTF2.
    Thanks a lot in Advance.

    My reason for using data clusters is that there is huge amount to data to be retrieved from database, so we have decided to get that data and put it in data clusters for faster access of data in the program.
    INDX tables are ideal to store complex strcutures, inlcuding deep data objects. Don't really know if the access is faster, but definitely it takes less space (as data are compressed).
    But I have a doubt, Ideally we should be having another program with the SELECT statement on the table required which needs to be scheduled periodically as a background job to Update the data cluster right ? Otherwise how would the data cluster hold the latest data ?
    It really depends on where you initial data comes from. I mean how data you want to put/update in data cluster are produced. If this is the report, which generates some result and based on that you want to update data cluster, then what you say is true. You would need to run it either manually (periodically) or simply schedule the job, which does the task.
    But as for the update of data cluster itself, I don't think we should use OPEN SQL statements to achieve that.
    What I think you have to do is, each time do a select to know which cluster to extract, then import the result. Next you need to change gt_update locally and place it back (with export) on right data cluster place. Data with same name under same RELID and cluster key will be completely replaced with new (changed) table.
    This is the only way I think of in terms of data cluster update, but maybe there is some other.
    Regards
    Marcin

  • Read/Write pdf's as blobs using forms 10g

    Hi All,
    I have a table called IMAGES in which i store the pdfs as blobs.
    It was successfully working fine with me when I was using forms 6i.
    Recently I installed oracle 10g and just found that 10G doesnt support OLE.
    I came to know about WEBUTIL package and I have already included in the form.
    Could you please help me out how can utilize this WEBUTIL package to read/write blobs from database.
    If you have already developed any code like that, could please forward me?

    The WebUtil_file_transfer.client_to_db and db_to_client will give you direct access to read and write to the blob - I think the Demo form on
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    has an example of this

  • Read data from Excel and write into oracle database

    Hi
    I want  to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
    Thanks and Regards
    Neeta

    Hai,
    I am suggesting the solution.
    I will try out and let u know soon.
    Make a coma separated file from your excel file.
    Assuming that your requirement allows to make a csv file.
    This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
    You do not want to  go via sql Loader?
    For reading the excel file itself do you want java?

  • How to open a "manual" Physical standby database in read/write mode

    Hi,
    I am running Oracle Database 10g Release 10.2.0.3.0 - 64bit Production Standard Edition on Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3))
    I've created a physical standby database, but since I am running Standard Edition, I am not using the DataGuard features. I use the rsync utility to copy over the archivelogs to the standby database, and I apply them periodically to the standby database.
    The standby database is started this way :
    startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
    alter database mount standby database;
    Everything runs perfectly fine, I can do "alter database open read only" and then I can do selects into tables to confirm that everything is up to date.
    The thing is, if I shutdown immediate the database, then do just startup :
    shutdown immediate;
    startup;
    The database opens with no error messages, but is still in read-only mode...
    I read that the default behavior for a standby database is to open read-only, like I am experiencing, but I would like to know what is the right way to open it correctly in read-write mode (I understand that after that, my standby will not be standby anymore and that I will have to recreate my standby database).
    Thanks,
    Mat

    Hello,
    There're features which allows you to open a Standby database in Read/Write mode but for all I know
    it needs Entreprise Edition.
    In Enterprise Edition you can use Logical Standby database. More over, for Physical standby there's
    a way by using flashback database so as to rolling backward the database and avoiding to recreate
    the Standby.
    In Standard Edition I'm afraid that you'll have to recreate your Standby database.
    Best regards,
    Jean-Valentin

  • No Read or Write into SQL Database in Distribution configuration (Urgent)

    Hello
    I have build an application that have use database. It works fine when in debug mode but when i make installer then there is no read or write operation into database. I am using SQL Toolkit 2.2 and LabWindows 2010 and SQL Server 2008.
    Kindly help me because now i want to handover application to my client.
    Best Regards
    Umer

    Hi Umer
    This is a standard issue with the SQL toolkit. Read the Help under Library Reference->SQL Toolkit Library->SQL Language Reference->Distributing an SQL Toolkit Executable or DLL.
    It says:
    "Distribute the following files with an executable or DLL that uses SQL Toolkit functions.
    You must use the CVISQLShared.msm merge module to install support for the LabWindows/CVI SQL Toolkit. The CVISQLShared.msm merge module is located in the Program Files\Common Files\Merge Modules directory.
    Note  Use the CVISQLShared_x64.msm merge module for 64-bit executables and DLLs.
    Include the sqldistsupp.exe and sqldistsupp.dsn files when you create a LabWindows/CVI distribution in order to install required database components. Set sqldistsupp.exe as the program to run after installation in the distribution.
    The sqldistsupp.exe program, located in the [CVIDIR]\redist directory, creates a system data source name using sqldistsupp.dsn. The sample sqldistsupp.dsn file creates a data source called CVI SQL Samples, which works with the Microsoft Access ODBC driver. You can use the tokens [WindowsDirectory], [WindowsSystemDirectory], [CVISQLInstallDirectory], and [AppInstallDirectory] in the .dsn file. At installation time, the sqldistsupp.exe program replaces these tokens with the proper paths.
    Notes
    For 64-bit executables and DLLs, use the sqldistsupp.exe and sqldistsupp.dsn files in the [CVIDIR]\redist\x64 directory.
    [CVISQLInstallDirectory] is the directory containing sqldistsupp.exe and is equivalent to [AppInstallDirectory].
    The location of [CVIDIR] varies depending on the latest version of LabWindows/CVI you have installed.
    Version
    [CVIDIR] Folder Location
    LabWindows/CVI not installed
    National Instruments\Shared\CVI
    LabWindows/CVI 8.1.1 or earlier
    National Instruments\CVIxx
    LabWindows/CVI 8.5 or later
    National Instruments\Shared\CVI
    Now, why this essential information is buried is the entirely counter-intuitive SQL Language Reference section I do not know.
    Neither do I understand why the install builder does not do this automatically.
    Anyone from NI care to comment?

  • Free Report Writer for Oracle Database except Crystal Report and Data Vison

    Dear All,
    I want Free Report Writer for Oracle Database except Crystal Report and Data Vision software.
    Wr are working on Linux and windows both platform.
    Any one have direct link or website address for it ?
    Regards,
    Vipul Patel
    Ahmedabad

    Please check the following link -
    http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=open+source+report+writer+for+oracle&meta=&btnG=Google+Search
    Regards.
    Satyaki De.

  • Avi read write example : playback missing chunk of data at regular intervals

    Hi,
    I am writing a waveform data into avi write in order to read back (with has data input on) as in example avi read write with data shipping example but the graph played back is missing some amount of data at regular intervals and hence the waveform read back is choppy. 
    I am writing the same data into tdms also. when i read back it with tdms file viewer, it shows that it has entire data.
    note: i am writing the waveform data and avi in two seperate loops and using the porperty node value of the waveform data in the video loop in order to insert data into avi write (has data input on) and have the (wait ms multiple) input =10 in both loops
    i would like to post the video but it is 50 MB, is it possible to upload that much.
    can any one help me how/why this is happening..
    Thanks,

    Can you post a VI(s) as I have trouble understanding what you are doing
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can we transfer huge amount of data from database server to xml format

    hi guru
    how can we transfer huge amount of data from database server to xml format.
    regards
    subhasis.

    Create ABAP coding
    At first we create the internal table TYPES and DATA definition, we want to fill with the XML data. I have declared the table "it_airplus" like the structure from XML file definition for a better overview, because it is a long XML Definition (see the XSD file in the sample ZIP container by airplus.com)
    *the declaration
    TYPES: BEGIN OF t_sum_vat_sum,
              a_rate(5),
              net_value(15),
              vat_value(15),
             END OF t_sum_vat_sum.
    TYPES: BEGIN OF t_sum_total_sale,
            a_currency(3),
            net_total(15),
            vat_total(15),
            vat_sum TYPE REF TO t_sum_vat_sum,
           END OF t_sum_total_sale.
    TYPES: BEGIN OF t_sum_total_bill,
            net_total(15),
            vat_total(15),
            vat_sum TYPE t_sum_vat_sum,
            add_ins_val(15),
            total_bill_amount(15),
           END OF t_sum_total_bill.TYPES: BEGIN OF t_ap_summary,
            a_num_inv_det(5),
            total_sale_values TYPE t_sum_total_sale,
            total_bill_values TYPE t_sum_total_bill,
           END OF t_ap_summary.TYPES: BEGIN OF t_ap,
            head    TYPE t_ap_head,
            details TYPE t_ap_details,
            summary TYPE t_ap_summary,
           END OF t_ap.DATA: it_airplus TYPE STANDARD TABLE OF t_ap
    *call the transformation
    CALL TRANSFORMATION ZFI_AIRPLUS
         SOURCE xml l_xml_x1
         RESULT xml_output = it_airplus
         .see the complete report: Read data from XML file via XSLT program
    Create XSLT program
    There are two options to create a XSLT program:
    Tcode: SE80 -> create/choose packet -> right click on it | Create -> Others -> XSL Transformation
    Tcode: XSLT_TOOL
    For a quick overview you can watch at the SXSLTDEMO* programs.
    In this example we already use the three XSLT options explained later.
    As you can see we define a XSL and ASX (ABAP) tags to handle the ABAP and XML variables/tags. After "

Maybe you are looking for