DmitryA

Member since: Tuesday, 22 April 2014
Last login: 5 years ago
Profile viewed: 2,247 views

Your Rank: 50
Points: 47

DmitryA replied to the topic 'FireDac is... very slow!' in the forum. 5 years ago

Questions:
1) Please provide FireDAC environment report.
2) How many records returns your query ?
3) What is the structure of the table in result set ?
4) Are FibPlus and FireDAC return all records ?
5) If you will remove fiMeta from FetchOptions.Items, does it help ?

Read More...

DmitryA replied to the topic 'TBetterADODataSet' in the forum. 6 years ago

> If not, has Embarcadero improved TADODataSet enough that TBetter isn’t needed any more?
Depends on what you need in TBetterADODataSet. Also, consider to migrate to FireDAC.

Read More...

DmitryA replied to the topic 'FireDAC and MS SQL Server' in the forum. 6 years ago

FireDAC MSSQL driver is included only into Enterprise and higher SKU. If you use Professional, then it will be not available.

Read More...

DmitryA replied to the topic 'FireDAC TBCDField Determining Precision and Scale' in the forum. 6 years ago

Use Size property.

Read More...

DmitryA replied to the topic 'adding index FIREDAC FireBird' in the forum. 6 years ago

Try something like TFDTable.CreateTable(False, [tpIndexes]). Or read TFDTable.CreateTable method source code and create your own custom function.

Read More...

DmitryA replied to the topic 'adding index FIREDAC FireBird' in the forum. 6 years ago

Client index - is a client side only index. The index is built inside of and maintained by TFDDataSet. The index is used only to sort data locally on the client side, after the data was fetched from a DB.
An index create using SQL command is built inside of database and is maintained by DB server. The index is used by DB server to optimize a SQL query execution.

Read More...

DmitryA replied to the topic 'FireDAC ArrayDML vs CachedUpdates' in the forum. 7 years ago

ArrayDML is much more efficient.

Read More...

DmitryA replied to the topic 'FDConnection1->CliObj compiler error' in the forum. 7 years ago

So, you should cast:FDSQLiteBackup1->DestDatabaseObj=(TSQLiteDatabase *)FDConnection1->CliObj;

Read More...

DmitryA replied to the topic 'TFMTBCDField as limited 4 decimals' in the forum. 7 years ago

  • Which data access component you are using ?
  • Why do you think, that TFMTBCDField is limited ?


Read More...

DmitryA replied to the topic 'FDConnection1->CliObj compiler error' in the forum. 7 years ago

What is the error ?

Read More...

DmitryA replied to the topic 'Remote connection to MySQL database in a web' in the forum. 8 years ago

RAD Studio data access components, including FireDAC and dbExpress, do not support MySQL connectivity from Android platform. But you can consider to use DataSnap - docwiki.embarcadero.com/RADStudio/Seattl...ataSnap_Applications

Read More...

Alexander thanked Dmitry in topic Working with DBF in XE7 8 years ago
DmitryA replied to the topic 'Appending to detail in livebindings master/detail' in the forum. 8 years ago

Adam wrote:

Looking at the first option you suggested, I've found setting "BindSourceDB1.DataSource.Enabled := False" before the Insert command and then re-enabling the DataSource afterwards seems to avoid the issue. Is that what you were suggesting?


As option (1) I was suggesting to use DataSet.DisableControls / EnableControls.


DataSource.Enabled = False / True probably will work too.


Adam wrote:

Is this likely to be fixed in a upcoming release?


Yes, it is.


Regards,
Dmitry



Read More...

DmitryA replied to the topic 'LoadFromFile instead triggering Server connection' in the forum. 8 years ago

Could you please provide us your test application, which will reproduce the issue ?
Read More...

DmitryA replied to the topic 'Firedac MSSQL Performance Issues' in the forum. 8 years ago

At first, please, read:
technet.microsoft.com/en-us/library/ms34....aspx#marsins_topic9

By default FireDAC uses MARS mode and fmOnDemand. Although this:
* avoids "connection is busy" errors;
* allows "comfortably" fetch / navigate through result set
This leads to the issues, described in the article.

To optimize SQL Server application you should try:
* different FetchOptions.CursorKind values;
* to use FetchOptions.Mode=fmAll as much as possible.

I believe BDE does kind of fmAll, but with some tricks behind the scene.
Read More...

DmitryA replied to the topic 'SQLite DB rejected at deployment for kitkat 4.4.4' in the forum. 8 years ago

Ok, thank you for feedback. Let me discuss that with Development Team. I will reply shortly.
Read More...

DmitryA replied to the topic 'SQLite DB rejected at deployment for kitkat 4.4.4' in the forum. 8 years ago

Please do the following:
* add TButton;
* add empty TButton.OnClick event handler;
* move all code from TForm1.OnCreate event handler to TButton.OnClick.
Does it help / change anything ?
Read More...

DmitryA replied to the topic 'SQLite DB rejected at deployment for kitkat 4.4.4' in the forum. 8 years ago

john wrote:

Q: When I uninstall the app from the android on the Dell Venue 8, does that include removing the "data1.db" file ?
Yes, it is. TPath.GetDocumentsPath on Android returns application specific folder.john wrote:
I am trying to see if every time I re-compile to the android: is it re-sending the "data1.db" file or is it still on the android.
Probably it is still on device.
Read More...