Hoi hoi, na de search gebruikt te hebben en alle artikelen over Innodb gelezen te hebben waar ook het woord commit in voor kwam ben ik nog niets wijzer geworden.
We zijn hier een programma van Clarion (met database TopSpeed) aan het overschrijven naar MySQL, en wel met INNODB ondersteuning, (aangezien Topspeed in transactie mode 100.000 records toevoegd in 10 seconden). TopSpeed is met andere zaken heel erg traag vandaar dat we naar MySQL toe gaan, hebben we meteen een soor tvan client server verhaal
Maar nu het probleem (in het engels aangezien ik het al op een andere site had gepost):
------------------------
Engelse post:
------------------------
Heya, I have downloaded and installed the 3.23 version of MySQL. Set all the correct options as found in the manual for getting INNOdB to work. INNOdB works fine, i have a table of type INNOdB but i can't seem to use transactions..
When i start: mysqld-max.exe (on a win95 system) the process is loading. I have a database called hoffice and a table called autos. But when i start the command line mysql.exe and type:
I heb ook al geprobeerd om "SET AUTOCOMMIT=0;" enzo te gebruiken, maar ik was in de veronderstelling dat MySQL dus NIETS deed als hij in transactie mode was, TOTDAT je een COMMIT uitvoerde. Klopt dit, of kan iemand me ergens mee helpen want ik weet het ECHHHHHT niet meer
------------------------
Config file
------------------------
We zijn hier een programma van Clarion (met database TopSpeed) aan het overschrijven naar MySQL, en wel met INNODB ondersteuning, (aangezien Topspeed in transactie mode 100.000 records toevoegd in 10 seconden). TopSpeed is met andere zaken heel erg traag vandaar dat we naar MySQL toe gaan, hebben we meteen een soor tvan client server verhaal
Maar nu het probleem (in het engels aangezien ik het al op een andere site had gepost):
------------------------
Engelse post:
------------------------
Heya, I have downloaded and installed the 3.23 version of MySQL. Set all the correct options as found in the manual for getting INNOdB to work. INNOdB works fine, i have a table of type INNOdB but i can't seem to use transactions..
When i start: mysqld-max.exe (on a win95 system) the process is loading. I have a database called hoffice and a table called autos. But when i start the command line mysql.exe and type:
code:
1
2
3
4
5
6
7
8
| mysql> BEGIN;
Query OK, 0 rows affected (0.00 sec)
mysql> INSERT INTO `autos` (`omsch`) values ('test');
Query OK, 1 row affected (0.33 sec)
mysql> COMMIT;
Query OK, 0 rows affected (0.06 sec) |
I heb ook al geprobeerd om "SET AUTOCOMMIT=0;" enzo te gebruiken, maar ik was in de veronderstelling dat MySQL dus NIETS deed als hij in transactie mode was, TOTDAT je een COMMIT uitvoerde. Klopt dit, of kan iemand me ergens mee helpen want ik weet het ECHHHHHT niet meer
------------------------
Config file
------------------------
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| [client] #password=my_password port=3306 #socket=MySQL [mysqld] port=3306 #socket=MySQL skip-locking set-variable = key_buffer=384M set-variable = max_allowed_packet=1M set-variable = table_cache=512 set-variable = sort_buffer=2M set-variable = record_buffer=2M set-variable = thread_cache=8 set-variable = thread_concurrency=8 set-variable = myisam_sort_buffer_size=64M server-id = 1 skip-bdb innodb_data_file_path = ibdata1:10M:autoextend innodb_data_home_dir = c:\ibdata innodb_log_group_home_dir = c:\iblogs innodb_log_arch_dir = c:\iblogs set-variable = innodb_mirrored_log_groups=1 set-variable = innodb_log_files_in_group=3 set-variable = innodb_log_file_size=5M set-variable = innodb_log_buffer_size=8M innodb_flush_log_at_trx_commit=1 innodb_log_archive=0 set-variable = innodb_buffer_pool_size=16M set-variable = innodb_additional_mem_pool_size=2M set-variable = innodb_file_io_threads=4 set-variable = innodb_lock_wait_timeout=50 [mysqldump] quick set-variable = max_allowed_packet=16M [mysql] no-auto-rehash #safe-updates [isamchk] set-variable = key_buffer=256M set-variable = sort_buffer=256M set-variable = read_buffer=2M set-variable = write_buffer=2M [myisamchk] set-variable = key_buffer=256M set-variable = sort_buffer=256M set-variable = read_buffer=2M set-variable = write_buffer=2M [mysqlhotcopy] interactive-timeout |