![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to issue an update command that does not write the transaction log? Phil Harris SQL Anywhere 9.0.2.2451 |
#3
| |||
| |||
|
|
Is it possible to issue an update command that does not write the transaction log? Phil Harris SQL Anywhere 9.0.2.2451 |
#4
| |||
| |||
|
|
What are your reasons for wanting to do this? There may be alternative approaches; for example: - Putting the log on a disk drive that's separate from the database can speed I/O. - dbbackup / BACKUP can be used rename / restart the log to reduce the file size. Tell us what you are trying to accomplish. BTW it may not help at all but temporary tables can be NOT TRANSACTIONAL. Breck On 6 Nov 2009 04:49:20 -0800, Phil wrote: Is it possible to issue an update command that does not write the transaction log? Phil Harris SQL Anywhere 9.0.2.2451 -- Breck Carter http://sqlanywhere.blogspot.com/ RisingRoad SQL Anywhere and MobiLink Professional Services breck.carter (AT) risingroad (DOT) com |
#5
| |||
| |||
|
|
Hi guys, thanks for the replies. We distribute remote databases to our customers by DVD. The database has certain encrypted tables (by altering the column types and running an update command to encrypt the data). During installation, tables are decrypted (based on customer entitlement) creating many entries in the transaction log slowing down the installation process significantly. At the moment our workaround is to ship the database without a transaction log, and once the decryption is complete the installer re-enables the log with dblog which means shipping that dependency with the installer. The original post came up after one of our dev’s asked me “cant we make just these update commands non transactional?” Phil What are your reasons for wanting to do this? There may be alternative approaches; for example: - Putting the log on a disk drive that's separate from the database can speed I/O. - dbbackup / BACKUP can be used rename / restart the log to reduce the file size. Tell us what you are trying to accomplish. BTW it may not help at all but temporary tables can be NOT TRANSACTIONAL. Breck On 6 Nov 2009 04:49:20 -0800, Phil wrote: Is it possible to issue an update command that does not write the transaction log? Phil Harris SQL Anywhere 9.0.2.2451 -- Breck Carter http://sqlanywhere.blogspot.com/ RisingRoad SQL Anywhere and MobiLink Professional Services breck.carter (AT) risingroad (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |