noch was anderes, gibt's ne tool, der alle html codes und alle andere außer den text entfernt aus allen beiträgen?
Beiträge von alex00007
-
-
Hallo,
ich muss ca. 500 Beiträge bearbeiten, dies würde aber sicher paar Stunden dauern, bis ich alle fertig habe. Besteht ne Möglichkeit das direkt in einem Zug durchzuführen?
Was ich entfernt haben möchte:
Zitat
<!--more--><center><span style="font-weight: normal; font-size: 7pt; color: black; font-family: Arial, Helvetica, sans-serif; text-align: left">Anzeige</span>
<script src="http://ad.adition.net/js?wp_id=4754" language="JavaScript"></script></Center>
Vielen Dank im Voraus :)
LG
Alex -
Habe jetzt paar Tage mysql-server laufen lassen:
QUERY CACHE
Query cache is enabled
Current query_cache_size = 256 M
Current query_cache_used = 227 M
Current query_cache_limit = 4 M
Current Query cache Memory fill ratio = 88.69 %
Current query_cache_min_res_unit = 4 K
However, 1430808 queries have been removed from the query cache due to lack of memory
Perhaps you should raise query_cache_size
MySQL won't cache query results that are larger than query_cache_limit in sizeTEMP TABLES
Current max_heap_table_size = 1.97 G
Current tmp_table_size = 1.97 G
Of 1038733 temp tables, 37% were created on disk
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 1G (Tables: 39)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] InnoDB is enabled but isn't being used
[!!] Total fragmented tables: 4
-------- Security Recommendations -------------------------------------------
[!!] User '@localhost' has no password set.
-------- Performance Metrics -------------------------------------------------
[--] Up for: 4d 2h 24m 31s (331M q [934.839 qps], 863K conn, TX: 506B, RX: 24B)
[--] Reads / Writes: 96% / 4%
[--] Total buffers: 9.9G global + 2.7M per thread (1500 max threads)
[OK] Maximum possible memory usage: 13.9G (44% of installed RAM)
[OK] Slow queries: 0% (6/331M)
[OK] Highest usage of available connections: 3% (57/1500)
[OK] Key buffer size / total MyISAM indexes: 7.6G/284.5M
[OK] Key buffer hit rate: 100.0% (5B cached / 2M reads)
[OK] Query cache efficiency: 90.9% (296M cached / 326M selects)
[!!] Query cache prunes per day: 348957
[OK] Sorts requiring temporary tables: 1% (14K temp sorts / 1M sorts)
[!!] Temporary tables created on disk: 37% (619K on disk / 1M total)
[OK] Thread cache hit rate: 99% (1K created / 863K connections)
[!!] Table cache hit rate: 13% (205 open / 1K opened)
[OK] Open file limit used: 3% (251/7K)
[OK] Table locks acquired immediately: 99% (32M immediate / 32M locks)
-------- Recommendations -----------------------------------------------------
General recommendations:
Add skip-innodb to MySQL configuration to disable InnoDB
Run OPTIMIZE TABLE to defragment tables for better performance
Enable the slow query log to troubleshoot bad queries
Increasing the query_cache size over 128M may reduce performance
Temporary table size is already large - reduce result set size
Reduce your SELECT DISTINCT queries without LIMIT clauses
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
query_cache_size (> 256M) [see warning above]
table_cache (> 400) -
Hier die Werte:
ZitatAlles anzeigenUptime = 0 days 10 hrs 21 min 28 sec
Avg. qps = 1719
Total Questions = 64126988
Threads Connected = 4
Warning: Server has not been running for at least 48hrs.
It may not be safe to use these recommendations
SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 10.000000 sec.
You have 2 out of 64127055 that take longer than 10.000000 sec. to complete
Your long_query_time seems to be fine
BINARY UPDATE LOG
The binary update log is NOT enabled.
You will not be able to do point in time recovery
See http://dev.mysql.com/doc/refman/5.5…e-recovery.html
WORKER THREADS
Current thread_cache_size = 8
Current threads_cached = 6
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine
MAX CONNECTIONS
Current max_connections = 1500
Current threads_connected = 3
Historic max_used_connections = 57
The number of used connections is 3% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating
INNODB STATUS
Current InnoDB index space = 0 bytes
Current InnoDB data space = 0 bytes
Current InnoDB buffer pool free = 98 %
Current innodb_buffer_pool_size = 128 M
Depending on how much space your innodb indexes take up it may be safe
to increase this value to up to 2 / 3 of total system memory
MEMORY USAGE
Max Memory Ever Allocated : 8.10 G
Configured Max Per-thread Buffers : 3.93 G
Configured Max Global Buffers : 7.95 G
Configured Max Memory Limit : 11.89 G
Physical Memory : 31.17 G
Max memory limit seem to be within acceptable norms
KEY BUFFER
Current MyISAM index space = 281 M
Current key_buffer_size = 7.56 G
Key cache miss rate is 1 : 3500
Key buffer free ratio = 78 %
Your key_buffer_size seems to be fine
QUERY CACHE
Query cache is enabled
Current query_cache_size = 256 M
Current query_cache_used = 255 M
Current query_cache_limit = 4 M
Current Query cache Memory fill ratio = 99.62 %
Current query_cache_min_res_unit = 4 K
However, 31675 queries have been removed from the query cache due to lack of memory
Perhaps you should raise query_cache_size
MySQL won't cache query results that are larger than query_cache_limit in size
SORT OPERATIONS
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
JOINS
Current join_buffer_size = 132.00 K
You have had 0 queries where a join could not use an index properly
Your joins seem to be using indexes properly
OPEN FILES LIMIT
Current open_files_limit = 7500 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
TABLE CACHE
Current table_open_cache = 400 tables
Current table_definition_cache = 400 tables
You have a total of 80 tables
You have 151 open tables.
The table_cache value seems to be fine
TEMP TABLES
Current max_heap_table_size = 1.97 G
Current tmp_table_size = 1.97 G
Of 135324 temp tables, 36% were created on disk
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.
TABLE SCANS
Current read_buffer_size = 128 K
Current table scan ratio = 103 : 1
read_buffer_size seems to be fine
TABLE LOCKING
Current Lock Wait ratio = 1 : 3762
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrency of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=ALWAYS'.ZitatAlles anzeigen>> MySQLTuner 1.2.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Logged in using credentials from debian maintenance account.
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.31-0+wheezy1
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 1G (Tables: 39)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] InnoDB is enabled but isn't being used
[!!] Total fragmented tables: 9
-------- Security Recommendations -------------------------------------------
[!!] User '@localhost' has no password set.
-------- Performance Metrics -------------------------------------------------
[--] Up for: 10h 23m 10s (64M q [1K qps], 111K conn, TX: 80B, RX: 4B)
[--] Reads / Writes: 97% / 3%
[--] Total buffers: 9.9G global + 2.7M per thread (1500 max threads)
[OK] Maximum possible memory usage: 13.9G (44% of installed RAM)
[OK] Slow queries: 0% (2/64M)
[OK] Highest usage of available connections: 3% (57/1500)
[OK] Key buffer size / total MyISAM indexes: 7.6G/281.3M
[OK] Key buffer hit rate: 100.0% (820M cached / 231K reads)
[OK] Query cache efficiency: 91.6% (58M cached / 63M selects)
[!!] Query cache prunes per day: 73570
[OK] Sorts requiring temporary tables: 1% (2K temp sorts / 170K sorts)
[!!] Temporary tables created on disk: 36% (78K on disk / 214K total)
[OK] Thread cache hit rate: 99% (282 created / 111K connections)
[OK] Table cache hit rate: 23% (151 open / 638 opened)
[OK] Open file limit used: 2% (197/7K)
[OK] Table locks acquired immediately: 99% (5M immediate / 5M locks)
-------- Recommendations -----------------------------------------------------
General recommendations:
Add skip-innodb to MySQL configuration to disable InnoDB
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Increasing the query_cache size over 128M may reduce performance
Temporary table size is already large - reduce result set size
Reduce your SELECT DISTINCT queries without LIMIT clauses
Variables to adjust:
query_cache_size (> 256M) [see warning above]
-
Hallo,
ich habe zwei Blogs, ein Blog hat viele tausende
Artikel.
Wenn ich etwas Suche oder Beiträge lösche, dann dauert das schon ne
gewisse Zeit (paar Sekunden).Ich denke mit einer optimalen
Mysql-Konfiguration sollte sich das ja beheben lassen.Server hat genug
Leistung (32GB Ram)Meine my.cnf
key_buffer = 7750M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
max_heap_table_size = 2024M
tmp_table_size = 2024M
myisam-recover = BACKUP
max_connections = 1500
query_cache_limit = 4M
query_cache_size = 256MWordpress DB ist etwa 1.5GB groß.
Hoffe auf Hilfe. Danke im Voraus.
-
Hallo,
wie kann ich alle Links aus allen Beiträgen entfernen? Ich würde ja es manuell machen, aber bei etwa 200.000 Artikeln ist das nicht so einfach.
Vielen Dank im Voraus.